borgbackup / borg

Deduplicating archiver with compression and authenticated encryption.
https://www.borgbackup.org/
Other
11.25k stars 745 forks source link

vagrant: netbsd9 box broken #8507

Closed ThomasWaldmann closed 3 weeks ago

ThomasWaldmann commented 3 weeks ago
tw@server:~/w/borg-clean$ vagrant up netbsd9
Bringing machine 'netbsd9' up with 'virtualbox' provider...
==> netbsd9: Checking if box 'generic/netbsd9' version '4.3.12' is up to date...
==> netbsd9: Running provisioner: fs init (shell)...
    netbsd9: Running: inline script
    netbsd9: chown: /vagrant/borg: No such file or directory
==> netbsd9: Running provisioner: packages netbsd (shell)...
    netbsd9: Running: inline script
    netbsd9: processing remote summary (http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/x86_64/9.3/All)...
    netbsd9: downloading pkg_summary.gz done.
    netbsd9: xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.etc.sgml to /usr/pkg/etc/sgml/catalog
    netbsd9: xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.etc.xml to /usr/pkg/etc/xml/catalog
    netbsd9: xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.share.sgml to /usr/pkg/share/sgml/catalog
    netbsd9: xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.share.xml to /usr/pkg/share/xml/catalog
    netbsd9: bash-5.2.21nb1: removing /usr/pkg/bin/bash from /etc/shells
    netbsd9: bash-5.2.37: adding /usr/pkg/bin/bash to /etc/shells
    netbsd9: heimdal-7.8.0nb8: setting permissions on /usr/pkg/bin/ksu (o=root, g=wheel, m=4511)
    netbsd9: heimdal-7.8.0nb8: setting permissions on /usr/pkg/bin/otp (o=root, g=wheel, m=4511)
    netbsd9: ===========================================================================
    netbsd9: The following files should be created for heimdal-7.8.0nb8:
