Bug 266172 - lang/gnatcross-sysroot-aarch64 schg,uarch files present in work dir
Summary: lang/gnatcross-sysroot-aarch64 schg,uarch files present in work dir
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-02 12:21 UTC by Oclair
Modified: 2022-11-09 17:58 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 Oclair 2022-09-02 12:21:48 UTC
# cd /usr/ports/lang/gnatcross-sysroot-aarch64
root@nq3:/usr/ports/lang/gnatcross-sysroot-aarch64 # make clean
===>  Cleaning for gnatcross-sysroot-aarch64-1_2
rm: /usr/ports/lang/gnatcross-sysroot-aarch64/work/lib/libc.so.7: Operation not permitted
rm: /usr/ports/lang/gnatcross-sysroot-aarch64/work/lib/libthr.so.3: Operation not permitted
rm: /usr/ports/lang/gnatcross-sysroot-aarch64/work/lib/libcrypt.so.5: Operation not permitted
rm: /usr/ports/lang/gnatcross-sysroot-aarch64/work/lib: Directory not empty
rm: /usr/ports/lang/gnatcross-sysroot-aarch64/work/usr/lib/librt.so.1: Operation not permitted
rm: /usr/ports/lang/gnatcross-sysroot-aarch64/work/usr/lib: Directory not empty
rm: /usr/ports/lang/gnatcross-sysroot-aarch64/work/usr: Directory not empty
rm: /usr/ports/lang/gnatcross-sysroot-aarch64/work: Directory not empty
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/gnatcross-sysroot-aarch64
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/gnatcross-sysroot-aarch64

root@nq3:/usr/ports/lang/gnatcross-sysroot-aarch64/ # ll work/lib
total 1042
-r--r--r--  1 root  wheel  1598544 Jul  5  2019 libc.so.7
-r--r--r--  1 root  wheel   200712 Jul  5  2019 libcrypt.so.5
-r--r--r--  1 root  wheel   271320 Jul  5  2019 libthr.so.3
Comment 1 Henk Miltenburg 2022-09-04 11:28:05 UTC
Same type of problem occurs with a build:

 [/usr/ports/lang/gnatcross-sysroot-aarch64] # make
===>   NOTICE:

The sysroot port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>   gnatcross-sysroot-aarch64-1_2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by gnatcross-sysroot-aarch64-1_2 for building
===>  Extracting for gnatcross-sysroot-aarch64-1_2
=> SHA256 Checksum OK for gnatcross/arm64-aarch64/R11_3/base.txz.
chmod: /usr/ports/lang/gnatcross-sysroot-aarch64/work/usr/lib/librt.so.1: Operation not permitted
chmod: /usr/ports/lang/gnatcross-sysroot-aarch64/work/lib/libc.so.7: Operation not permitted
chmod: /usr/ports/lang/gnatcross-sysroot-aarch64/work/lib/libcrypt.so.5: Operation not permitted
chmod: /usr/ports/lang/gnatcross-sysroot-aarch64/work/lib/libthr.so.3: Operation not permitted
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/gnatcross-sysroot-aarch64
Comment 2 Fernando Apesteguía freebsd_committer freebsd_triage 2022-10-27 10:17:46 UTC
I can't reproduce this. It builds fine for me in poudriere for 12.3{amd64,i386} and 13.1 amd64.

There aren't any pkg-fallout messages about this either: https://lists.freebsd.org/archives/freebsd-pkg-fallout/2022-October/
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2022-11-09 17:58:01 UTC
Closing this due to feedback timeout.
Please, feel free to re-open if needed.