[MacPorts] #67838: qtruby: possible to support a modern Ruby?
MacPorts
noreply at macports.org
Fri Jul 28 20:51:31 UTC 2023
#67838: qtruby: possible to support a modern Ruby?
---------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: qtruby, ruby |
---------------------------+--------------------
Comment (by barracuda156):
I got to here:
{{{
In file included from
/opt/local/libexec/qt4/include/QtCore/qatomic_macosx.h:52,
from
/opt/local/libexec/qt4/include/QtCore/qatomic_arch.h:72,
from
/opt/local/libexec/qt4/include/QtCore/qbasicatomic.h:227,
from /opt/local/libexec/qt4/include/QtCore/qatomic.h:46,
from /opt/local/libexec/qt4/include/QtCore/qhash.h:45,
from /opt/local/libexec/qt4/include/QtCore/QHash:1,
from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_kde_qtruby/qtruby/work/qtruby-4.14.3/src/qtruby.h:21,
from
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_kde_qtruby/qtruby/work/qtruby-4.14.3/modules/phonon/phononhandlers.cpp:20:
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'bool QBasicAtomicInt::ref()':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:120:18: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
120 | register int originalValue;
| ^~~~~~~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:121:18: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
121 | register int newValue;
| ^~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'bool QBasicAtomicInt::deref()':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:137:18: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
137 | register int originalValue;
| ^~~~~~~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:138:18: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
138 | register int newValue;
| ^~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'bool QBasicAtomicInt::testAndSetRelaxed(int, int)':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:154:18: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
154 | register int result;
| ^~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'bool QBasicAtomicInt::testAndSetAcquire(int, int)':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:171:18: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
171 | register int result;
| ^~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'bool QBasicAtomicInt::testAndSetRelease(int, int)':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:189:18: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
189 | register int result;
| ^~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'int QBasicAtomicInt::fetchAndStoreRelaxed(int)':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:207:18: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
207 | register int originalValue;
| ^~~~~~~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'int QBasicAtomicInt::fetchAndStoreAcquire(int)':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:221:18: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
221 | register int originalValue;
| ^~~~~~~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'int QBasicAtomicInt::fetchAndStoreRelease(int)':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:236:18: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
236 | register int originalValue;
| ^~~~~~~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'int QBasicAtomicInt::fetchAndAddRelaxed(int)':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:251:18: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
251 | register int originalValue;
| ^~~~~~~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:252:18: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
252 | register int newValue;
| ^~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'int QBasicAtomicInt::fetchAndAddAcquire(int)':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:268:18: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
268 | register int originalValue;
| ^~~~~~~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:269:18: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
269 | register int newValue;
| ^~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'int QBasicAtomicInt::fetchAndAddRelease(int)':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:286:18: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
286 | register int originalValue;
| ^~~~~~~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:287:18: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
287 | register int newValue;
| ^~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'bool QBasicAtomicPointer<T>::testAndSetRelaxed(T*, T*)':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:313:20: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
313 | register void *result;
| ^~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'bool QBasicAtomicPointer<T>::testAndSetAcquire(T*, T*)':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:331:20: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
331 | register void *result;
| ^~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'bool QBasicAtomicPointer<T>::testAndSetRelease(T*, T*)':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:350:20: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
350 | register void *result;
| ^~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'T* QBasicAtomicPointer<T>::fetchAndStoreRelaxed(T*)':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:369:17: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
369 | register T *originalValue;
| ^~~~~~~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'T* QBasicAtomicPointer<T>::fetchAndStoreAcquire(T*)':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:384:17: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
384 | register T *originalValue;
| ^~~~~~~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'T* QBasicAtomicPointer<T>::fetchAndStoreRelease(T*)':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:400:17: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
400 | register T *originalValue;
| ^~~~~~~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'T* QBasicAtomicPointer<T>::fetchAndAddRelaxed(qptrdiff)':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:416:17: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
416 | register T *originalValue;
| ^~~~~~~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:417:17: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
417 | register T *newValue;
| ^~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'T* QBasicAtomicPointer<T>::fetchAndAddAcquire(qptrdiff)':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:434:17: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
434 | register T *originalValue;
| ^~~~~~~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:435:17: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
435 | register T *newValue;
| ^~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h: In member
function 'T* QBasicAtomicPointer<T>::fetchAndAddRelease(qptrdiff)':
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:453:17: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
453 | register T *originalValue;
| ^~~~~~~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qatomic_powerpc.h:454:17: warning:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]
454 | register T *newValue;
| ^~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_kde_qtruby/qtruby/work/qtruby-4.14.3/src/qtruby.cpp:
In function 'VALUE isObject(VALUE, VALUE)':
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_kde_qtruby/qtruby/work/qtruby-4.14.3/src/qtruby.cpp:2097:17:
error: ordered comparison of pointer with integer zero ('void*' and 'int')
2097 | return (ptr > 0 ? Qtrue : Qfalse);
| ~~~~^~~
make[2]: *** [src/CMakeFiles/qtruby4.dir/qtruby.cpp.o] Error 1
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_kde_qtruby/qtruby/work/build'
make[1]: *** [src/CMakeFiles/qtruby4.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 97%] Linking CXX shared module phonon.so
cd
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_kde_qtruby/qtruby/work/build/modules/phonon
&& /opt/local/bin/cmake -E cmake_link_script
CMakeFiles/rubyphonon.dir/link.txt --verbose=ON
/opt/local/bin/g++-mp-12 -pipe -Os -DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=0
-arch ppc -mmacosx-version-min=10.6 -bundle
-Wl,-headerpad_max_install_names -Wl,-headerpad_max_install_names -o
phonon.so CMakeFiles/rubyphonon.dir/phonon.cpp.o
CMakeFiles/rubyphonon.dir/phononhandlers.cpp.o -Wl,-rpath,/opt/local/lib
/opt/local/lib/libphonon.dylib /opt/local/lib/libsmokephonon.dylib
../../src/libqtruby4shared.2.0.0.dylib
/opt/local/libexec/qt4/lib/libQtCore.dylib
/opt/local/libexec/qt4/lib/libQtGui.dylib /opt/local/lib/libruby3.2.dylib
/opt/local/libexec/qt4/lib/libQtNetwork.dylib
/opt/local/lib/libsmokebase.dylib /opt/local/lib/libsmokeqtcore.dylib
/opt/local/lib/libsmokeqtgui.dylib /opt/local/lib/libsmokeqtxml.dylib
/opt/local/lib/libsmokeqtopengl.dylib /opt/local/lib/libsmokeqtsql.dylib
/opt/local/lib/libsmokeqtnetwork.dylib /opt/local/lib/libsmokeqtdbus.dylib
/opt/local/lib/libsmokeqtsvg.dylib
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_kde_qtruby/qtruby/work/build'
[ 97%] Built target rubyphonon
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_kde_qtruby/qtruby/work/build'
make: *** [all] Error 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/67838#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list