LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-01-2024, 09:47 PM   #5701
DryFalls
Member
 
Registered: Apr 2021
Posts: 44

Rep: Reputation: Disabled

Thanks Ponce. I've got everything working but it's not 'kosher' and one thing I've learned is that work-arounds usually come back to haunt me. I'll remove everything and try again. My initial failure was because GraphicsMagick must be removed as it doesn't consistently upgrade. Also, I shouldn't be in a hurry -- a reboot should take place before proceeding after changing the system.

df
 
Old 01-02-2024, 12:29 AM   #5702
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Original Poster
Rep: Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199
Quote:
Originally Posted by DryFalls View Post
My initial failure was because GraphicsMagick must be removed as it doesn't consistently upgrade.
in this specific case, when I try to run the GraphicsMagick.SlackBuild I have this output
Code:
************************************************************************
*
* GraphicsMagick is already installed (version 1.3.42).
*
* If the build fails, 'removepkg GraphicsMagick' and try again.
*
* Don't say I didn't warn you.
*
************************************************************************
then it proceeds after three more seconds...
There's also a note about it in the README.

Last edited by ponce; 01-02-2024 at 12:31 AM.
 
Old 01-02-2024, 11:07 AM   #5703
DryFalls
Member
 
Registered: Apr 2021
Posts: 44

Rep: Reputation: Disabled
Started over with clean system and everything built fine. Sorry for the intrusion. Not sure what went wrong with previous attempt. Another adage proved by Slackware: "Try. try again". Thanks for the help.
 
1 members found this post helpful.
Old 01-13-2024, 10:58 AM   #5704
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 901

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
lilypond is not building after the latest update:

Code:
Making mf/out/feta11.pfb < mf
Copyright (c) 2000-2024. See AUTHORS for Contributors.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE.
 Version: 20201107
 Based on sources from 2024-01-13 16:33 UTC-ML-D-GDK3.
I can't figure out your version of iconv(). I need a name for the UCS-4 encoding and I can't find one. Reconfigure --without-iconv. Bye.mf2pt1: You'll need to install FontForge if you want feta11.pfb autohinted (not required, but strongly recommended)
Making mf/out/feta11.lisp < log
Making mf/out/feta-alphabet11.pfb < mf
Copyright (c) 2000-2024. See AUTHORS for Contributors.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE.
 Version: 20201107
 Based on sources from 2024-01-13 16:33 UTC-ML-D-GDK3.
I can't figure out your version of iconv(). I need a name for the UCS-4 encoding and I can't find one. Reconfigure --without-iconv. Bye.mf2pt1: You'll need to install FontForge if you want feta-alphabet11.pfb autohinted (not required, but strongly recommended)
Making mf/out/feta-alphabet11.lisp < log
Making mf/out/feta-flags11.pfb < mf
Copyright (c) 2000-2024. See AUTHORS for Contributors.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE.
 Version: 20201107
 Based on sources from 2024-01-13 16:33 UTC-ML-D-GDK3.
I can't figure out your version of iconv(). I need a name for the UCS-4 encoding and I can't find one. Reconfigure --without-iconv. Bye.mf2pt1: You'll need to install FontForge if you want feta-flags11.pfb autohinted (not required, but strongly recommended)
Making mf/out/feta-flags11.lisp < log
Making mf/out/feta-noteheads11.pfb < mf
Copyright (c) 2000-2024. See AUTHORS for Contributors.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE.
 Version: 20201107
 Based on sources from 2024-01-13 16:33 UTC-ML-D-GDK3.
I can't figure out your version of iconv(). I need a name for the UCS-4 encoding and I can't find one. Reconfigure --without-iconv. Bye.mf2pt1: You'll need to install FontForge if you want feta-noteheads11.pfb autohinted (not required, but strongly recommended)
Making mf/out/feta-noteheads11.lisp < log
Making mf/out/parmesan11.pfb < mf
Copyright (c) 2000-2024. See AUTHORS for Contributors.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE.
 Version: 20201107
 Based on sources from 2024-01-13 16:33 UTC-ML-D-GDK3.