netbsd9:    /etc/rc.d/kpasswdd (m=0755)
    netbsd9:        [/usr/pkg/share/examples/rc.d/kpasswdd]
    netbsd9: 
    netbsd9:    /etc/rc.d/kcm (m=0755)
    netbsd9:        [/usr/pkg/share/examples/rc.d/kcm]
    netbsd9: 
    netbsd9:    /etc/rc.d/kadmind (m=0755)
    netbsd9:        [/usr/pkg/share/examples/rc.d/kadmind]
    netbsd9: 
    netbsd9: ===========================================================================
    netbsd9: ===========================================================================
    netbsd9: The following files are used by heimdal-7.8.0nb8 and have
    netbsd9: the wrong ownership and/or permissions:
    netbsd9: 
    netbsd9:    /etc/rc.d/kdc (m=0755)
    netbsd9: 
    netbsd9: ===========================================================================
    netbsd9: pkg_alternatives-1.7: copying /usr/pkg/share/examples/pkg_alternatives/filter.conf to /usr/pkg/etc/pkg_alternatives/filter.conf
    netbsd9: ===========================================================================
    netbsd9: The following directories are no longer being used by sudo-1.9.15p2,
    netbsd9: and they can be removed if no other packages are using them:
    netbsd9: 
    netbsd9:    /usr/pkg/etc/sudoers.d
    netbsd9:    /var/run
    netbsd9: 
    netbsd9: ===========================================================================
    netbsd9: sudo-1.9.16nb1: copying /usr/pkg/share/examples/sudo/sudo.conf to /usr/pkg/etc/sudo.conf
    netbsd9: sudo-1.9.16nb1: copying /usr/pkg/share/examples/sudo/sudo_logsrvd.conf to /usr/pkg/etc/sudo_logsrvd.conf
    netbsd9: sudo-1.9.16nb1: copying /usr/pkg/share/examples/sudo/sudoers to /usr/pkg/etc/sudoers
    netbsd9: sudo-1.9.16nb1: setting permissions on /usr/pkg/bin/sudo (o=root, g=wheel, m=4511)
    netbsd9: sudo-1.9.16nb1: setting permissions on /usr/pkg/bin/sudoreplay (o=root, g=wheel, m=511)
    netbsd9: wget-1.24.5nb2: copying /usr/pkg/share/examples/wget/wgetrc to /usr/pkg/etc/wgetrc
    netbsd9: ===========================================================================
    netbsd9: The following files are no longer being used by pkgin-23.8.1nb2,
    netbsd9: and they can be removed if no other packages are using them:
    netbsd9: 
    netbsd9:    /usr/pkg/etc/pkgin/repositories.conf
    netbsd9: 
    netbsd9: ===========================================================================
    netbsd9: ===========================================================================
    netbsd9: The following directories are no longer being used by pkgin-23.8.1nb2,
    netbsd9: and they can be removed if no other packages are using them:
    netbsd9: 
    netbsd9:    /usr/pkg/etc/pkgin
    netbsd9:    /var/db/pkgin
    netbsd9: 
    netbsd9: ===========================================================================
    netbsd9: pkgin-23.8.1nb4: /usr/pkg/etc/pkgin/repositories.conf already exists
    netbsd9: ===========================================================================
 netbsd9: The following groups are no longer being used by slocate-3.1nb1,
    netbsd9: and they can be removed if no other software is using them:
    netbsd9: 
    netbsd9:    slocate
    netbsd9: 
    netbsd9: ===========================================================================
    netbsd9: ===========================================================================
    netbsd9: $NetBSD: MESSAGE,v 1.1 2012/12/12 15:24:17 wiz Exp $
    netbsd9: 
    netbsd9: To upgrade the slocate db periodically, add this to your daily cron jobs:
    netbsd9: 
    netbsd9:    0 6    * * *   root /usr/pkg/bin/updatedb
    netbsd9: 
    netbsd9: You can find an example updatedb.conf here:
    netbsd9: 
    netbsd9:    /usr/pkg/share/examples/slocate/updatedb.conf
    netbsd9: 
    netbsd9: ===========================================================================
    netbsd9: ===========================================================================
    netbsd9: $NetBSD: MESSAGE,v 1.1 2009/09/25 12:29:26 wiz Exp $
    netbsd9: 
    netbsd9: To use this, source the included bash fragment in your startup
    netbsd9: files, i.e. include something like:
    netbsd9: 
    netbsd9:   if [ -r /usr/pkg/share/bash-completion/bash_completion ]; then
    netbsd9:     . /usr/pkg/share/bash-completion/bash_completion
    netbsd9:   fi
    netbsd9: 
    netbsd9: in ~/.bashrc or ~/.bash_profile.
    netbsd9: 
    netbsd9: ===========================================================================
    netbsd9: ca-certificates-20240203: copying /usr/pkg/share/examples/ca-certificates/ca-certificates-dir.conf to /usr/pkg/etc/ca-certificates-dir.conf
    netbsd9: ca-certificates-20240203: copying /usr/pkg/share/examples/ca-certificates/ca-certificates.conf to /usr/pkg/etc/ca-certificates.conf
    netbsd9: Please enable update-ca-certificates by setting ETCCERTSDIR
    netbsd9: to an absolute path (e.g. /etc/openssl/certs) in
    netbsd9:   /usr/pkg/etc/ca-certificates-dir.conf
    netbsd9: and then run update-ca-certificates again.
    netbsd9: calculating dependencies...done.
    netbsd9: 
    netbsd9: 5 packages to refresh:
    netbsd9:   bash-completion-2.11 dmidecode-3.5nb1 pkg_alternatives-1.7 slocate-3.1nb1
    netbsd9:   xmlcatmgr-2.2nb1
    netbsd9: 
    netbsd9: 14 packages to upgrade:
    netbsd9:   bash-5.2.37 ca-certificates-20240203 curl-8.10.1 libidn2-2.3.7 libpsl-0.21.5
    netbsd9:   libunistring-1.2 libxml2-2.12.9 nghttp2-1.63.0 pkg_install-20240826
    netbsd9:   pkgin-23.8.1nb4 sudo-1.9.16nb1 vim-9.1.0709 vim-share-9.1.0709 wget-1.24.5nb2
    netbsd9: 
    netbsd9: 5 packages to install:
    netbsd9:   heimdal-7.8.0nb8 libffi-3.4.6 libuuid-2.32.1nb2 python312-3.12.6
    netbsd9:   sqlite3-3.46.1
    netbsd9: 
    netbsd9: 0 to remove, 5 to refresh, 14 to upgrade, 5 to install
    netbsd9: 39M to download, 170M of additional disk space will be used
    netbsd9: 
    netbsd9: [1/24] downloading bash-5.2.37.tgz done.
...
    netbsd9: [24/24] downloading xmlcatmgr-2.2nb1.tgz done.
    netbsd9: [1/24] installing sqlite3-3.46.1...
