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/)

stormtracknole 07-18-2019 02:15 PM

Quote:

Originally Posted by ponce (Post 6016392)
go in the sources dir, /tmp/SBo/blender-2.79b/build, and launch "make".

These are the first errors:
Code:

[ 63%] Building CXX object source/blender/imbuf/intern/openexr/CMakeFiles/bf_imbuf_openexr.dir/openex
r_api.cpp.o                                                                                         
/tmp/SBo/blender-2.79b/source/blender/imbuf/intern/jp2.c: In function ‘format_from_header’:         
/tmp/SBo/blender-2.79b/source/blender/imbuf/intern/jp2.c:79:10: error: ‘OPJ_CODEC_JP2’ undeclared (fi
rst use in this function); did you mean ‘CODEC_JP2’?                                               
  79 |  return OPJ_CODEC_JP2;                                                                     
      |          ^~~~~~~~~~~~~                                                                     
      |          CODEC_JP2                                                                         
/tmp/SBo/blender-2.79b/source/blender/imbuf/intern/jp2.c:79:10: note: each undeclared identifier is r
eported only once for each function it appears in                                                   
/tmp/SBo/blender-2.79b/source/blender/imbuf/intern/jp2.c:82:10: error: ‘OPJ_CODEC_J2K’ undeclared (first use in this function); did you mean ‘CODEC_J2K’?                                               
  82 |  return OPJ_CODEC_J2K;                                                                     
      |          ^~~~~~~~~~~~~                                                                     
      |          CODEC_J2K                                                                         
/tmp/SBo/blender-2.79b/source/blender/imbuf/intern/jp2.c:85:10: error: ‘OPJ_CODEC_UNKNOWN’ undeclared
 (first use in this function); did you mean ‘CODEC_UNKNOWN’?                                       
  85 |  return OPJ_CODEC_UNKNOWN;                                                                 
      |          ^~~~~~~~~~~~~~~~~                                                                 
      |          CODEC_UNKNOWN


ponce 07-18-2019 03:07 PM

seems related to openjpeg...
are you rebuilding just blender or also all of its dependencies? I suggest you do the latter, following the hints in README.Slackware.

USUARIONUEVO 07-18-2019 07:26 PM

Hi , after last updated ffmpeg to branch 4 , some libs need new patches.


I found libquicktime , and transcode , need patches and tweaks.

You can get the patches from archlinux, i test , and works well.


patches to libquicktime --> https://git.archlinux.org/svntogit/c...s/libquicktime
patches to transcode --> https://git.archlinux.org/svntogit/c...ages/transcode

In transcode ommit the imagemagick7.patch ...you need to see the build file for some extra "sed" commands in transcode and libquicktime , not too hard to repair de slackbuilds.

brodo 07-18-2019 08:58 PM

QT5 compiled well, thanks !

Quote:

Originally Posted by ponce (Post 6016336)
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.


ponce 07-18-2019 09:52 PM

Quote:

Originally Posted by USUARIONUEVO (Post 6016472)
Hi , after last updated ffmpeg to branch 4 , some libs need new patches.


I found libquicktime , and transcode , need patches and tweaks.

You can get the patches from archlinux, i test , and works well.


patches to libquicktime --> https://git.archlinux.org/svntogit/c...s/libquicktime
patches to transcode --> https://git.archlinux.org/svntogit/c...ages/transcode

In transcode ommit the imagemagick7.patch ...you need to see the build file for some extra "sed" commands in transcode and libquicktime , not too hard to repair de slackbuilds.

thanks for reporting, I already fixed them yesterday :)

https://github.com/Ponce/slackbuilds/tree/libquicktime
https://github.com/Ponce/slackbuilds/tree/transcode

stormtracknole 07-19-2019 01:10 PM

Ponce,

So I meticulously built everything from scratch (on a clean install). I even tried using the suggestions on the README file. It still fails with the same error. Going to try and build the 2.80 beta and see if I have better luck.

