Opened 3 years ago

Closed 3 years ago

#62764 closed defect (fixed)

libreoffice @7.1.3.1: configure: error: "Xcode 10.3" is too old or unrecognized, must be at least Xcode 11.3

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Tatsh (Andrew Udvare)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: libreoffice

Description

The libreoffice Portfile contains this check:

if {${os.major} < 14} {
    pre-fetch {
        ui_error "${name} @${version} requires OS X 10.10 or later."
        return -code error "incompatible OS X version"
    }
}

That may need to be revised because the current version fails to build even on macOS 10.14 with Xcode 10.3:

https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/85187/steps/install-port/logs/stdio

checking whether Xcode is new enough... configure: error: "Xcode 10.3" is too old or unrecognized, must be at least Xcode 11.3

Xcode 11.3 requires macOS 10.15, so I guess libreoffice now requires macOS 10.15 or later. :(

Also, please add known_fail yes within the same block where you define the pre-fetch so that the buildbot can skip the port entirely on those systems.

Change History (3)

comment:1 Changed 3 years ago by kencu (Ken)

libreoffice says it runs on 10.10+ https://www.libreoffice.org/get-help/system-requirements/

So you might consider telling people on older systems to just download it from the website rather than think they can't have it...

comment:2 Changed 3 years ago by Tatsh (Andrew Udvare)

comment:3 Changed 3 years ago by Tatsh (Andrew Udvare)

Resolution: fixed
Status: assignedclosed

In 09f30de98a117fc682d254d1a6ebda33172eab64/macports-ports (master):

libreoffice: adjustments for os.major check

Add "known_fail yes" for buildbot to skip this port on earlier versions of macOS
Adjust message to indicate that building LibreOffice requires 10.15 or later
Add message telling user to download a version from LibreOffice's website in this scenario

Closes #62764

Note: See TracTickets for help on using tickets.