I can't figure out your version of iconv(). I need a name for the UCS-4 encoding and I can't find one. Reconfigure --without-iconv. Bye.mf2pt1: You'll need to install FontForge if you want parmesan11.pfb autohinted (not required, but strongly recommended)
Making mf/out/parmesan11.lisp < log
Making mf/out/parmesan-noteheads11.pfb < mf
Copyright (c) 2000-2024. See AUTHORS for Contributors.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE.
 Version: 20201107
 Based on sources from 2024-01-13 16:33 UTC-ML-D-GDK3.
I can't figure out your version of iconv(). I need a name for the UCS-4 encoding and I can't find one. Reconfigure --without-iconv. Bye.mf2pt1: You'll need to install FontForge if you want parmesan-noteheads11.pfb autohinted (not required, but strongly recommended)
Making mf/out/parmesan-noteheads11.lisp < log
Making mf/out/emmentaler-11.otf 
Copyright (c) 2000-2024. See AUTHORS for Contributors.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE.
 Version: 20201107
 Based on sources from 2024-01-13 16:33 UTC-ML-D-GDK3.
I can't figure out your version of iconv(). I need a name for the UCS-4 encoding and I can't find one. Reconfigure --without-iconv. Bye.make[1]: *** [GNUmakefile:125: out/emmentaler-11.otf] Error 1
make: *** [make/generic-targets.make:6: all] Error 2
I have the iconv provided by glibc-2.38 and just to be sure, previous to my attempt to build lilypond, I recompiled its listed dependencies (fontforge and texi2html).
 
Old 01-13-2024, 11:04 AM   #5705
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 901

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
FreeOrion fails to build at the configure stage. I can't make sense of the errors.

Code:
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
CMake Warning (dev) at CMakeLists.txt:265 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.9.18", minimum required is "3.7") 
CMake Warning (dev) at CMakeLists.txt:266 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonLibs: /usr/lib64/libpython3.9.so (found suitable version "3.9.18", minimum required is "3.7") 
-- Python library version detected 3.9.18
-- Boost python version 39
-- Boost 1.69.0 found.
-- Found Boost components:
   filesystem;iostreams;locale;log;log_setup;serialization;system;thread
-- Boost  found.
-- Found Boost components:
   python39
-- Found ZLIB: /usr/lib64/libz.so (found version "1.3")  
-- Found SDL: /usr/lib64/libSDL2.so (found version "2.28.5") 
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.13.2") 
-- Found OpenGL: /usr/lib64/libOpenGL.so   
-- Found OpenAL: /usr/lib64/libopenal.so  
-- Found Ogg: /usr/lib64/libogg.so  
-- Found Vorbis: /usr/lib64/libvorbis.so   
-- Boost 1.69.0 found.
-- Found Boost components:
   filesystem;regex;system