stormtracknole 07-19-2019 03:19 PM

Quote:

Originally Posted by stormtracknole (Post 6016721)
Ponce,

So I meticulously built everything from scratch (on a clean install). I even tried using the suggestions on the README file. It still fails with the same error. Going to try and build the 2.80 beta and see if I have better luck.

Version 2.80 rc2 built fine. I had to comment out every patch. Seems that the combination for the new ffmpeg and openjpeg is not playing nice.

orbea 07-20-2019 02:16 PM

ponce, can you please remove the patch and related sed from the python-xlib SlackBuild in your repo? Its a horrible hack that is only needed for 14.2.

jostber 07-22-2019 05:51 AM

These 3 SlackBuilds give the error "404 not found" when processing the queue:

flashplayer-plugin
pepperflash-plugin
remind

ponce 07-22-2019 05:55 AM

Quote:

Originally Posted by jostber (Post 6017470)
These 3 SlackBuilds give the error "404 not found" when processing the queue:

flashplayer-plugin
pepperflash-plugin

these two work here, maybe you got an old version of the repository.

Quote:

remind
this one is indeed a broken download, but you must report this on the slackbuilds-users mailing list, this is not the proper place (please refer to the first post).

Z038 07-22-2019 03:31 PM

Trying to install gnucash 3.6 from sbopkg on current, I ran into the boost 1.70.0 error discussed earlier in this thread at post#1777 and #1779.

Since I don't know how to modify the slackbuild script when installing with sbopkg, I downloaded the slackbuilds.org package and added the "-DBoost_NO_BOOST_CMAKE=ON" to the slackbuild, as mentioned in post #1779, but now it gets this error:

Code:

-- Looking for include file wctype.h
-- Looking for include file wctype.h - found
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Performing Test have_mod_mask
-- Performing Test have_mod_mask - Success
CMake Error at gnucash/register/register-gnome/CMakeLists.txt:4 (check_symbol_exists):
  Unknown CMake command "check_symbol_exists".



-- Configuring incomplete, errors occurred!
See also "/tmp/SBo/gnucash-3.6/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/SBo/gnucash-3.6/build/CMakeFiles/CMakeError.log".

I googled that and found a post explaining how to fix it. It says you need to add "include(CheckSymbolExists)" near the top of your CMakeLists.txt file. That file is in the gnucash source code tar file. Do I need to untar it, edit the file, then tar it again before running the slackbuild script in order for it to work?

Or is there another way to fix it?

Z038 07-22-2019 06:22 PM

My cmake is version 3.15.0, btw.

jostber 07-22-2019 08:32 PM

Quote:

Originally Posted by ponce (Post 6017472)
remind

this one is indeed a broken download, but you must report this on the slackbuilds-users mailing list, this is not the proper place (please refer to the first post).

I have sent this to the slackbuilds-users list, thanks.

Z038 07-23-2019 07:58 AM

Quote:

Originally Posted by Z038 (Post 6017644)
I googled that and found a post explaining how to fix it. It says you need to add "include(CheckSymbolExists)" near the top of your CMakeLists.txt file. That file is in the gnucash source code tar file. Do I need to untar it, edit the file, then tar it again before running the slackbuild script in order for it to work?

That worked.

I guess I should report this to the gnucash development team? It seems like this would fail for anyone doing a cmake build.

ponce 07-23-2019 08:02 AM

Quote:

Originally Posted by Z038 (Post 6017839)
That worked.

I guess I should report this to the gnucash development team? It seems like this would fail for anyone doing a cmake build.

could be useful for them, yes.

FYI, this has already been reported and answered yesterday on the slackbuilds-users mailing list (a few hours before the post here)

https://lists.slackbuilds.org/piperm...ly/023135.html

http://cgit.ponce.cc/slackbuilds/commit/?h=gnucash


All times are GMT -5. The time now is 05:15 AM.