Opened 5 years ago

Closed 5 years ago

#59154 closed defect (fixed)

p5.28-dbd-pg @3.10.0: error: 'wchar.h' file not found

Reported by: sobchenyuk (Andrey Socbehnyuk) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: p5.28-dbd-pg

Description

Error: Failed to build p5.28-dbd-pg: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-dbd-pg/p5.28-dbd-pg/main.log for details.
Error: rev-upgrade failed: Error rebuilding p5.28-dbd-pg
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

:error:build Failed to build p5.28-dbd-pg: command execution failed

Attachments (1)

main.log (17.1 KB) - added by sobchenyuk (Andrey Socbehnyuk) 5 years ago.
_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-dbd-pg/p5.28-dbd-pg/main.log for details

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by sobchenyuk (Andrey Socbehnyuk)

Attachment: main.log added

_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-dbd-pg/p5.28-dbd-pg/main.log for details

comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: p5.28-dbd-pg removed
Milestone: MacPorts 2.7.0
Priority: HighNormal
Summary: Error rebuilding p5.28-dbd-pgp5.28-dbd-pg @3.10.0: error: 'wchar.h' file not found

comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

I presume this relates to another message shown in the log:

:info:build no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk' [-Wmissing-sysroot]

and the fact that you're on 10.14, but have updated to Xcode 11, which only has the 10.15 SDK.

This type of problem is one we are discovering with many, many ports. There are many other open tickets. You can avoid the problem by downgrading to Xcode 10.

It's not clear from your log why MacPorts is trying to build this port from source. We have a binary of this port which MacPorts should have used. You can sudo port clean p5.28-dbd-pg and try again, and maybe this time it will use the binary and thereby not care about your version of Xcode.

comment:3 Changed 5 years ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In 8863962b79c56323bb4a6f9176b41844b6eeed75/macports-ports (master):

perl5 pg: use correct sdkroot

Fixes: #59154
Fixes: #59131

Note: See TracTickets for help on using tickets.