...
    netbsd9: [24/24] upgrading curl-8.10.1...
    netbsd9: pkg_install warnings: 0, errors: 0
    netbsd9: reading local summary...
    netbsd9: processing local summary...
    netbsd9: pkg_add: Warning: package `zstd-1.5.6' was built for a platform:
    netbsd9: pkg_add: NetBSD/x86_64 9.0 (pkg) vs. NetBSD/x86_64 9.3 (this host)
...
    netbsd9: git-base-2.46.1: copying /usr/pkg/share/examples/git/templates/description to /usr/pkg/share/git-core/templates/description
    netbsd9: git-base-2.46.1: copying /usr/pkg/share/examples/git/templates/hooks/applypatch-msg.sample to /usr/pkg/share/git-core/templates/hooks/applypatch-msg.sample
    netbsd9: git-base-2.46.1: copying /usr/pkg/share/examples/git/templates/hooks/commit-msg.sample to /usr/pkg/share/git-core/templates/hooks/commit-msg.sample
    netbsd9: git-base-2.46.1: copying /usr/pkg/share/examples/git/templates/hooks/post-update.sample to /usr/pkg/share/git-core/templates/hooks/post-update.sample
    netbsd9: git-base-2.46.1: copying /usr/pkg/share/examples/git/templates/hooks/pre-applypatch.sample to /usr/pkg/share/git-core/templates/hooks/pre-applypatch.sample
    netbsd9: git-base-2.46.1: copying /usr/pkg/share/examples/git/templates/hooks/pre-commit.sample to /usr/pkg/share/git-core/templates/hooks/pre-commit.sample
    netbsd9: git-base-2.46.1: copying /usr/pkg/share/examples/git/templates/hooks/pre-rebase.sample to /usr/pkg/share/git-core/templates/hooks/pre-rebase.sample
    netbsd9: git-base-2.46.1: copying /usr/pkg/share/examples/git/templates/hooks/prepare-commit-msg.sample to /usr/pkg/share/git-core/templates/hooks/prepare-commit-msg.sample
    netbsd9: git-base-2.46.1: copying /usr/pkg/share/examples/git/templates/hooks/update.sample to /usr/pkg/share/git-core/templates/hooks/update.sample
    netbsd9: git-base-2.46.1: copying /usr/pkg/share/examples/git/templates/info/exclude to /usr/pkg/share/git-core/templates/info/exclude
    netbsd9: pkg_add: Warning: package `git-contrib-2.46.1' was built for a platform:
    netbsd9: pkg_add: NetBSD/x86_64 9.0 (pkg) vs. NetBSD/x86_64 9.3 (this host)
...
    netbsd9: pkg_add: Warning: package `py311-platformdirs-4.3.6' was built for a platform:
    netbsd9: pkg_add: NetBSD/x86_64 9.0 (pkg) vs. NetBSD/x86_64 9.3 (this host)
    netbsd9: pkg_add: no pkg found for 'py311-expat', sorry.
    netbsd9: pkg_add: 2 package additions failed
    netbsd9: ln: /usr/pkg/bin/python: File exists
    netbsd9: ln: /usr/pkg/bin/python3: File exists
    netbsd9: ln: /usr/pkg/bin/pip: File exists
    netbsd9: ln: /usr/pkg/bin/pip3: File exists
    netbsd9: ln: /usr/pkg/bin/virtualenv: File exists
==> netbsd9: Running provisioner: build env (shell)...
    netbsd9: Running: inline script
    netbsd9: /tmp/vagrant-shell: line 2: cd: /vagrant/borg: No such file or directory
    netbsd9: created virtual environment CPython3.11.10.final.0-64 in 4027ms
    netbsd9:   creator CPython3Posix(dest=/home/vagrant/borg-env, clear=False, no_vcs_ignore=False, global=False)
    netbsd9:   seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/vagrant/.local/share/virtualenv)
    netbsd9:     added seed packages: pip==24.2, setuptools==75.1.0, wheel==0.44.0
    netbsd9:   activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
==> netbsd9: Running provisioner: install borg (shell)...
    netbsd9: Running: inline script
    netbsd9: /tmp/vagrant-shell: line 2: cd: /vagrant/borg: No such file or directory
    netbsd9: Requirement already satisfied: wheel in ./borg-env/lib/python3.11/site-packages (0.44.0)
    netbsd9:
    netbsd9: [notice] A new release of pip is available: 24.2 -> 24.3.1
    netbsd9: [notice] To update, run: pip install --upgrade pip
    netbsd9: /tmp/vagrant-shell: line 5: cd: borg: No such file or directory
    netbsd9:
    netbsd9: [notice] A new release of pip is available: 24.2 -> 24.3.1
    netbsd9: [notice] To update, run: pip install --upgrade pip
    netbsd9: ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.d/development.lock.txt'
    netbsd9: python3: can't open file '/home/vagrant/scripts/make.py': [Errno 2] No such file or directory
    netbsd9: Obtaining file:///home/vagrant
    netbsd9:
    netbsd9: [notice] A new release of pip is available: 24.2 -> 24.3.1
    netbsd9: [notice] To update, run: pip install --upgrade pip
    netbsd9: ERROR: file:///home/vagrant does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
ThomasWaldmann commented 3 weeks ago

works now.