Re: Failed: phase compiling: qt4-base-x11-4.7.3-146 failed
"Franchetti, Giuliano Dr." <[email protected]>
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
Hello Hanspeter,
the installation does not work: there are 4 errors.
On the other hand, I am on 13.6
Giuliano
.
.
.
.
.
in file included from ../3rdparty/javascriptcore/JavaScriptCore/API/JSBase.cpp:30:
In file included from ../3rdparty/javascriptcore/JavaScriptCore/API/APICast.h:29:
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSAPIValueWrapper.h:28:
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSCell.h:27:
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSImmediate.h:262:20: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
return isImmediate(v1) & isImmediate(v2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&&
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSImmediate.h:262:20: note: cast one or both operands to int to silence this warning
In file included from ../3rdparty/javascriptcore/JavaScriptCore/API/JSBase.cpp:30:
In file included from ../3rdparty/javascriptcore/JavaScriptCore/API/APICast.h:29:
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSAPIValueWrapper.h:28:
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSCell.h:30:
../3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.h:320:98: error: non-const reference cannot bind to bit-field 'm_attributesInPrevious'
add(std::make_pair(RefPtr<UString::Rep>(existingTransition->m_nameInPrevious.get()), existingTransition->m_attributesInPrevious), existingTransition, existingTransition->m_specificValueInPrevious);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.h:219:18: note: bit-field is declared here
unsigned m_attributesInPrevious : 7;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:542:29: note: passing argument to parameter '__t2' here
make_pair(_T1&& __t1, _T2&& __t2)
^
In file included from ../3rdparty/javascriptcore/JavaScriptCore/API/JSBase.cpp:33:
../3rdparty/javascriptcore/JavaScriptCore/API/OpaqueJSString.h:50:34: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
UChar* characters() { return this ? m_characters : 0; }
^~~~ ~
../3rdparty/javascriptcore/JavaScriptCore/API/OpaqueJSString.h:51:32: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
unsigned length() { return this ? m_length : 0; }
^~~~ ~
In file included from ../3rdparty/javascriptcore/JavaScriptCore/API/JSBase.cpp:30:
In file included from ../3rdparty/javascriptcore/JavaScriptCore/API/APICast.h:29:
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSAPIValueWrapper.h:28:
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSCell.h:26:
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.h:27:
In file included from ../3rdparty/javascriptcore/JavaScriptCore/wtf/HashCountedSet.h:26:
../3rdparty/javascriptcore/JavaScriptCore/wtf/HashMap.h:240:16: error: no matching function for call to 'make_pair'
return make_pair<typename HashMap<T, U, V, W, X>::iterator, bool>(temp, p.second);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../3rdparty/javascriptcore/JavaScriptCore/wtf/HashMap.h:269:16: note: in instantiation of member function 'QTWTF::HashMap<unsigned int, QTJSC::Structure *>::inlineAdd' requested here
return inlineAdd(key, mapped);
^
../3rdparty/javascriptcore/JavaScriptCore/runtime/StructureTransitionTable.h:80:39: note: in instantiation of member function 'QTWTF::HashMap<unsigned int, QTJSC::Structure *>::add' requested here
m_anonymousSlotTable->add(count, structure);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:542:1: note: candidate function not viable: expects an rvalue for 1st argument
make_pair(_T1&& __t1, _T2&& __t2)
^
In file included from ../3rdparty/javascriptcore/JavaScriptCore/API/JSBase.cpp:30:
In file included from ../3rdparty/javascriptcore/JavaScriptCore/API/APICast.h:29:
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSAPIValueWrapper.h:28:
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSCell.h:26:
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.h:27:
In file included from ../3rdparty/javascriptcore/JavaScriptCore/wtf/HashCountedSet.h:26:
In file included from ../3rdparty/javascriptcore/JavaScriptCore/wtf/HashMap.h:401:
../3rdparty/javascriptcore/JavaScriptCore/wtf/RefPtrHashMap.h:226:16: error: no matching function for call to 'make_pair'
return make_pair<typename RefPtrHashMap<T, U, V, W, X>::iterator, bool>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../3rdparty/javascriptcore/JavaScriptCore/wtf/RefPtrHashMap.h:267:16: note: in instantiation of member function 'QTWTF::RefPtrHashMap<QTJSC::UStringImpl, QTJSC::SymbolTableEntry, QTJSC::IdentifierRepHash, QTWTF::HashTraits<QTWTF::RefPtr<QTJSC::UStringImpl> >, QTJSC::SymbolTableIndexHashTraits>::inlineAdd' requested here
return inlineAdd(key, mapped);
^
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h:335:27: note: in instantiation of member function 'QTWTF::RefPtrHashMap<QTJSC::UStringImpl, QTJSC::SymbolTableEntry, QTJSC::IdentifierRepHash, QTWTF::HashTraits<QTWTF::RefPtr<QTJSC::UStringImpl> >, QTJSC::SymbolTableIndexHashTraits>::add' requested here
symbolTable().add(global.identifier.ustring().rep(), newEntry);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/pair.h:542:1: note: candidate function not viable: expects an rvalue for 2nd argument
make_pair(_T1&& __t1, _T2&& __t2)
^
5 warnings and 4 errors generated.
make[1]: *** [obj/release/JSBase.o] Error 1
make: *** [sub-script-make_default-ordered] Error 2
### execution of /tmp/fink.us3MA failed, exit code 2
### execution of /tmp/fink.gVo0r failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/opt/sw2/bin/dpkg-lockwait -r fink-buildlock-qt4-base-x11-4.7.3-146
(Reading database ... 260624 files and directories currently installed.)
Removing fink-buildlock-qt4-base-x11-4.7.3-146 (2023.10.28-22.28.39) ...
Failed: phase compiling: qt4-base-x11-4.7.3-146 failed
Before reporting any errors, please run "fink selfupdate" and try again.
If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem. If not, ask on one (not both, please) of
these mailing lists:
The Fink Users List <[email protected]>
The Fink Beginners List <[email protected]>.
Please try to include the complete error message in your report. This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.
Also include the following system information:
Package manager version: 0.45.99.git
Distribution version: selfupdate-git Sat Oct 28 22:27:42 2023, 13.0, x86_64
Trees: local/main stable/main local/injected
Xcode.app: 15.0.1
Xcode command-line tools: 15.0.0.0.1.1694021235
Max. Fink build jobs: 1
giuliano@FGs-MacBook-Pro:/Users/giuliano>
On 28. Oct 2023, at 21:51, [email protected] wrote:
On 2023-10-12 00:28, Franchetti, Giuliano Dr. wrote:
Hello,
I tried to compile djview. It stops as qt4-base-x11-4.7.3-146 fails to
compile for too many errors.
Giuliano
.
.
.
In file included from
../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:44:
€€
In file included from
../3rdparty/javascriptcore/JavaScriptCore/config.h:68:
€€
In file included from
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.h:27:
€€
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c+
€€+/v1/new:95:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c+
€€+/v1/cstddef:41: „„
../3rdparty/javascriptcore/version:1:1: error: unknown type name
'This'
€€
This is a snapshot of JavaScriptCore from
...
Removing build-lock package...
/opt/sw2/bin/dpkg-lockwait -r fink-buildlock-qt4-base-x11-4.7.3-146
(Reading database ... 260003 files and directories currently
installed.)
Removing fink-buildlock-qt4-base-x11-4.7.3-146 (2023.10.12-03.02.26)
...
Failed: phase compiling: qt4-base-x11-4.7.3-146 failed
Distribution version: selfupdate-git Wed Oct 11 12:44:38 2023, 13.0,
x86_64
Trees: local/main stable/main
Xcode.app: 15.0
Xcode command-line tools: 15.0.0.0.1.1694021235
Max. Fink build jobs: 1
I just pushed a fix for qt4-base-x11 that fixed the build for me on 13.5.
Hanspeter
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users