Command failed: cd

Jen-Chieh Shen jcs090218 at gmail.com
Sat Sep 28 04:35:59 UTC 2024


Hi, MacPorts team!

I'm setting up a GitHub CI to test the package I've published but
encountered some weird issue.
Here is the log, the link is
https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:18
:



Warning: Failed to copy com.apple.dt.Xcode.plist to
/opt/local/var/macports/home/Library/Preferences: could not set owner for
file
"/opt/local/var/macports/home/Library/Preferences/com.apple.dt.Xcode.plist":
user "macports" does not exist
6
<https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:7>Warning:
configured user/group macports does not exist, will build as root
7
<https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:8>--->
Verifying Portfile for eask-cli
8
<https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:9>--->
0 errors and 0 warnings found.
9
<https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:10>Warning:
Failed to copy com.apple.dt.Xcode.plist to
/opt/local/var/macports/home/Library/Preferences: could not set owner for
file
"/opt/local/var/macports/home/Library/Preferences/com.apple.dt.Xcode.plist":
user "macports" does not exist
10
<https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:11>Warning:
configured user/group macports does not exist, will build as root
11
<https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:12>--->
Computing dependencies for eask-cli..................
12
<https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:13>Warning:
configured user/group macports does not exist, will build as root
13
<https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:14>--->
Dependencies to be installed: npm10 nodejs22 pkgconfig python312 icu zlib
bzip2 expat libedit libffi openssl sqlite3 python_select-312
python3_select-312 openssl3 python_select python3_select
14
<https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:15>--->
Extracting pkgconfig
15
<https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:16>--->
Extracting pkg-config-0.29.2.tar.gz
16
<https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:17>Executing:
cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_pkgconfig/pkgconfig/work"
&& /usr/bin/gzip -dc
'/opt/local/var/macports/distfiles/pkgconfig/pkg-config-0.29.2.tar.gz' |
/usr/bin/tar -xf -
17
<https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:18>Command
failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_pkgconfig/pkgconfig/work"
&& /usr/bin/gzip -dc
'/opt/local/var/macports/distfiles/pkgconfig/pkg-config-0.29.2.tar.gz' |
/usr/bin/tar -xf -
18
<https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:19>Error:
Failed to extract pkgconfig: command execution failed
19
<https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:20>Killed
by signal: 9
20
<https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:21>Error:
See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_pkgconfig/pkgconfig/main.log
for details.
21
<https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:22>Error:
Follow https://guide.macports.org/#project.tickets if you believe there is
a bug.
22
<https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:23>Error:
Processing of port eask-cli failed
23
<https://github.com/emacs-eask/packaging/actions/runs/10977719226/job/30479986085#step:8:24>
Error: Process completed with exit code 1.

The GH action file is in
https://github.com/emacs-eask/packaging/blob/master/.github/workflows/port_check.yml
.

I don't know why the system failed to execute the `cd` command.

Any help is appreciated!

Jen-Chieh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20240927/4eed47ed/attachment.htm>


More information about the macports-users mailing list