Opened 9 years ago

Closed 6 years ago

#47792 closed defect (fixed)

TORA compilation errors

Reported by: iguinea@… Owned by: mkhon
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: TOra

Description (last modified by mf2k (Frank Schima))

When trying to install tora i receive the following error when compiling,...

:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_TOra/TOra/work/tora-2.1.3/src/tob
rowsertable.cpp:42:
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_TOra/TOra/work/tora-2.1.3/src/uti
ls.h:47:
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/list:2060:18: error: invalid operands to binary expression
('const value_type' (aka 'const toExtract::columnInfo') and 'const value_type' (aka 'const toExtract::columnInfo'))
:info:build         if (*__i == __x)
:info:build             ~~~~ ^  ~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_TOra/TOra/work/tora-2.1.3/src/tobrowsertable.cpp:654:21
: note: in instantiation of member function 'std::__1::list<toExtract::columnInfo, std::__1::allocator<toExtract::columnInfo> >::remove' requested here
:info:build             Columns.remove(*column);
:info:build                     ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_TOra/TOra/work/tora-2.1.3/src/toextract.h:791:14: note:
 candidate function not viable: 'this' argument has type 'const value_type' (aka 'const toExtract::columnInfo'), but method is not marked const
:info:build         bool operator ==(const columnInfo &inf)
:info:build              ^
:info:build /opt/local/include/QtCore/qglobal.h:2063:13: note: candidate function not viable: no known conversion from 'const value_type' (aka 'const toExtract::columnInfo') to
 'QBool' for 1st argument
:info:build inline bool operator==(QBool b1, bool b2) { return !b1 == !b2; }
:info:build             ^
:info:build /opt/local/include/QtCore/qglobal.h:2064:13: note: candidate function not viable: no known conversion from 'const value_type' (aka 'const toExtract::columnInfo') to
 'bool' for 1st argument
:info:build inline bool operator==(bool b1, QBool b2) { return !b1 == !b2; }
:info:build             ^
:info:build /opt/local/include/QtCore/qglobal.h:2065:13: note: candidate function not viable: no known conversion from 'const value_type' (aka 'const toExtract::columnInfo') to
 'QBool' for 1st argument
:info:build inline bool operator==(QBool b1, QBool b2) { return !b1 == !b2; }
:info:build             ^
:info:build /opt/local/include/QtCore/qsize.h:156:13: note: candidate function not viable: no known conversion from 'const value_type' (aka 'const toExtract::columnInfo') to 'c
:

Attachments (1)

main.log (68.7 KB) - added by iguinea@… 9 years ago.

Download all attachments as: .zip

Change History (10)

Changed 9 years ago by iguinea@…

Attachment: main.log added

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Keywords: Compiler removed
Owner: changed from macports-tickets@… to pvanek@…
Port: TOra added; TORA removed

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers TORA), if any.

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:5 Changed 9 years ago by pvanek@…

OK, I can reproduce it. I'm solving the issue with upstream developers.

As a workaround you can use a bundle/dmg image I prepared years ago. And it's working at least on my machine right now.

http://sourceforge.net/projects/tora/files/tora/2.1.3/macosx/

sorry for these problems.

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

Replying to pvanek@…:

OK, I can reproduce it. I'm solving the issue with upstream developers.

Looks like this ticket may have been forgotten. Can you look into this issue?

comment:7 Changed 9 years ago by pvanek@…

no, it's not forgotten. I just lack knowledge how to fix it. I try to return to this one once a week finding proper way how to solve it.

comment:8 in reply to:  7 Changed 9 years ago by scutliuyi@…

Replying to pvanek@…:

no, it's not forgotten. I just lack knowledge how to fix it. I try to return to this one once a week finding proper way how to solve it.

i ran into the same problem...

comment:9 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Owner: pvanek@… deleted
Status: newassigned

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

Cc: MarcusCalhoun-Lopez added

comment:11 Changed 6 years ago by mkhon

Owner: set to mkhon
Resolution: fixed
Status: assignedclosed

In b7aea868e98121355a5a16dff7372c6677781f82/macports-ports (master):

TOra: Fix build with clang-902.0.39.2 (Xcode 9.4.1)

Closes: #47792

Note: See TracTickets for help on using tickets.