* Re: cygport compile command fails
[not found] <1385850692.28506.1639561032910.JavaMail.yahoo.ref@mail.yahoo.co.jp>
@ 2021-12-15 9:37 ` Tatsuro MATSUOKA
2021-12-15 13:56 ` ASSI
0 siblings, 1 reply; 5+ messages in thread
From: Tatsuro MATSUOKA @ 2021-12-15 9:37 UTC (permalink / raw)
To: cygwin
I have forgotten to send to ML,
> ----- Original Message -----
> On 15.12.2021 04:48, Tatsuro MATSUOKA wrote:
> > cygport qt5-base.cygport compile fails
> >
> > $ cygport qt5-base.cygport compile
> >>>> Compiling qt5-base-5.9.4-2.x86_64
> > Preparing build tree...
> > Creating qmake...
> > In file included from /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/src/qtbase-opensource-src-5.9.4/src/corelib/tools/qbytearray.cpp:42:
> > /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/src/qtbase-opensource-src-5.9.4/src/corelib/tools/qbytearraymatcher.h: In static member function ‘static QStaticByteArrayMatcherBase::Skiptable QStaticByteArrayMatcherBase::generate(const char*, uint)’:
> > /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/src/qtbase-opensource-src-5.9.4/src/corelib/tools/qbytearraymatcher.h:103:38: error: ‘numeric_limits’ is not a member of ‘std’
> > 103 | const auto uchar_max = (std::numeric_limits<uchar>::max)();
> > | ^~~~~~~~~~~~~~
> > /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/src/qtbase-opensource-src-5.9.4/src/corelib/tools/qbytearraymatcher.h:103:58: error: expected primary-expression before ‘>’ token
> > 103 | const auto uchar_max = (std::numeric_limits<uchar>::max)();
> > | ^
> > /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/src/qtbase-opensource-src-5.9.4/src/corelib/tools/qbytearraymatcher.h:103:61: error: ‘::max’ has not been declared; did you mean ‘std::max’?
> > 103 | const auto uchar_max = (std::numeric_limits<uchar>::max)();
> > | ^~~
> > | std::max
>
> Hi Tatsuro,
>
> no idea, but I saw the same trying to build 5.12.12 recently.
> However I have not see it in February when I was trying some patches
> from Achim
>
>
> I guess something is changed on handling
> std::numeric_limits<uchar>::max
> on our C++ compiler.
>
> The documentation
> https://www.cplusplus.com/reference/limits/numeric_limits/
>
> just reported only an expansion on C++11, but maybe something
> in Cygwin is triggering a fault
>
> Marco
>
>
>
> --
> Problem reports: https://cygwin.com/problems.html
> FAQ: https://cygwin.com/faq/
> Documentation: https://cygwin.com/docs.html
> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
>
Hello Marco
Thank for infomation.
I would like to use Qt terminal on Cygwin.
Unofficial workround exists for Qt.
Anyway I will use wxterminal instead for the moment.
Tatsuro
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cygport compile command fails
2021-12-15 9:37 ` cygport compile command fails Tatsuro MATSUOKA
@ 2021-12-15 13:56 ` ASSI
0 siblings, 0 replies; 5+ messages in thread
From: ASSI @ 2021-12-15 13:56 UTC (permalink / raw)
To: cygwin
Tatsuro MATSUOKA writes:
>> > In file included from /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/src/qtbase-opensource-src-5.9.4/src/corelib/tools/qbytearray.cpp:42:
>> > /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/src/qtbase-opensource-src-5.9.4/src/corelib/tools/qbytearraymatcher.h: In static member function ‘static QStaticByteArrayMatcherBase::Skiptable QStaticByteArrayMatcherBase::generate(const char*, uint)’:
>> > /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/src/qtbase-opensource-src-5.9.4/src/corelib/tools/qbytearraymatcher.h:103:38: error: ‘numeric_limits’ is not a member of ‘std’
>> > 103 | const auto uchar_max = (std::numeric_limits<uchar>::max)();
>> > | ^~~~~~~~~~~~~~
>> > /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/src/qtbase-opensource-src-5.9.4/src/corelib/tools/qbytearraymatcher.h:103:58: error: expected primary-expression before ‘>’ token
>> > 103 | const auto uchar_max = (std::numeric_limits<uchar>::max)();
>> > | ^
>> > /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/src/qtbase-opensource-src-5.9.4/src/corelib/tools/qbytearraymatcher.h:103:61: error: ‘::max’ has not been declared; did you mean ‘std::max’?
>> > 103 | const auto uchar_max = (std::numeric_limits<uchar>::max)();
>> > | ^~~
>> > | std::max
The default C++ standard targeted by gcc-11 is gnu++17.
Given how old Qt5 is and that the upstream packages were compiled w/
gcc-7 mostly, I'd guess you should either add -std=gnu++11 or
-std=gnu++14 to the CXXFLAGS.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cygport compile command fails
2021-12-17 10:35 ` Tatsuro MATSUOKA
@ 2021-12-18 10:19 ` Achim Gratz
0 siblings, 0 replies; 5+ messages in thread
From: Achim Gratz @ 2021-12-18 10:19 UTC (permalink / raw)
To: cygwin
Tatsuro MATSUOKA writes:
> I tried both CXXFLAGS="-std=gnu++11" and CXXFLAGS="-std=gnu++14" to the configure but the results are the same.
It turns out this is a latent bug in Qt5 sources. It was relying on an
implicit include chain that is no longer present in gcc-11 header files.
https://github.com/MultiMC/Launcher/issues/3574
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cygport compile command fails
2021-12-14 21:04 ` Tatsuro MATSUOKA
@ 2021-12-14 21:14 ` Marco Atzeri
0 siblings, 0 replies; 5+ messages in thread
From: Marco Atzeri @ 2021-12-14 21:14 UTC (permalink / raw)
To: cygwin
On 14.12.2021 22:04, Tatsuro MATSUOKA wrote:
> Hello
>
> In order attach patch to QT tried to use the cygport.
> Download qt5-base-5.9.4-2.src
> and go to directory qt5-base-5.9.4-2.src
>
> $ cygport qt5-base.cygport compile
>>>> Compiling qt5-base-5.9.4-2.x86_64
> /usr/share/cygport/lib/syntax.cygpart: line 156: /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/log/qt5-base-5.9.4-2-compile.log: No such file or directory
>
> What is wrong?
>
> Tatsuro
>
the sequence is:
cygport qt5-base.cygport prep compile install package check
or
cygport qt5-base.cygport all check
^ permalink raw reply [flat|nested] 5+ messages in thread
* cygport compile command fails
[not found] <604706974.1625790.1639515893094.JavaMail.yahoo.ref@mail.yahoo.co.jp>
@ 2021-12-14 21:04 ` Tatsuro MATSUOKA
2021-12-14 21:14 ` Marco Atzeri
0 siblings, 1 reply; 5+ messages in thread
From: Tatsuro MATSUOKA @ 2021-12-14 21:04 UTC (permalink / raw)
To: cygwin
Hello
In order attach patch to QT tried to use the cygport.
Download qt5-base-5.9.4-2.src
and go to directory qt5-base-5.9.4-2.src
$ cygport qt5-base.cygport compile
>>> Compiling qt5-base-5.9.4-2.x86_64
/usr/share/cygport/lib/syntax.cygpart: line 156: /usr/src/qt5-base-5.9.4-2.src/qt5-base-5.9.4-2.x86_64/log/qt5-base-5.9.4-2-compile.log: No such file or directory
What is wrong?
Tatsuro
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-12-18 10:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1385850692.28506.1639561032910.JavaMail.yahoo.ref@mail.yahoo.co.jp>
2021-12-15 9:37 ` cygport compile command fails Tatsuro MATSUOKA
2021-12-15 13:56 ` ASSI
[not found] <42772227.153689.1639737354375.JavaMail.yahoo.ref@mail.yahoo.co.jp>
2021-12-17 10:35 ` Tatsuro MATSUOKA
2021-12-18 10:19 ` Achim Gratz
[not found] <604706974.1625790.1639515893094.JavaMail.yahoo.ref@mail.yahoo.co.jp>
2021-12-14 21:04 ` Tatsuro MATSUOKA
2021-12-14 21:14 ` Marco Atzeri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).