-- Found GLEW: /usr/include (found version "2.2.0") 
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.40") 
fatal: not a git repository (or any of the parent directories): .git
WARNING: git not installed or not setup correctly
WARNING: Can't determine git commit!
Writing file: util/Version.cpp
WARNING: Can't determine git commit!
Writing file: cmake/FreeOrionVersion.cmake
Building v0.5 build ???
-- Could NOT find CPPCheck (missing: CPPCHECK_EXECUTABLE) 
Traceback (most recent call last):
  File "/usr/bin/flake8", line 33, in <module>
    sys.exit(load_entry_point('flake8==7.0.0', 'console_scripts', 'flake8')())
  File "/usr/lib64/python3.9/site-packages/flake8/main/cli.py", line 23, in main
    app.run(argv)
  File "/usr/lib64/python3.9/site-packages/flake8/main/application.py", line 198, in run
    self._run(argv)
  File "/usr/lib64/python3.9/site-packages/flake8/main/application.py", line 186, in _run
    self.initialize(argv)
  File "/usr/lib64/python3.9/site-packages/flake8/main/application.py", line 165, in initialize
    self.plugins, self.options = parse_args(argv)
  File "/usr/lib64/python3.9/site-packages/flake8/options/parse_args.py", line 53, in parse_args
    opts = aggregator.aggregate_options(option_manager, cfg, cfg_dir, rest)
  File "/usr/lib64/python3.9/site-packages/flake8/options/aggregator.py", line 30, in aggregate_options
    parsed_config = config.parse_config(manager, cfg, cfg_dir)
  File "/usr/lib64/python3.9/site-packages/flake8/options/config.py", line 131, in parse_config
    raise ValueError(
ValueError: Error code '#' supplied to 'extend-ignore' option does not match '^[A-Z]{1,3}[0-9]{0,3}$'
CMake Error at cmake/FindFlake8.cmake:8 (string):
  string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
  check/CMakeLists.txt:2 (find_package)


CMake Error at cmake/FindFlake8.cmake:9 (list):
  list GET given empty list
Call Stack (most recent call first):
  check/CMakeLists.txt:2 (find_package)


-- Found Flake8: /usr/bin/flake8 (found version "") 
CMake Warning (dev) at check/CMakeLists.txt:3 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Doxygen: /usr/bin/doxygen (found version "1.10.0") found components: doxygen dot 
-- Configuring incomplete, errors occurred!
 
Old 01-13-2024, 12:00 PM   #5706
gian_d
Member
 
Registered: Nov 2019
Location: Cagliari, Sardinia (Italy)
Distribution: Slackware
Posts: 76

Rep: Reputation: Disabled
Quote:
Originally Posted by sombragris View Post
FreeOrion fails to build at the configure stage. I can't make sense of the errors.
you have to install cppcheck (available in SBo)
 
Old 01-13-2024, 12:16 PM   #5707
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 686
Blog Entries: 1

Rep: Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513
Code:
fatal: not a git repository (or any of the parent directories): .git
WARNING: git not installed or not setup correctly
You dont have git or something is wrong? Try reinstall git.
 
Old 01-13-2024, 12:18 PM   #5708
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Original Poster
Rep: Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199
hi sombragris,

I'm not able to reproduce the errors you got, both lilypond and freeorion built fine here.

regarding lilypond try to reinstall glibc.

regarding freeorion, I would try to temporary remove flake8 from your system (the error might be related to that and also, FWIW, it's not installed here) and try to build freeorion again.

but both errors don't actually belong in this topic, I'm sorry...
 
1 members found this post helpful.
Old 01-14-2024, 09:31 AM   #5709
frtorres
Member
 
Registered: Jul 2012
Distribution: Debian kanotix, Slackware
Posts: 87

Rep: Reputation: Disabled
kodi 20.2 compilation error.

Hi Ponce.

Trying to install kodi, the usual way

Code:
sqg -p kodi
sbopkg -i kodi
almost at the end of a long compilation process I got this error:

Code:
[ 98%] Generating AddonModuleXbmcplugin.i.cpp
[ 98%] Generating AddonModuleXbmcvfs.i.cpp
[ 98%] Building CXX object build/swig/CMakeFiles/python_binding.dir/AddonModuleXbmcaddon.i.cpp.o
/tmp/SBo/kodi-build/build/swig/AddonModuleXbmcaddon.i.cpp: In function ‘PyObject* PythonBindings::xbmcaddon_XBMCAddon_xbmcaddon_Settings_New(PyTypeObject*, PyObject*, PyObject*)’:
/tmp/SBo/kodi-build/build/swig/AddonModuleXbmcaddon.i.cpp:1610:52: error: no matching function for call to ‘XBMCAddon::xbmcaddon::Settings::Settings()’
 1610 |     apiResult = new XBMCAddon::xbmcaddon::Settings();
      |                                                    ^
In file included from /tmp/SBo/xbmc-20.2-Nexus/xbmc/interfaces/legacy/Addon.h:14,
                 from /tmp/SBo/kodi-build/build/swig/AddonModuleXbmcaddon.i.cpp:28:
/tmp/SBo/xbmc-20.2-Nexus/xbmc/interfaces/legacy/Settings.h:60:3: note: candidate: ‘XBMCAddon::xbmcaddon::Settings::Settings(std::shared_ptr<CSettingsBase>)’
   60 |   Settings(std::shared_ptr<CSettingsBase> settings);
      |   ^~~~~~~~
/tmp/SBo/xbmc-20.2-Nexus/xbmc/interfaces/legacy/Settings.h:60:3: note:   candidate expects 1 argument, 0 provided
make[2]: *** [build/swig/CMakeFiles/python_binding.dir/build.make:125: build/swig/CMakeFiles/python_binding.dir/AddonModuleXbmcaddon.i.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:12349: build/swig/CMakeFiles/python_binding.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Thanks in advance for checking this and advice.

Francisco. (Happy New Year Ponce )
 
Old 01-14-2024, 10:29 AM   #5710
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Original Poster
Rep: Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199
Hi Francisco, thanks for the wishes and happy new year to you too!

the problem you reported looks like a known issue with the new swig 4.2.0

https://github.com/xbmc/xbmc/issues/24385

if you read the bug report you can see upstream proposed this patch: it lets kodi build but they are still testing it in case it causes problems at runtime.

if you feel brave ( ;-) ) you can try it too and eventually report back in that bug report.
 
1 members found this post helpful.
Old 01-14-2024, 11:58 AM   #5711
gian_d
Member
 
Registered: Nov 2019
Location: Cagliari, Sardinia (Italy)
Distribution: Slackware
Posts: 76

Rep: Reputation: Disabled
stellarium 23.4

In Slackware 15 the slackbuild works fine (except to some cmake warnings), but in current it fails due this error:
Code:
[  2%] Generating ui_INDIControlWidget.h
[  2%] Building CXX object plugins/TelescopeControl/src/INDI/CMakeFiles/TelescopeControl_INDI.dir/TelescopeControl_INDI_autogen/mocs_compilation.cpp.o
In file included from /tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/moc_INDIConnection.cpp:10,
                 from /tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/mocs_compilation.cpp:2:
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:72:14: error: ‘void INDIConnection::newDevice(INDI::BaseDevice*)’ marked ‘override’, but does not override
   72 |         void newDevice(INDI::BaseDevice *dp) override;
      |              ^~~~~~~~~
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:73:14: error: ‘void INDIConnection::removeDevice(INDI::BaseDevice*)’ marked ‘override’, but does not override
   73 |         void removeDevice(INDI::BaseDevice *dp) override;
      |              ^~~~~~~~~~~~
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:74:14: error: ‘void INDIConnection::newProperty(INDI::Property*)’ marked ‘override’, but does not override
   74 |         void newProperty(INDI::Property *property) override;
      |              ^~~~~~~~~~~
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:75:14: error: ‘void INDIConnection::removeProperty(INDI::Property*)’ marked ‘override’, but does not override
   75 |         void removeProperty(INDI::Property *property) override;
      |              ^~~~~~~~~~~~~~
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:76:14: error: ‘void INDIConnection::newBLOB(IBLOB*)’ marked ‘override’, but does not override
   76 |         void newBLOB(IBLOB *bp) override;
      |              ^~~~~~~
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:77:14: error: ‘void INDIConnection::newSwitch(ISwitchVectorProperty*)’ marked ‘override’, but does not override
   77 |         void newSwitch(ISwitchVectorProperty *svp) override;
      |              ^~~~~~~~~
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:78:14: error: ‘void INDIConnection::newNumber(INumberVectorProperty*)’ marked ‘override’, but does not override
   78 |         void newNumber(INumberVectorProperty *nvp) override;
      |              ^~~~~~~~~
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:79:14: error: ‘void INDIConnection::newText(ITextVectorProperty*)’ marked ‘override’, but does not override
   79 |         void newText(ITextVectorProperty *tvp) override;
      |              ^~~~~~~
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:80:14: error: ‘void INDIConnection::newLight(ILightVectorProperty*)’ marked ‘override’, but does not override
   80 |         void newLight(ILightVectorProperty *lvp) override;
      |              ^~~~~~~~
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:81:14: error: ‘void INDIConnection::newMessage(INDI::BaseDevice*, int)’ marked ‘override’, but does not override
   81 |         void newMessage(INDI::BaseDevice *dp, int messageID) override;
      |              ^~~~~~~~~~
In file included from /tmp/SBo/stellarium-23.4/plugins/TelescopeControl/src/TelescopeControl.hpp:31,
                 from /tmp/SBo/stellarium-23.4/plugins/TelescopeControl/src/TelescopeClient.hpp:38,
                 from /tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIControlWidget.hpp:24,
                 from /tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/moc_INDIControlWidget.cpp:10,
                 from /tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/mocs_compilation.cpp:3:
/tmp/SBo/stellarium-23.4/src/core/StelFader.hpp:104:20: warning: ‘virtual StelFader& LinearFader::operator=(bool)’ was hidden [-Woverloaded-virtual=]
  104 |         StelFader& operator=(bool s) Q_DECL_OVERRIDE
      |                    ^~~~~~~~
/tmp/SBo/stellarium-23.4/src/core/StelFader.hpp:139:7: note:   by ‘ParabolicFader::operator=’
  139 | class ParabolicFader : public LinearFader
      |       ^~~~~~~~~~~~~~
make[2]: *** [plugins/TelescopeControl/src/INDI/CMakeFiles/TelescopeControl_INDI.dir/build.make:91: plugins/TelescopeControl/src/INDI/CMakeFiles/TelescopeControl_INDI.dir/TelescopeControl_INDI_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6866: plugins/TelescopeControl/src/INDI/CMakeFiles/TelescopeControl_INDI.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
root@giand:/packages/sbo/academic/sbo/stellarium#
I don't know what is the problem, but I found a solution here. The issue is removed by including this flag in the slackbuild code:
Code:
     -DPREFER_SYSTEM_INDILIB=NO \
This is not essential, but several cmake warnings (but not all, for certain a patch and/or sed command are needed) can be suppressed with these flags:
Code:
    -DCMAKE_POLICY_DEFAULT_CMP0110=NEW \
    -DCMAKE_POLICY_DEFAULT_CMP0071=NEW \
    -DCMAKE_POLICY_DEFAULT_CMP0148=OLD \
Furthermore, I found that the parallel compilation may give build failures, I think this could be caused by the prebuild of external modules, some of them seem executed in second instance in the parallel build.
Settings make -j 10 and make -j 5 return errors, whereas the compilation with a single or two jobs ends successfully.

Last edited by gian_d; 01-14-2024 at 11:59 AM.
 
Old 01-14-2024, 12:43 PM   #5712
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Original Poster
Rep: Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199
Quote:
Originally Posted by gian_d View Post
In Slackware 15 the slackbuild works fine (except to some cmake warnings), but in current it fails due this error:
Code:
[  2%] Generating ui_INDIControlWidget.h
[  2%] Building CXX object plugins/TelescopeControl/src/INDI/CMakeFiles/TelescopeControl_INDI.dir/TelescopeControl_INDI_autogen/mocs_compilation.cpp.o
In file included from /tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/moc_INDIConnection.cpp:10,
                 from /tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/mocs_compilation.cpp:2:
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:72:14: error: ‘void INDIConnection::newDevice(INDI::BaseDevice*)’ marked ‘override’, but does not override
   72 |         void newDevice(INDI::BaseDevice *dp) override;
      |              ^~~~~~~~~
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:73:14: error: ‘void INDIConnection::removeDevice(INDI::BaseDevice*)’ marked ‘override’, but does not override
   73 |         void removeDevice(INDI::BaseDevice *dp) override;
      |              ^~~~~~~~~~~~
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:74:14: error: ‘void INDIConnection::newProperty(INDI::Property*)’ marked ‘override’, but does not override
   74 |         void newProperty(INDI::Property *property) override;
      |              ^~~~~~~~~~~
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:75:14: error: ‘void INDIConnection::removeProperty(INDI::Property*)’ marked ‘override’, but does not override
   75 |         void removeProperty(INDI::Property *property) override;
      |              ^~~~~~~~~~~~~~
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:76:14: error: ‘void INDIConnection::newBLOB(IBLOB*)’ marked ‘override’, but does not override
   76 |         void newBLOB(IBLOB *bp) override;
      |              ^~~~~~~
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:77:14: error: ‘void INDIConnection::newSwitch(ISwitchVectorProperty*)’ marked ‘override’, but does not override
   77 |         void newSwitch(ISwitchVectorProperty *svp) override;
      |              ^~~~~~~~~
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:78:14: error: ‘void INDIConnection::newNumber(INumberVectorProperty*)’ marked ‘override’, but does not override
   78 |         void newNumber(INumberVectorProperty *nvp) override;
      |              ^~~~~~~~~
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:79:14: error: ‘void INDIConnection::newText(ITextVectorProperty*)’ marked ‘override’, but does not override
   79 |         void newText(ITextVectorProperty *tvp) override;
      |              ^~~~~~~
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:80:14: error: ‘void INDIConnection::newLight(ILightVectorProperty*)’ marked ‘override’, but does not override
   80 |         void newLight(ILightVectorProperty *lvp) override;
      |              ^~~~~~~~
/tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIConnection.hpp:81:14: error: ‘void INDIConnection::newMessage(INDI::BaseDevice*, int)’ marked ‘override’, but does not override
   81 |         void newMessage(INDI::BaseDevice *dp, int messageID) override;
      |              ^~~~~~~~~~
In file included from /tmp/SBo/stellarium-23.4/plugins/TelescopeControl/src/TelescopeControl.hpp:31,
                 from /tmp/SBo/stellarium-23.4/plugins/TelescopeControl/src/TelescopeClient.hpp:38,
                 from /tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../plugins/TelescopeControl/src/INDI/INDIControlWidget.hpp:24,
                 from /tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/moc_INDIControlWidget.cpp:10,
                 from /tmp/SBo/stellarium-23.4/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/mocs_compilation.cpp:3:
/tmp/SBo/stellarium-23.4/src/core/StelFader.hpp:104:20: warning: ‘virtual StelFader& LinearFader::operator=(bool)’ was hidden [-Woverloaded-virtual=]
  104 |         StelFader& operator=(bool s) Q_DECL_OVERRIDE
      |                    ^~~~~~~~
/tmp/SBo/stellarium-23.4/src/core/StelFader.hpp:139:7: note:   by ‘ParabolicFader::operator=’
  139 | class ParabolicFader : public LinearFader
      |       ^~~~~~~~~~~~~~
make[2]: *** [plugins/TelescopeControl/src/INDI/CMakeFiles/TelescopeControl_INDI.dir/build.make:91: plugins/TelescopeControl/src/INDI/CMakeFiles/TelescopeControl_INDI.dir/TelescopeControl_INDI_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6866: plugins/TelescopeControl/src/INDI/CMakeFiles/TelescopeControl_INDI.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
root@giand:/packages/sbo/academic/sbo/stellarium#
I don't know what is the problem, but I found a solution here. The issue is removed by including this flag in the slackbuild code:
Code:
     -DPREFER_SYSTEM_INDILIB=NO \
thanks Giancarlo, pushed!

Quote:
Originally Posted by gian_d View Post
This is not essential, but several cmake warnings (but not all, for certain a patch and/or sed command are needed) can be suppressed with these flags:
Code:
    -DCMAKE_POLICY_DEFAULT_CMP0110=NEW \
    -DCMAKE_POLICY_DEFAULT_CMP0071=NEW \
    -DCMAKE_POLICY_DEFAULT_CMP0148=OLD \
Furthermore, I found that the parallel compilation may give build failures, I think this could be caused by the prebuild of external modules, some of them seem executed in second instance in the parallel build.
Settings make -j 10 and make -j 5 return errors, whereas the compilation with a single or two jobs ends successfully.
FWIW I built it fine using 24 make jobs here, but as this looks something that involves also building it on 15.0 should be better for you to speak about this directly with the maintainer, Alan (like us also a member of slacky.eu -414N)...
 
Old 01-14-2024, 01:25 PM   #5713
gian_d
Member
 
Registered: Nov 2019
Location: Cagliari, Sardinia (Italy)
Distribution: Slackware
Posts: 76

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
FWIW I built it fine using 24 make jobs here, but as this looks something that involves also building it on 15.0 should be better for you to speak about this directly with the maintainer, Alan (like us also a member of slacky.eu -414N)...
that's strange because in the machine I've installed the stable 15.0 I ran the slackbuild with a single job, whereas I tried these tests with 10/5/2/single jobs in the current (that is installed in a machine with a AMD ryzen 12-core). But this is not important.

About the cmake warnings I think that could be solved manually by users: some settings should be set by detecting the system installation in the slackbuild code but this requires extra code in the script. I usually put in my slackbuild extracode to detect if a stable or a current are installed but this is not required by SBo rules. If I remember correctly, only a policy is required by the cmake of 15.0, the other are needed by the cmake version of current, but I have to restart the build to be sure. Next time, this has little relevance :-)
 
Old 01-15-2024, 12:47 PM   #5714
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 901

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
Originally Posted by ponce View Post

regarding freeorion, I would try to temporary remove flake8 from your system (the error might be related to that and also, FWIW, it's not installed here) and try to build freeorion again.
I'm happy to report that after removing flake8 FreeOrion built without issues. Thanks for your suggestion!!
 
Old 01-15-2024, 01:36 PM   #5715
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 901

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
Originally Posted by ponce View Post

regarding lilypond try to reinstall glibc.
Did just that and lilypond built without problems. Thanks again for the suggestion!
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error building gst1-plugins-good 1.4.1 from SBO l0rddarkf0rce Slackware 4 10-06-2014 05:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 01:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration