Date: Sun, 25 Dec 2016 18:28:51 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 215552] emulators/qemu-user-static: cannot install ports any more in emulated environment Message-ID: <bug-215552-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215552 Bug ID: 215552 Summary: emulators/qemu-user-static: cannot install ports any more in emulated environment Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sbruno@FreeBSD.org Reporter: la5lbtyi@aon.at Flags: maintainer-feedback?(sbruno@FreeBSD.org) Assignee: sbruno@FreeBSD.org Scenario: =3D=3D=3D=3D=3D=3D=3D=3D=3D - Using virtualbox-5.1.12 to run FreeBSD head amd64 (currently at r308341). - Installed, amongst other, the following ports: . arm-none-eabi-binutils-2.27_5,1 . arm-none-eabi-gcc-6.3.0 . qemu-user-static-2.7.90.g20161116_1 - Via iSCSI importing a disk (disk925) with an arm/armv6 installation, moun= ting its partitions as follows: /dev/diskid/DISK-HAL_00925s2a /d/925s2a ufs rw = 0 0 /dev/diskid/DISK-HAL_00925s1 /d/925s2a/boot/msdos msdosfs rw=20= =20=20=20=20=20=20=20=20 0 0 devfs /d/925s2a/dev devfs rw = 0 0 fdescfs /d/925s2a/dev/fd fdescfs rw = 0 0 procfs /d/925s2a/proc procfs rw = 0 0 /dev/md1 /d/925s2a/tmp ufs rw = 0 0 - Via autofs mounting FreeBSD ports: hal:/z/SRC/FreeBSD-ports /d/925s2a/auto/z/SRC/FreeBSD-ports nfs rw=20= =20=20=20=20=20=20=20=20 0 0 - Chrooting into the arm environment and starting a zsh there: # chroot /d/925s2a /bin/zsh -l - This now runs the emulated zsh. - Compiling a new version of ports-mgmt/pkg: # cd /usr/ports/ports-mgmt/pkg # make - Up to here, everything works. Results: =3D=3D=3D=3D=3D=3D=3D=3D - Since a few weeks, the following happens: - Portmaster does not find any ports to upgrade (the following message "all ports are up to date" is wrong): [0]# portmaster -gaB =3D=3D=3D>>> Starting check of installed ports for available updates =3D=3D=3D>>> All ports are up to date [0]#=20 - Manually installing a new version of 'pkg' results in (first install via = tar, then in the normal manner): [0]# cd /usr/ports/ports-mgmt/pkg [0]# ( cd /usr/tmp/ports/ports-mgmt/pkg/work/stage/usr/local && tar cf - . = ) | ( cd /usr/local && tar xfp - ) [0]# make install clean =3D=3D=3D> Installing for pkg-1.9.4_1 =3D=3D=3D> Checking if pkg already installed =3D=3D=3D> Registering installation for pkg-1.9.4_1 Installing pkg-1.9.4_1... pkg-static: Fail to rename /usr/local/share/licenses/pkg-1.9.4_1/.catalog.mk.NjGxtCAazHfm -> /usr/local/share/licenses/pkg-1.9.4_1/catalog.mk: Bad address *** Error code 70 Stop. make[1]: stopped in /auto/z/SRC/FreeBSD-ports/head/ports-mgmt/pkg *** Error code 1 Stop. make: stopped in /auto/z/SRC/FreeBSD-ports/head/ports-mgmt/pkg [1]#=20 - Try with manually upgrading ca_root_nss: [0]# pkg delete -f ca_root_nss-3.27.1 Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packag= es in the universe): Installed packages to be REMOVED: ca_root_nss-3.27.1 Number of packages to be removed: 1 Proceed with deinstalling packages? [y/N]: y [1/1] Deinstalling ca_root_nss-3.27.1... qemu: Unsupported syscall cap_rights_limit() qemu: Unsupported syscall cap_rights_limit() qemu: Unsupported syscall cap_fcntls_limit() qemu: Unsupported syscall cap_fcntls_limit() qemu: Unsupported syscall cap_rights_limit() qemu: Unsupported syscall cap_rights_limit() qemu: Unsupported syscall cap_ioctls_limit() qemu: Unsupported syscall cap_fcntls_limit() qemu: Unsupported syscall cap_rights_limit() qemu: Unsupported syscall cap_ioctls_limit() qemu: Unsupported syscall cap_fcntls_limit() qemu: Unsupported syscall cap_enter() qemu: Unsupported syscall cap_rights_limit() qemu: Unsupported syscall cap_rights_limit() qemu: Unsupported syscall cap_fcntls_limit() qemu: Unsupported syscall cap_fcntls_limit() qemu: Unsupported syscall cap_rights_limit() qemu: Unsupported syscall cap_rights_limit() qemu: Unsupported syscall cap_ioctls_limit() qemu: Unsupported syscall cap_fcntls_limit() qemu: Unsupported syscall cap_rights_limit() qemu: Unsupported syscall cap_ioctls_limit() qemu: Unsupported syscall cap_fcntls_limit() qemu: Unsupported syscall cap_enter() [1/1] Deleting files for ca_root_nss-3.27.1: 100% [0]# cd /usr/ports/security/ca_root_nss [0]# make install clean =3D=3D=3D> Installing for ca_root_nss-3.28 =3D=3D=3D> Checking if ca_root_nss already installed qemu: Unsupported syscall cap_rights_limit() qemu: Unsupported syscall cap_ioctls_limit() qemu: Unsupported syscall cap_fcntls_limit() qemu: Unsupported syscall cap_rights_limit() qemu: Unsupported syscall cap_ioctls_limit() qemu: Unsupported syscall cap_fcntls_limit() qemu: Unsupported syscall cap_rights_limit() qemu: Unsupported syscall cap_ioctls_limit() qemu: Unsupported syscall cap_fcntls_limit() qemu: Unsupported syscall cap_enter() =3D=3D=3D> Registering installation for ca_root_nss-3.28 Installing ca_root_nss-3.28... pkg-static: Fail to rename /usr/local/share/licenses/ca_root_nss-3.28/.catalog.mk.0bEaO0qTy1x7 -> /usr/local/share/licenses/ca_root_nss-3.28/catalog.mk: Bad address cp: /usr/local/etc/ssl/cert.pem.sample: No such file or directory cp: /usr/local/openssl/cert.pem.sample: No such file or directory pkg-static: POST-INSTALL script failed *** Error code 70 Stop. make[1]: stopped in /auto/z/SRC/FreeBSD-ports/head/security/ca_root_nss *** Error code 1 Stop. make: stopped in /auto/z/SRC/FreeBSD-ports/head/security/ca_root_nss [1]#=20 Expected results: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D - A few weeks ago, apart from the unimplemented cap_* system calls, everyth= ing worked fine. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215552-13>