Opened 6 years ago

Closed 6 years ago

#56615 closed defect (fixed)

qt59-qtlocation 5.9.5_0: error: redefinition of 'get_pointer' as different kind of symbol

Reported by: paladinlogic (Paladin Logic) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.5.2
Keywords: highsierra Cc: paladinlogic (Paladin Logic)
Port: qt59-qtlocation

Description

Trying to install qt59 on OS X High Sierra and run into an error building qtlocation.

Command attempted: sudo port install qt59{,-{psql-plugin,qt{script,webkit}}}

Log Output: (Full log attached)

:info:build deps/boost/1.62.0/include/boost/get_pointer.hpp:48:23: error: redefinition of 'get_pointer' as different kind of symbol
:info:build template<class T> T * get_pointer(std::auto_ptr<T> const& p)
:info:build                       ^
:info:build deps/boost/1.62.0/include/boost/get_pointer.hpp:20:23: note: previous definition is here
:info:build template<class T> T * get_pointer(T * p)
:info:build                       ^
:info:build deps/boost/1.62.0/include/boost/get_pointer.hpp:48:40: error: no member named 'auto_ptr' in namespace 'std'
:info:build template<class T> T * get_pointer(std::auto_ptr<T> const& p)
:info:build                                   ~~~~~^
:info:build deps/boost/1.62.0/include/boost/get_pointer.hpp:48:49: error: 'T' does not refer to a value
:info:build template<class T> T * get_pointer(std::auto_ptr<T> const& p)
:info:build                                                 ^
:info:build deps/boost/1.62.0/include/boost/get_pointer.hpp:48:16: note: declared here
:info:build template<class T> T * get_pointer(std::auto_ptr<T> const& p)
:info:build                ^
:info:build deps/boost/1.62.0/include/boost/get_pointer.hpp:48:52: error: expected expression
:info:build template<class T> T * get_pointer(std::auto_ptr<T> const& p)
:info:build                                                    ^
:info:build deps/boost/1.62.0/include/boost/get_pointer.hpp:48:61: error: expected ';' at end of declaration
:info:build template<class T> T * get_pointer(std::auto_ptr<T> const& p)
:info:build                                                             ^
:info:build                                                             ;
:info:build deps/boost/1.62.0/include/boost/get_pointer.hpp:49:1: error: expected unqualified-id
:info:build {
:info:build ^

I do note that there is no darwin_17 tarball at https://packages.macports.org/qt59-psql-plugin/ for 5.9.5

Attachments (1)

main.log (1.6 MB) - added by paladinlogic (Paladin Logic) 6 years ago.
qt59-qtlocation@5.9.5 build log

Download all attachments as: .zip

Change History (7)

Changed 6 years ago by paladinlogic (Paladin Logic)

Attachment: main.log added

qt59-qtlocation@5.9.5 build log

comment:1 Changed 6 years ago by paladinlogic (Paladin Logic)

Cc: paladinlogic added

comment:2 Changed 6 years ago by jmroot (Joshua Root)

Owner: set to MarcusCalhoun-Lopez
Status: newassigned

comment:3 in reply to:  description Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: highsierra added
Summary: qt59-qtlocation 5.9.5_0 []: Error building in High Sierraqt59-qtlocation 5.9.5_0: error: redefinition of 'get_pointer' as different kind of symbol

Replying to paladinlogic:

I do note that there is no darwin_17 tarball at https://packages.macports.org/qt59-psql-plugin/ for 5.9.5

...presumably you mean at https://packages.macports.org/qt59-qtlocation/, and presumably its absence is for exactly the reason you discovered—that it does not build.

comment:4 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

There is an upstream bug report of this issue.

comment:5 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Thank you for the report.

comment:6 Changed 6 years ago by Marcus Calhoun-Lopez <marcuscalhounlopez@…>

Resolution: fixed
Status: assignedclosed

In af3d416600a96fd7b87c83de3cd1fac8c8838bcd/macports-ports (master):

qt59-qtlocation: avoid C++17

Fixes #56615
See https://bugreports.qt.io/browse/QTBUG-67810

No revbump because the port either builds successfully or not at all

Note: See TracTickets for help on using tickets.