Bug 271854 - pkgbase: cannot install FreeBSD-clibs-dev
Summary: pkgbase: cannot install FreeBSD-clibs-dev
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 13.2-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-pkgbase (Nobody)
URL:
Keywords: pkgbase
Depends on:
Blocks:
 
Reported: 2023-06-05 22:50 UTC by Mina Galić
Modified: 2023-06-06 17:12 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mina Galić freebsd_triage 2023-06-05 22:50:00 UTC
at least not over an existing system:

root@builder:~ # pkg install FreeBSD-clibs-dev
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating FreeBSD-base repository catalogue...
FreeBSD-base repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        FreeBSD-clibs-dev: 13.snap20230605162509 [FreeBSD-base]

Number of packages to be installed: 1

The process will require 101 MiB more space.

Proceed with this action? [y/N]: y
[builder] [1/1] Installing FreeBSD-clibs-dev-13.snap20230605162509...
[builder] [1/1] Extracting FreeBSD-clibs-dev-13.snap20230605162509: 100%
pkg: Fail to rename /usr/include/c++/v1/.pkgtemp.__string.h9UvBQARenW2 -> /usr/include/c++/v1/__string:Not a directory
root@builder:~ #
Comment 1 Emmanuel Vadot freebsd_committer freebsd_triage 2023-06-06 06:52:32 UTC
I think it's related to how we creates the -dev package.
Since FreeBSD-clibs doesn't have anything in this directory it's not listed in the manifest, and we don't add directories for the -dev packages it seems.
Comment 2 Mina Galić freebsd_triage 2023-06-06 07:43:31 UTC
perhaps the question should boil down to: will this trip up people upgrading from 13.2 to 13.3? or only people bootstrapping?

if not, we can close it

(for bootstrappers: i worked around it, but `rm -rf /usr/include` before making another attempt at pkg install)