Opened 20 months ago

Last modified 14 months ago

#71685 new defect

qt57-qtbase @5.7.1_15 -- Fails to Configure on Mtn Lion -- "fatal error: 'string_view' file not found"

Reported by: RobK88 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.5
Keywords: mountainlion Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), RobK88, tehcog (tehcog), aeiouaeiouaeiouaeiouaeiouaeiou
Port: qt5-qtbase

Description

I am unable to upgrade qt57-qtbase to @5.7.1_15. It fails at the configure stage. I see a couple of errors. See below and the attached main.log.

:info:configure /opt/local/include/unicode/uset.h:36:10: fatal error: 'string_view' file not found
:info:configure #include <string_view>
:info:configure          ^
:info:configure 2 errors generated.
:info:configure make: *** [icu.o] Error 1
:info:configure ICU disabled.
:info:configure The ICU library support cannot be enabled.
:info:configure  Turn on verbose messaging (-v) to ./configure to see the final report.
:info:configure  If you believe this message is in error you may use the continue
:info:configure  switch (-continue) to ./configure to continue.

Attachments (1)

main.log (375.7 KB) - added by RobK88 20 months ago.
main.log

Download all attachments as: .zip

Change History (9)

Changed 20 months ago by RobK88

Attachment: main.log added

main.log

comment:1 Changed 20 months ago by RobK88

Cc: RobK88 added

comment:2 Changed 20 months ago by RobK88

Summary: qt57-qtbase Fails to Configure on Mtn Lion -- "fatal error: 'string_view' file not found"qt57-qtbase @5.7.1_15 -- Fails to Configure on Mtn Lion -- "fatal error: 'string_view' file not found"

comment:3 Changed 19 months ago by tehcog (tehcog)

Cc: tehcog added

comment:4 Changed 18 months ago by aeiouaeiouaeiouaeiouaeiouaeiou

ICU >76 was significantly rewritten to take advantage of C++17 features. It may be worth using only icu58 for older versions of Qt.

comment:5 Changed 16 months ago by RobK88

@aeiouaeiouaeiouaeiouaeiouaeiou -- Thanks for the insight. If the port uses icu58 for older versions of Qt, it should build properly on Mtn Lion etc.

Since qmake uses pkgconfig to look for icu, it looks like the patch files will need to be updated. Not as easy a fix as simply changing the dependencies of a port.

In May when I have time, I will see how easy the fix will be.

comment:6 Changed 15 months ago by aeiouaeiouaeiouaeiouaeiouaeiou

Cc: aeiouaeiouaeiouaeiouaeiouaeiou added

comment:7 Changed 15 months ago by aeiouaeiouaeiouaeiouaeiouaeiou

Is there any progress on this ticket?

comment:8 Changed 14 months ago by RobK88

@aeiouaeiouaeiouaeiouaeiouaeiou -- No. I still cannot build qt57-qtbase on Mtn Lion. Pity..

Note: See TracTickets for help on using tickets.