LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   SBo scripts not building on current (read 1st post, pls) (https://www.linuxquestions.org/questions/slackware-14/sbo-scripts-not-building-on-current-read-1st-post-pls-4175561999/)

willysr 07-15-2019 08:19 PM

i have supertuxkart 1.0 on my local machine running -current for few weeks already and it worked fine

elyk 07-15-2019 09:34 PM

http://cgit.ponce.cc/slackbuilds/log/?h=potrace

Ponce, can you check if this fix for potrace is still needed? It was failing on 14.2 and I added a patch a while back.

ponce 07-16-2019 01:33 AM

Quote:

Originally Posted by elyk (Post 6015400)
http://cgit.ponce.cc/slackbuilds/log/?h=potrace

Ponce, can you check if this fix for potrace is still needed? It was failing on 14.2 and I added a patch a while back.

thanks for reporting here, Kyle: I missed the patch on SBo an its indeed fine also with the "make check"!

bassmadrigal 07-17-2019 10:56 AM

Quote:

Originally Posted by bassmadrigal (Post 6015226)
I'm the current maintainer for supertuxkart and an update is on my list of things to do. Life has just been busy. I'll try and get an update pushed before this weekend's public update for SBo.

Willy just approved my pull request, so this update (along with 6 others) will be available after the next SBo public update.

brodo 07-18-2019 09:48 AM

QT5 compiling ?
 
What about QT5 ?

Quote:

Originally Posted by brodo (Post 6012589)
Hello,

I have a problem compiling QT5 in the Slack-current environment dated 05 may 2019:

Code:

make[4]: Entering directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtwebengine/src/core'
ninja  -C /tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtwebengine/src/core/Release QtWebEngineCore
ninja: Entering directory `/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtwebengine/src/core/Release'
[211/18461] CXX obj/mojo/public/c/system/system/thunks.o
FAILED: obj/mojo/public/c/system/system/thunks.o
/usr/bin/g++ -MMD -MF obj/mojo/public/c/system/system/thunks.o.d -DMOJO_SYSTEM_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DENABLE_PLUGINS=1 -DENABLE_PDF=1 -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DENABLE_WEBRTC=1 -DDISABLE_NACL -DENABLE_TASK_MANAGER=1 -DENABLE_THEMES=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../../3rdparty/chromium -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m32 -msse2 -mfpmath=sse -mmmx -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvisibility=hidden -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -fno-delete-null-pointer-checks -Wno-narrowing -fno-rtti -fno-exceptions -c ../../3rdparty/chromium/mojo/public/c/system/thunks.cc -o obj/mojo/public/c/system/system/thunks.o
In file included from ../../3rdparty/chromium/mojo/public/c/system/buffer.h:17,
                from ../../3rdparty/chromium/mojo/public/c/system/core.h:12,
                from ../../3rdparty/chromium/mojo/public/c/system/thunks.h:13,
                from ../../3rdparty/chromium/mojo/public/c/system/thunks.cc:5:
../../3rdparty/chromium/mojo/public/c/system/buffer.h:43:42: error: static assertion failed: int64_t has weird alignment
  43 | MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) == 8, "int64_t has weird alignment");
../../3rdparty/chromium/mojo/public/c/system/macros.h:15:53: note: in definition of macro ‘MOJO_STATIC_ASSERT’
  15 | #define MOJO_STATIC_ASSERT(expr, msg) static_assert(expr, msg)
      |                                                    ^~~~
../../3rdparty/chromium/mojo/public/c/system/data_pipe.h:44:42: error: static assertion failed: int64_t has weird alignment
  44 | MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) == 8, "int64_t has weird alignment");
../../3rdparty/chromium/mojo/public/c/system/macros.h:15:53: note: in definition of macro ‘MOJO_STATIC_ASSERT’
  15 | #define MOJO_STATIC_ASSERT(expr, msg) static_assert(expr, msg)
      |                                                    ^~~~
../../3rdparty/chromium/mojo/public/c/system/message_pipe.h:49:42: error: static assertion failed: int64_t has weird alignment
  49 | MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) == 8, "int64_t has weird alignment");
../../3rdparty/chromium/mojo/public/c/system/macros.h:15:53: note: in definition of macro ‘MOJO_STATIC_ASSERT’
  15 | #define MOJO_STATIC_ASSERT(expr, msg) static_assert(expr, msg)
      |                                                    ^~~~
[216/18461] ACTION //mojo/common:commo....9.8/qtwebengine/src/toolchain:target)
ninja: build stopped: subcommand failed.
make[4]: *** [Makefile.gn_run:1039: run_ninja] Error 1
make[4]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtwebengine/src/core'
make[3]: *** [Makefile:80: sub-gn_run-pro-make_first] Error 2
make[3]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtwebengine/src/core'
make[2]: *** [Makefile:79: sub-core-make_first] Error 2
make[2]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtwebengine/src'
make[1]: *** [Makefile:47: sub-src-make_first] Error 2
make[1]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtwebengine'
make: *** [Makefile:974: module-qtwebengine-make_first] Error 2
bash-5.0#

I also compiled deps from you, Ponce, but, of course, only these not coming straight from PV's Slackware-current.


ponce 07-18-2019 10:47 AM

Quote:

Originally Posted by brodo (Post 6016265)
What about QT5 ?

are you trying to build it on a 32bit system?

brodo 07-18-2019 12:02 PM

Quote:

Originally Posted by ponce (Post 6016302)
are you trying to build it on a 32bit system?

Exactly. I use 32-bit Slackware.

ponce 07-18-2019 12:12 PM

could you please try a patch from Eric's build?
from the qt5.SlackBuild directory of this repository do
Code:

cd patches
wget http://www.slackware.com/~alien/slackbuilds/qt5/build/patches/qt5.webengine_gcc8.patch
cd ..

then modify qt5.SlackBuild like this
Code:

--- ./qt5.SlackBuild.orig      2019-07-18 17:49:13.315664000 +0200
+++ ./qt5.SlackBuild    2019-07-18 19:11:29.422637657 +0200
@@ -161,6 +161,9 @@
 ( cd qtbase
  patch -p1 < $CWD/patches/qtbase59-openssl11.patch )
 
+( cd qtwebengine
+  patch -p1 < $CWD/patches/qt5.webengine_gcc8.patch )
+
 # Limit -reduce-relocations to ix86 and x86_64.
 # https://bugreports.qt-project.org/browse/QTBUG-36129
 if echo $ARCH | grep -q '\(i.86\|x86_64\)' 2>/dev/null; then

then please report back if qt5 builds fine.

stormtracknole 07-18-2019 12:30 PM

Looks like Blender doesn't like the new ffmpeg. I've had issues in the past building it with the 4 series. Always had to revert back to 3.4.

Code:

/tmp/SBo/blender-2.79b/intern/audaspace/ffmpeg/AUD_FFMPEGReader.cpp: In constructor ‘AUD_FFMPEGReader
::AUD_FFMPEGReader(boost::shared_ptr<AUD_Buffer>)’:                                                 
/tmp/SBo/blender-2.79b/intern/audaspace/ffmpeg/AUD_FFMPEGReader.cpp:267:49: error: ‘FF_MIN_BUFFER_SIZ
E’ was not declared in this scope                                                                   
  267 |  m_membuf = reinterpret_cast<data_t*>(av_malloc(FF_MIN_BUFFER_SIZE + FF_INPUT_BUFFER_PADDING_
SIZE));                                                                                             
      |                                                ^~~~~~~~~~~~~~~~~~                         
/tmp/SBo/blender-2.79b/intern/audaspace/ffmpeg/AUD_FFMPEGReader.cpp:267:70: error: ‘FF_INPUT_BUFFER_P
ADDING_SIZE’ was not declared in this scope; did you mean ‘AV_INPUT_BUFFER_PADDING_SIZE’?           
  267 |  m_membuf = reinterpret_cast<data_t*>(av_malloc(FF_MIN_BUFFER_SIZE + FF_INPUT_BUFFER_PADDING_SIZE));

Looking around to see if there are any patches for this.

ponce 07-18-2019 12:58 PM

Quote:

Originally Posted by stormtracknole (Post 6016343)
Looks like Blender doesn't like the new ffmpeg. I've had issues in the past building it with the 4 series. Always had to revert back to 3.4.

Code:

/tmp/SBo/blender-2.79b/intern/audaspace/ffmpeg/AUD_FFMPEGReader.cpp: In constructor ‘AUD_FFMPEGReader
::AUD_FFMPEGReader(boost::shared_ptr<AUD_Buffer>)’:                                                 
/tmp/SBo/blender-2.79b/intern/audaspace/ffmpeg/AUD_FFMPEGReader.cpp:267:49: error: ‘FF_MIN_BUFFER_SIZ
E’ was not declared in this scope                                                                   
  267 |  m_membuf = reinterpret_cast<data_t*>(av_malloc(FF_MIN_BUFFER_SIZE + FF_INPUT_BUFFER_PADDING_
SIZE));                                                                                             
      |                                                ^~~~~~~~~~~~~~~~~~                         
/tmp/SBo/blender-2.79b/intern/audaspace/ffmpeg/AUD_FFMPEGReader.cpp:267:70: error: ‘FF_INPUT_BUFFER_P
ADDING_SIZE’ was not declared in this scope; did you mean ‘AV_INPUT_BUFFER_PADDING_SIZE’?           
  267 |  m_membuf = reinterpret_cast<data_t*>(av_malloc(FF_MIN_BUFFER_SIZE + FF_INPUT_BUFFER_PADDING_SIZE));

Looking around to see if there are any patches for this.

maybe here?

stormtracknole 07-18-2019 01:01 PM

Quote:

Originally Posted by ponce (Post 6016362)
maybe here?

I swear you have a superpower. :) Going to test this now.

orbea 07-18-2019 01:28 PM

Edit: Wrong thread...

ponce 07-18-2019 01:42 PM

Quote:

Originally Posted by orbea (Post 6016376)
Maybe its worth adding perl-Archive-Zip to current for its crc32 binary? I have not found another good way of generating crc32 sums on linux and they are very useful for comparison with documentation from some online communities that still (Only) use crc32 sums... Its also a build dependency for libreoffice.

https://slackbuilds.org/repository/1...l-Archive-Zip/

ehm, maybe you wanted to post this in the other thread? :)

stormtracknole 07-18-2019 02:00 PM

Build gets farther but fails at 64%.
Code:

/tmp/SBo/blender-2.79b/intern/cycles/kernel/../kernel/bvh/bvh_shadow_all.h:74:12: note: ‘ob_itfm.ccl::Transform::x.ccl::float4::x’ was declared here
  74 |  Transform ob_itfm;
      |            ^~~~~~~
[ 64%] Linking CXX static library ../../../lib/libcycles_kernel.a
[ 64%] Built target cycles_kernel
make: *** [Makefile:163: all] Error 2

Not sure if it fails before hand. I couldn't scroll back that far back.

ponce 07-18-2019 02:02 PM

Quote:

Originally Posted by stormtracknole (Post 6016389)
Build gets farther but fails at 64%.
Code:

/tmp/SBo/blender-2.79b/intern/cycles/kernel/../kernel/bvh/bvh_shadow_all.h:74:12: note: ‘ob_itfm.ccl::Transform::x.ccl::float4::x’ was declared here
  74 |  Transform ob_itfm;
      |            ^~~~~~~
[ 64%] Linking CXX static library ../../../lib/libcycles_kernel.a
[ 64%] Built target cycles_kernel
make: *** [Makefile:163: all] Error 2

Not sure if it fails before hand. I couldn't scroll back that far back.

go in the sources dir, /tmp/SBo/blender-2.79b/build, and launch "make".


All times are GMT -5. The time now is 09:56 PM.