Opened 4 years ago

Last modified 4 years ago

#59511 new defect

bootstrap ports fail to build on Mojave and later

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: mojave catalina Cc: jmroot (Joshua Root)
Port: gettext-bootstrap gperf-bootstrap ncurses-bootstrap

Description

icu-bootstrap does not build:

checking for namespace support... no
configure: error: Namespace support is required to build ICU.
./runConfigureICU: ./configure failed

Change History (5)

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Not really a problem on 10.14 since nothing needs this subport there. I assume it's just failing because libstdc++ is no longer supported. We could make it error out early on 10.14+ I guess.

comment:2 in reply to:  1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jmroot added
Keywords: mojave catalina added
Port: cmake-bootstrap gettext-bootstrap gperf-bootstrap libiconv-bootstrap ncurses-bootstrap pkgconfig-bootstrap xz-bootstrap added; icu removed
Summary: icu-bootstrap @58.3: configure: error: Namespace support is required to build ICU.bootstrap ports fail to build on Mojave and later

Replying to jmroot:

I assume it's just failing because libstdc++ is no longer supported.

I think that's it. Here's the log of gperf-bootstrap doing that:

clang: warning: libstdc++ is deprecated; move to libc++ [-Wdeprecated]
ld: library not found for -lstdc++

We could make it error out early on 10.14+ I guess.

That would be a good idea for all the bootstrap ports, and use known_fail yes, so that these builds don't keep happening and failing on the buildbot.

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

Port: cmake-bootstrap libiconv-bootstrap pkgconfig-bootstrap xz-bootstrap removed

Well most of them don't use C++ and ncurses-bootstrap already has a known_fail yes for this reason so that just leaves gperf-bootstrap and gettext-bootstrap (which we want to remove anyway).

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

In 10fb2b418a3e55f0eb099ca1c48e2b5ba1589382/macports-ports (master):

gperf-bootstrap: Use known_fail yes on 10.14+

See: #59511

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

In ab91419946f8d1e87862363378cc4fbce6da09da/macports-ports (master):

ncurses: Check os.platform before os.major

See: #59511

Note: See TracTickets for help on using tickets.