[MacPorts] #63566: qt5-qtwebkit fails to build on Mojave 10.14.6

MacPorts noreply at macports.org
Mon Oct 4 06:36:20 UTC 2021


#63566: qt5-qtwebkit fails to build on Mojave 10.14.6
---------------------------+---------------------------------
  Reporter:  ArtKoKo       |      Owner:  MarcusCalhoun-Lopez
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:
      Port:  qt5-qtwebkit  |
---------------------------+---------------------------------

Comment (by ArtKoKo):

 make generate geolocation build error :
 {{{
 Modules/geolocation/Geoposition.h:38:80: error: unknown type name
 'DOMTimeStamp'
     static PassRefPtr<Geoposition> create(PassRefPtr<Coordinates>
 coordinates, DOMTimeStamp timestamp)
 ^
 Modules/geolocation/Geoposition.h:48:5: error: unknown type name
 'DOMTimeStamp'
     DOMTimeStamp timestamp() const { return m_timestamp; }
     ^
 Modules/geolocation/Geolocation.cpp:59:55: error: use of undeclared
 identifier 'convertSecondsToDOMTimeStamp'
     return Geoposition::create(coordinates.release(),
 convertSecondsToDOMTimeStamp(position->timestamp()));
                                                       ^
 Modules/geolocation/Geoposition.h:52:54: error: unknown type name
 'DOMTimeStamp'
     Geoposition(PassRefPtr<Coordinates> coordinates, DOMTimeStamp
 timestamp)
                                                      ^
 Modules/geolocation/Geolocation.cpp:181:27: error: member reference base
 type 'WebCore::Geolocation::Watchers::IdToNotifierMap' (aka 'int') is not
 a structure or union
     if (!m_idToNotifierMap.add(id, notifier.get()).isNewEntry)
          ~~~~~~~~~~~~~~~~~^~~~
 Modules/geolocation/Geolocation.cpp:183:22: error: member reference base
 type 'WebCore::Geolocation::Watchers::NotifierToIdMap' (aka 'int') is not
 a structure or union
     m_notifierToIdMap.set(notifier.release(), id);
     ~~~~~~~~~~~~~~~~~^~~~
 Modules/geolocation/Geolocation.cpp:190:5: error:
 'WebCore::Geolocation::Watchers::IdToNotifierMap' (aka 'int') is not a
 class, namespace, or enumeration
     IdToNotifierMap::iterator iter = m_idToNotifierMap.find(id);
     ^
 Modules/geolocation/Geolocation.cpp:190:55: error: member reference base
 type 'WebCore::Geolocation::Watchers::IdToNotifierMap' (aka 'int') is not
 a structure or union
     IdToNotifierMap::iterator iter = m_idToNotifierMap.find(id);
                                      ~~~~~~~~~~~~~~~~~^~~~~
 Modules/geolocation/Geolocation.cpp:191:34: error: member reference base
 type 'WebCore::Geolocation::Watchers::IdToNotifierMap' (aka 'int') is not
 a structure or union
     if (iter == m_idToNotifierMap.end())
                 ~~~~~~~~~~~~~~~~~^~~~
 Modules/geolocation/Geolocation.cpp:199:5: error:
 'WebCore::Geolocation::Watchers::IdToNotifierMap' (aka 'int') is not a
 class, namespace, or enumeration
     IdToNotifierMap::iterator iter = m_idToNotifierMap.find(id);
     ^
 Modules/geolocation/Geoposition.h:60:5: error: unknown type name
 'DOMTimeStamp'
     DOMTimeStamp m_timestamp;
     ^
 Modules/geolocation/Geolocation.cpp:199:55: error: member reference base
 type 'WebCore::Geolocation::Watchers::IdToNotifierMap' (aka 'int') is not
 a structure or union
     IdToNotifierMap::iterator iter = m_idToNotifierMap.find(id);
                                      ~~~~~~~~~~~~~~~~~^~~~~
 fatal error: too many errors emitted, stopping now [-ferror-limit=]
 35 warnings and 20 errors generated.
 make[2]: *** [.obj/Modules/geolocation/Geolocation.o] Error 1
 35 warnings and 4 errors generated.
 ma
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63566#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list