# mkdir chroot # cd chroot # fetch https://download.freebsd.org/ftp/snapshots/powerpc/powerpc64/13.0-CURRENT/base.txz # tar xf base.txz # chroot . # echo nameserver 192.168.1.1 > /etc/resolv.conf # pkg update The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:13:powerpc64/latest, please wait... Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done Installing pkg-1.12.0... Extracting pkg-1.12.0: 100% pkg-static: Cannot open /dev/null:No such file or directory Segmentation fault (core dumped) # pkg install bash Segmentation fault (core dumped) # /usr/local/sbin/pkg-static install bash Updating FreeBSD repository catalogue... Fetching meta.txz: 100% 944 B 0.9kB/s 00:01 Fetching packagesite.txz: 100% 5 MiB 1.2MB/s 00:04 Processing entries: 100% FreeBSD repository update completed. 23919 packages processed. All repositories are up to date. Updating database digests format: 100% The following 3 package(s) will be affected (of 0 checked): New packages to be INSTALLED: bash: 5.0.11 indexinfo: 0.3.1 gettext-runtime: 0.20.1 Number of packages to be installed: 3 The process will require 10 MiB more space. 2 MiB to be downloaded. Proceed with this action? [y/N]: y [1/3] Fetching bash-5.0.11.txz: 100% 1 MiB 150.9kB/s 00:10 [2/3] Fetching indexinfo-0.3.1.txz: 100% 6 KiB 6.1kB/s 00:01 [3/3] Fetching gettext-runtime-0.20.1.txz: 100% 153 KiB 157.0kB/s 00:01 Checking integrity... done (0 conflicting) [1/3] Installing indexinfo-0.3.1... [1/3] Extracting indexinfo-0.3.1: 100% [2/3] Installing gettext-runtime-0.20.1... [2/3] Extracting gettext-runtime-0.20.1: 100% [3/3] Installing bash-5.0.11... [3/3] Extracting bash-5.0.11: 100% # bash Segmentation fault (core dumped) This is because pylon still uses ELFv1, while head switched to ELFv2 over a month ago. Please update pylon to ELFv2 so that it generates working binaries.
While this is pending, I have created an (unofficial!) elvf2 package set for testing. Please see: http://69.55.238.58/FreeBSD/packages.html
Created attachment 212333 [details] patch With clusteradm's incompetence regarding reinstalling pylon in the past 2 months, I'd like to mark CURRENT ELFv1 as unsupported so that users are not confused when trying to install packages and finding out they don't work. Is that patch OK? powerpc64 switched to ELFv2 with 1300070.
Created attachment 212341 [details] patch The upper bound is not necessary, we should only check for head and ELFv1.
Closing since this seems to have been fixed. Let's hope there won't be ELFv3 :) Thanks for your hard work on this issue!