Re: [Slackbuilds-users] BUG: gst-plugins-bad building fails with Qt 5.7; workaround CONFIRMED

2016-09-25 Thread Willy Sudiarto Raharjo
> Upon successful rebuild of gst-plugins-bad with soundtouch support, I
> can confirm that sayonara 0.9.2 now runs correctly.

Pushed the updated README in my branch

Thanks


-- 
Willy Sudiarto Raharjo



signature.asc
Description: OpenPGP digital signature
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



[Slackbuilds-users] BUG: gst-plugins-bad building fails with Qt 5.7; workaround CONFIRMED

2016-09-25 Thread Eduardo Sanchez
Hi,

Upon successful rebuild of gst-plugins-bad with soundtouch support, I
can confirm that sayonara 0.9.2 now runs correctly.

Thanks and best regards,

Eduardo

-- 
Eduardo Sánchez Gauto, Abog., Th.M.
Abogado - Traductor Público Matriculado Inglés - Español
Web: http://sombragris.org - Blog: http://shadow.sombragris.org
TW: @thegreyshadow - FB: /thegreyshadow
Teléfono: (0991) 755-355 - Asunción, Paraguay
==
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



[Slackbuilds-users] BUG: gst-plugins-bad building fails with Qt 5.7; workaround

2016-09-25 Thread Eduardo Sanchez
Building gst-plugins-bad fails on libqtsink_la-gstqsgtexture.lo in my
system (-current).

The compiler output is actually quite large at the point, but the crux
of the matter seems to be this message:

#  error "Qt requires C++11 support"

Upon some investigation, it looks like the culprit is Qt 5.7, which
requires C+11.

The workaround would be to explictly enable the compiler to use C++11
during compilation. That is achieved by adding "-std=c++11" to
SLKCFLAGS. After that step, gst-plugins-bad builds correctly.

Below is the output of the failed build with the stock SlackBuild.

Thanks


Eduardo

  CXX  libqtsink_la-gstqsgtexture.lo
In file included from /usr/include/qt5/QtCore/qatomic.h:46:0,
 from /usr/include/qt5/QtCore/qglobal.h:1145,
 from /usr/include/qt5/QtQuick/qtquickglobal.h:43,
 from /usr/include/qt5/QtQuick/qsgtexture.h:43,
 from /usr/include/qt5/QtQuick/QSGTexture:1,
 from gstqsgtexture.h:25,
 from gstqsgtexture.cc:29:
/usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires
  C++11 support" #  error "Qt requires C++11 support"
^
In file included from /usr/include/qt5/QtCore/QObject:1:0,
 from /usr/include/qt5/QtQuick/qsgtexture.h:44,
 from /usr/include/qt5/QtQuick/QSGTexture:1,
 from gstqsgtexture.h:25,
 from gstqsgtexture.cc:29:
/usr/include/qt5/QtCore/qobject.h:322:9: warning: identifier 'decltype'
  is a keyword in C++11 [-Wc++0x-compat] typedef
  QtPrivate::FunctionPointer SlotType ; ^
In file included from /usr/include/qt5/QtQuick/qtquickglobal.h:43:0,
 from /usr/include/qt5/QtQuick/qsgtexture.h:43,
 from /usr/include/qt5/QtQuick/QSGTexture:1,
 from gstqsgtexture.h:25,
 from gstqsgtexture.cc:29:
/usr/include/qt5/QtCore/qglobal.h:1133:23: error: expected ',' or '...'
  before '&&' token void qAsConst(const T &&) Q_DECL_EQ_DELETE;
   ^
In file included from /usr/include/qt5/QtCore/qatomic.h:46:0,
 from /usr/include/qt5/QtCore/qglobal.h:1145,
 from /usr/include/qt5/QtQuick/qtquickglobal.h:43,
 from /usr/include/qt5/QtQuick/qsgtexture.h:43,
 from /usr/include/qt5/QtQuick/QSGTexture:1,
 from gstqsgtexture.h:25,
 from gstqsgtexture.cc:29:
/usr/include/qt5/QtCore/qbasicatomic.h:90:13: error: 'QAtomicOps' does
  not name a type typedef QAtomicOps Ops;
 ^
In file included from /usr/include/qt5/QtQuick/qtquickglobal.h:43:0,
 from /usr/include/qt5/QtQuick/qsgtexture.h:43,
 from /usr/include/qt5/QtQuick/QSGTexture:1,
 from gstqsgtexture.h:25,
 from gstqsgtexture.cc:29:
/usr/include/qt5/QtCore/qbasicatomic.h:93:23: error:
  'QAtomicOpsSupport' was not declared in this scope
  Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported,
  "template parameter is an integral of a size not supported on this
  platform"); ^ /usr/include/qt5/QtCore/qglobal.h:756:110: note: in
  definition of macro 'Q_STATIC_ASSERT' enum
  {Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_result, __COUNTER__) =
  sizeof(QStaticAssertFailure)}
  ^ /usr/include/qt5/QtCore/qbasicatomic.h:93:5: note: in expansion of
  macro 'Q_STATIC_ASSERT_X'
  Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported,
  "template parameter is an integral of a size not supported on this
  platform"); ^ /usr/include/qt5/QtCore/qbasicatomic.h:93:51: error:
  '::IsSupported' has not been declared
  Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported,
  "template parameter is an integral of a size not supported on this
  platform"); ^ /usr/include/qt5/QtCore/qglobal.h:756:110: note: in
  definition of macro 'Q_STATIC_ASSERT' enum
  {Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_result, __COUNTER__) =
  sizeof(QStaticAssertFailure)}
  ^ /usr/include/qt5/QtCore/qbasicatomic.h:93:5: note: in expansion of
  macro 'Q_STATIC_ASSERT_X'
  Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported,
  "template parameter is an integral of a size not supported on this
  platform"); ^ /usr/include/qt5/QtCore/qglobal.h:756:120: error:
  template argument 1 is invalid enum
  {Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_result, __COUNTER__) =
  sizeof(QStaticAssertFailure)}
  ^ /usr/include/qt5/QtCore/qglobal.h:761:47: note: in expansion of
  macro 'Q_STATIC_ASSERT' #define Q_STATIC_ASSERT_X(Condition, Message)
  Q_STATIC_ASSERT(Condition)
  ^ /usr/include/qt5/QtCore/qbasicatomic.h:93:5: note: in expansion of
  macro 'Q_STATIC_ASSERT_X'
  Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported,
  "template parameter is an integral of a size not supported on this
  platform"); ^ In file included
  from /usr/include/qt5/QtCore/qatomic.h:46:0,
  from /usr/include/qt5/QtCore/qglobal.h:1145,
  from