Bug 985002 - GCC6: vncmanager fails to build
GCC6: vncmanager fails to build
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: X.Org
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Michal Srb
E-mail List
:
Depends on:
Blocks: 984984
  Show dependency treegraph
 
Reported: 2016-06-16 09:30 UTC by Dominique Leuenberger
Modified: 2016-06-16 14:35 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Leuenberger 2016-06-16 09:30:49 UTC
vncmanager fails to build with gcc 6

[  284s] In file included from FastJetFinder.cc:27:0:
[  284s] ../include/ThePEG/Persistency/PersistentOStream.h:235:29: error: 'isinf' was not declared in this scope
[  284s]      if ( isnan(f) || isinf(f) )
[  284s]                              ^
[  284s] ../include/ThePEG/Persistency/PersistentOStream.h:235:29: note: suggested alternative:
[  284s] In file included from /usr/include/c++/6/complex:44:0,
[  284s]                  from ../include/ThePEG/Config/Complex.h:16,
[  284s]                  from ../include/ThePEG/Config/ThePEG.h:31,
[  284s]                  from ../include/ThePEG/Interface/Interfaced.h:13,
[  284s]                  from ../include/ThePEG/Cuts/JetFinder.h:16,
[  284s]                  from FastJetFinder.h:16,
[  284s]                  from FastJetFinder.cc:15:
[  284s] /usr/include/c++/6/cmath:630:5: note:   'std::isinf'
[  284s]      isinf(_Tp __x)
Comment 2 Dominique Leuenberger 2016-06-16 09:35:00 UTC
Sorry - ignore comment #0's build log... copy paste is difficult.


This is the right excerpt:

[   71s] /home/abuild/rpmbuild/BUILD/vncmanager-1.0.0/rfb.h:486:29: error: could not convert 'Invalid' from 'SecurityType' to 'uint32_t {aka unsigned int}'
[   71s]      Invalid = SecurityType::Invalid,
[   71s]                              ^~~~~~~
[   71s] /home/abuild/rpmbuild/BUILD/vncmanager-1.0.0/rfb.h:487:26: error: could not convert 'None' from 'SecurityType' to 'uint32_t {aka unsigned int}'
[   71s]      None = SecurityType::None,
[   71s]                           ^~~~
[   71s] /home/abuild/rpmbuild/BUILD/vncmanager-1.0.0/rfb.h:488:29: error: could not convert 'VncAuth' from 'SecurityType' to 'uint32_t {aka unsigned int}'
[   71s]      VncAuth = SecurityType::VncAuth,
Comment 3 Bernhard Wiedemann 2016-06-16 14:01:25 UTC
This is an autogenerated message for OBS integration:
This bug (985002) was mentioned in
https://build.opensuse.org/request/show/402734 Factory / vncmanager
Comment 4 Michal Srb 2016-06-16 14:20:24 UTC
Submitted fix to factory. That should be enough to get it into Tumbleweed and GCC 6 isn't used anywhere else yet, is that right?
Comment 5 Dominique Leuenberger 2016-06-16 14:25:19 UTC
(In reply to Michal Srb from comment #4)
> Submitted fix to factory. That should be enough to get it into Tumbleweed
> and GCC 6 isn't used anywhere else yet, is that right?

That's right - Tumbleweed is the only product we currently have based on GCC 6.
Comment 6 Michal Srb 2016-06-16 14:35:43 UTC
Great, closing the bug.