Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#62150 closed defect (duplicate)

mod_perl2 +perl5_30 build failure

Reported by: murrayE Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: mod_perl2

Description

This is with CLT for Xcode 12.3 under macOS Big Sur 11.1, during re-install of apache2, perl5, and now mod_per2 as part of migration. (After uninstalling all ports, downloading & installing Bug Sur version of MacPorts.)

.Error seems occur here:

:info:build In file included from 27In file included from :2710:
:info:build :/opt/local/include/apache2/ap_config.h:
:info:build :/opt/local/include/apache2/ap_config.h25/opt/local/include/apr-1/apr.h :fatal error/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_perl2/mod_perl2/work/mod_perl-2.0.11/src/modules/perl/modperl_apache_includes.h165::27:
:info:build : In file included from 'sys/types.h' file not foundIn file included from ::
:info:build 25In file included from /opt/local/include/apache2/httpd.h:

Attachments (1)

main.log (81.3 KB) - added by murrayE 4 years ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by murrayE

Attachment: main.log added

main.log

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

Resolution: duplicate
Status: newclosed

The portion of the log you quoted is difficult to read due to parallel jobs, but the error is:

fatal error: 'sys/types.h' file not found

And this is because it is trying to use the MacOSX11.0.sdk but you have Xcode 12.3 which has the MacOSX11.1.sdk. Duplicate of #61321.

comment:2 Changed 4 years ago by murrayE

So what is the solution?

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Someone needs to fix #61421.

Note: See TracTickets for help on using tickets.