Opened 12 months ago

Last modified 12 months ago

#68814 new defect

editorconfig-core-c @0.12.6: Could not create output directory .../build/doc/man

Reported by: wyuenho (Jimmy Yuen Ho Wong) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: sonoma Cc:
Port: editorconfig-core-c

Description

[ 88%] Built target editorconfig_shared
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_editorconfig-core-c/editorconfig-core-c/work/build'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_editorconfig-core-c/editorconfig-core-c/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_editorconfig-core-c/editorconfig-core-c/work/build" && /usr/bin/make -j10 -w all VERBOSE=ON 
Exit code: 2
Error: Failed to build editorconfig-core-c: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_editorconfig-core-c/editorconfig-core-c/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port editorconfig-core-c failed

Attachments (1)

main.log (212.0 KB) - added by wyuenho (Jimmy Yuen Ho Wong) 12 months ago.

Download all attachments as: .zip

Change History (5)

Changed 12 months ago by wyuenho (Jimmy Yuen Ho Wong)

Attachment: main.log added

comment:1 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: editorconfig-core-c 0.12.6 build erroreditorconfig-core-c @0.12.6: Could not create output directory .../build/doc/man

The log says:

:info:build error: Could not create output directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_editorconfig-core-c/editorconfig-core-c/work/build/doc/man

comment:2 Changed 12 months ago by wyuenho (Jimmy Yuen Ho Wong)

I'm not entirely sure how to fix this issue. If I cd into the work dir and manually do a sudo cmake ., everything is fine. This suggests to me there's some weird permission bug in how MacPorts invokes cmake.

comment:3 Changed 12 months ago by wyuenho (Jimmy Yuen Ho Wong)

Something doesn't make sense here, as this behavior isn't consistent and has nothing to do with the -j10, sometimes it builds and something it doesn't. This is very weird...

comment:4 Changed 12 months ago by wyuenho (Jimmy Yuen Ho Wong)

This is likely a bug upstream or make...

Note: See TracTickets for help on using tickets.