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-31-2024, 02:56 PM   #5746
gian_d
Member
 
Registered: Nov 2019
Location: Cagliari, Sardinia (Italy)
Distribution: Slackware
Posts: 76

Rep: Reputation: Disabled

Quote:
Originally Posted by Daedra View Post
The script also works for Virtualbox-7.0.14. I should of labeled it 7.0.x.
Surely both versions have not relevant differences. For my purposes 7.0.12 is enough, I need virtualbox only to test my slackbuilds in a 32-bit system. Since it works, I have reinstalled zulu-openjdk17 yet, so I'll rebuild virtualbox or a new version only when a new issue will happen
 
Old 02-01-2024, 02:41 AM   #5747
gian_d
Member
 
Registered: Nov 2019
Location: Cagliari, Sardinia (Italy)
Distribution: Slackware
Posts: 76

Rep: Reputation: Disabled
Quote:
Originally Posted by gian_d View Post
It fails also with ffmpeg disabled :-\
I tried also replacing multilib with pure 64bit gcc and glibc and removing the new package nv-codec-headers, but the error remains still
 
Old 02-01-2024, 05:25 AM   #5748
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,118

Original Poster
Rep: Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192
Quote:
Originally Posted by gian_d View Post
I'm trying to recompile Blender 3.3.10 because it does not run more after the upgrade to ffmpeg 6.1.1, but the build fails near the end of the process. I don't know if this depends on the new ffmpeg, it seems no having relations.

This is the output of the error (parallel build with 10 jobs, but the same error occurs with a single job):
Code:
[ 87%] Building CXX object source/blender/nodes/geometry/CMakeFiles/bf_nodes_geometry.dir/Unity/unity_8_cxx.cxx.o
make[2]: ***  Nessuna regola per generare l'obiettivo «source/blender/compositor/CMakeFiles/bf_compositor.dir/cmake_pch.hxx.gch», necessario per «source/blender/compositor/CMakeFiles/bf_compositor.dir/Unity/unity_24_cxx.cxx.o».  Arresto.
make[1]: *** [CMakeFiles/Makefile2:6816: source/blender/compositor/CMakeFiles/bf_compositor.dir/all] Error 2
make[1]: *** Attesa per i processi non terminati....
English output should be like this:
Code:
[ 87%] Building CXX object source/blender/nodes/geometry/CMakeFiles/bf_nodes_geometry.dir/Unity/unity_8_cxx.cxx.o
make[2]: ***  No rules to make target «source/blender/compositor/CMakeFiles/bf_compositor.dir/cmake_pch.hxx.gch», needed by «source/blender/compositor/CMakeFiles/bf_compositor.dir/Unity/unity_24_cxx.cxx.o».  Stop.
make[1]: *** [CMakeFiles/Makefile2:6816: source/blender/compositor/CMakeFiles/bf_compositor.dir/all] Error 2
make[1]: *** Waiting for bla bla bla....
I don't know what log file is needed from the build process to give further information. Last lines of /tmp/SBo/Blender-3.3.10/build/source/blender/compositor/Makefile return this, but I'm not able to understand:
Code:
Unity/unity_9_cxx.o: Unity/unity_9_cxx.cxx.o
.PHONY : Unity/unity_9_cxx.o

# target to build an object file
Unity/unity_9_cxx.cxx.o:
	cd /tmp/SBo/blender-3.3.10/build && $(MAKE) $(MAKESILENT) -f source/blender/compositor/CMakeFiles/bf_compositor.dir/build.make source/blender/compositor/CMakeFiles/bf_compositor.dir/Unity/unity_9_cxx.cxx.o
.PHONY : Unity/unity_9_cxx.cxx.o

Unity/unity_9_cxx.i: Unity/unity_9_cxx.cxx.i
.PHONY : Unity/unity_9_cxx.i

# target to preprocess a source file
Unity/unity_9_cxx.cxx.i:
	cd /tmp/SBo/blender-3.3.10/build && $(MAKE) $(MAKESILENT) -f source/blender/compositor/CMakeFiles/bf_compositor.dir/build.make source/blender/compositor/CMakeFiles/bf_compositor.dir/Unity/unity_9_cxx.cxx.i
.PHONY : Unity/unity_9_cxx.cxx.i

Unity/unity_9_cxx.s: Unity/unity_9_cxx.cxx.s
.PHONY : Unity/unity_9_cxx.s

# target to generate assembly for a file
Unity/unity_9_cxx.cxx.s:
	cd /tmp/SBo/blender-3.3.10/build && $(MAKE) $(MAKESILENT) -f source/blender/compositor/CMakeFiles/bf_compositor.dir/build.make source/blender/compositor/CMakeFiles/bf_compositor.dir/Unity/unity_9_cxx.cxx.s
.PHONY : Unity/unity_9_cxx.cxx.s

# Help Target
help:
	@echo "The following are some of the valid targets for this Makefile:"
	@echo "... all (the default if no target is provided)"
	@echo "... clean"
	@echo "... depend"
	@echo "... edit_cache"
	@echo "... install"
	@echo "... install/local"
	@echo "... install/strip"
	@echo "... list_install_components"
	@echo "... package"
	@echo "... package_source"
	@echo "... rebuild_cache"
	@echo "... test"
	@echo "... smaa_areatex_header"
	@echo "... bf_compositor"
	@echo "... Unity/unity_0_cxx.o"
	@echo "... Unity/unity_0_cxx.i"
	@echo "... Unity/unity_0_cxx.s"
	@echo "... Unity/unity_10_cxx.o"
	@echo "... Unity/unity_10_cxx.i"
	@echo "... Unity/unity_10_cxx.s"
	@echo "... Unity/unity_11_cxx.o"
	@echo "... Unity/unity_11_cxx.i"
	@echo "... Unity/unity_11_cxx.s"
	@echo "... Unity/unity_12_cxx.o"
	@echo "... Unity/unity_12_cxx.i"
	@echo "... Unity/unity_12_cxx.s"
	@echo "... Unity/unity_13_cxx.o"
	@echo "... Unity/unity_13_cxx.i"
	@echo "... Unity/unity_13_cxx.s"
	@echo "... Unity/unity_14_cxx.o"
	@echo "... Unity/unity_14_cxx.i"
	@echo "... Unity/unity_14_cxx.s"
	@echo "... Unity/unity_15_cxx.o"
	@echo "... Unity/unity_15_cxx.i"
	@echo "... Unity/unity_15_cxx.s"
	@echo "... Unity/unity_16_cxx.o"
	@echo "... Unity/unity_16_cxx.i"
	@echo "... Unity/unity_16_cxx.s"
	@echo "... Unity/unity_17_cxx.o"
	@echo "... Unity/unity_17_cxx.i"
	@echo "... Unity/unity_17_cxx.s"
	@echo "... Unity/unity_18_cxx.o"
	@echo "... Unity/unity_18_cxx.i"
	@echo "... Unity/unity_18_cxx.s"
	@echo "... Unity/unity_19_cxx.o"
	@echo "... Unity/unity_19_cxx.i"
	@echo "... Unity/unity_19_cxx.s"
	@echo "... Unity/unity_1_cxx.o"
	@echo "... Unity/unity_1_cxx.i"
	@echo "... Unity/unity_1_cxx.s"
	@echo "... Unity/unity_20_cxx.o"
	@echo "... Unity/unity_20_cxx.i"
	@echo "... Unity/unity_20_cxx.s"
	@echo "... Unity/unity_21_cxx.o"
	@echo "... Unity/unity_21_cxx.i"
	@echo "... Unity/unity_21_cxx.s"
	@echo "... Unity/unity_22_cxx.o"
	@echo "... Unity/unity_22_cxx.i"
	@echo "... Unity/unity_22_cxx.s"
	@echo "... Unity/unity_23_cxx.o"
	@echo "... Unity/unity_23_cxx.i"
	@echo "... Unity/unity_23_cxx.s"
	@echo "... Unity/unity_24_cxx.o"
	@echo "... Unity/unity_24_cxx.i"
	@echo "... Unity/unity_24_cxx.s"
	@echo "... Unity/unity_2_cxx.o"
	@echo "... Unity/unity_2_cxx.i"
	@echo "... Unity/unity_2_cxx.s"
	@echo "... Unity/unity_3_cxx.o"
	@echo "... Unity/unity_3_cxx.i"
	@echo "... Unity/unity_3_cxx.s"
	@echo "... Unity/unity_4_cxx.o"
	@echo "... Unity/unity_4_cxx.i"
	@echo "... Unity/unity_4_cxx.s"
	@echo "... Unity/unity_5_cxx.o"
	@echo "... Unity/unity_5_cxx.i"
	@echo "... Unity/unity_5_cxx.s"
	@echo "... Unity/unity_6_cxx.o"
	@echo "... Unity/unity_6_cxx.i"
	@echo "... Unity/unity_6_cxx.s"
	@echo "... Unity/unity_7_cxx.o"
	@echo "... Unity/unity_7_cxx.i"
	@echo "... Unity/unity_7_cxx.s"
	@echo "... Unity/unity_8_cxx.o"
	@echo "... Unity/unity_8_cxx.i"
	@echo "... Unity/unity_8_cxx.s"
	@echo "... Unity/unity_9_cxx.o"
	@echo "... Unity/unity_9_cxx.i"
	@echo "... Unity/unity_9_cxx.s"
.PHONY : help



#=============================================================================
# Special targets to cleanup operation of make.

# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
	cd /tmp/SBo/blender-3.3.10/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

Does this happen to others too or is it my problem? Some days ago I have installed the AlienBOB's multilib

I'll try to recompile Blender disabling the support to ffmpeg, but IMHO the cause could be another context
Hi Giancarlo,

it's the new cmake-3.28.2 in current that is not compatible with the unity build system used by blender but luckily it's possible to disable it

https://cgit.ponce.cc/slackbuilds/commit/?h=Blender

just sync the repository for current and you should be able to build it (here it went fine with the patch): I'm not sure it will be fixed in future versions of cmake, just report if it breaks again.
 
Old 02-01-2024, 05:27 AM   #5749
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,118

Original Poster
Rep: Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192
Quote:
Originally Posted by USUARIONUEVO View Post
Hi

avidemux not build

error say nvenc requested but not present.


I have installed the nv-codec-headers from slackware , version 12

If remove and install nv-codec-headers verion 11 from slackbuilds ...then no errors

Archlinux have avidemux build with v12 i compare 11 and 12 and not see differences ,,, im not sure if the problem is from slackware package.

it seems they have fixed it in their git but patches don't apply cleanly so I updated it to a git snapshot

https://cgit.ponce.cc/slackbuilds/commit/?h=avidemux

just sync the repository for current and you should be able to build it.
 
2 members found this post helpful.
Old 02-01-2024, 07:27 AM   #5750
gian_d
Member
 
Registered: Nov 2019
Location: Cagliari, Sardinia (Italy)
Distribution: Slackware
Posts: 76

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
Hi Giancarlo,

it's the new cmake-3.28.2 in current that is not compatible with the unity build system used by blender but luckily it's possible to disable it

https://cgit.ponce.cc/slackbuilds/commit/?h=Blender

just sync the repository for current and you should be able to build it (here it went fine with the patch): I'm not sure it will be fixed in future versions of cmake, just report if it breaks again.
Thanks, Ponce
I was starting to think that it depended on some slackbuild packages recently installed on my system. New versions of cmake give often a lot of issues for software outdated or too fast updated

Last edited by gian_d; 02-01-2024 at 07:28 AM. Reason: fix typo
 
Old 02-01-2024, 08:25 AM   #5751
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,344

Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
Quote:
Originally Posted by ponce View Post
it seems they have fixed it in their git but patches don't apply cleanly so I updated it to a git snapshot

https://cgit.ponce.cc/slackbuilds/commit/?h=avidemux

just sync the repository for current and you should be able to build it.
Thanks!
 
Old 02-01-2024, 10:10 AM   #5752
gian_d
Member
 
Registered: Nov 2019
Location: Cagliari, Sardinia (Italy)
Distribution: Slackware
Posts: 76

Rep: Reputation: Disabled
Quote:
Originally Posted by gian_d View Post
Thanks, Ponce
I was starting to think that it depended on some slackbuild packages recently installed on my system. New versions of cmake give often a lot of issues for software outdated or too fast updated
Solved, it works
 
Old 02-01-2024, 10:12 AM   #5753
J_W
Member
 
Registered: Apr 2004
Location: Yamagata, JAPAN
Distribution: Slackware64-current
Posts: 190

Rep: Reputation: 127Reputation: 127
Code:
it seems they have fixed it in their git but patches don't apply cleanly so I updated it to a git snapshot

https://cgit.ponce.cc/slackbuilds/commit/?h=avidemux

just sync the repository for current and you should be able to build it.
Thanks ponce.

I could successfully compile the avidemux package against ffmpeg-6.x using your source.
Attached Thumbnails
Click image for larger version

Name:	avidemux-2.8.2.2fd1354.png
Views:	32
Size:	86.6 KB
ID:	42505  
 
Old 02-04-2024, 01:29 PM   #5754
gian_d
Member
 
Registered: Nov 2019
Location: Cagliari, Sardinia (Italy)
Distribution: Slackware
Posts: 76

Rep: Reputation: Disabled
nvidia-legacy470-kernel fails against kernel 6.6.15

This is only a report because it seems that this issue affects only some releases of the kernel (an old release of 5..

After the upgrade to kernel 6.6.15 (released in current some days ago), the slackbuild was not able to build the modules due this error:
Code:
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_lock'
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_unlock'
The matter has been treated in this thread: https://forums.developer.nvidia.com/...lock/280908/18 but it's not clear for me, so a the moment I've downgraded to kernel 6.6.14 waiting for next release.

There is a patch but I don't understand if this is applied to nvidia sources or the kernel sources (headers? source?). I don't like the idea of patching the kernel, I hope that this will be only an occasional issue with this or some future releases (6.7.3? 6.8.x?)
 
Old 02-04-2024, 07:06 PM   #5755
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,680

Rep: Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796
you apply the patch to the NVidia sources after being extracted using --extract-only parameter
 
Old 02-05-2024, 12:19 AM   #5756
gian_d
Member
 
Registered: Nov 2019
Location: Cagliari, Sardinia (Italy)
Distribution: Slackware
Posts: 76

Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
you apply the patch to the NVidia sources after being extracted using --extract-only parameter
thanks, Willy, I'll do it with next release if the issue remains
 
Old 02-05-2024, 07:23 PM   #5757
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
I tried to recompile PyQtWebEngine but it stalls on:

Code:
PyQtWebEngine-5.15.3/sip/QtWebEngineCore/qwebengineurlschemehandler.sip
pyproject.toml: line 7: using '[tool.sip.metadata]' to specify the project metadata is deprecated and will be removed in SIP v7.0.0, use '[project]' instead
sip-build: pyproject.toml: 'tool.sip.project.qmake': specify a working qmake or add it to PATH
using the SBo-master version leads to:

Code:
PyQtWebEngine-5.15.3/sip/QtWebEngineCore/qwebengineurlschemehandler.sip
Usage: python configure.py [options]

configure.py: error: '/usr/bin/sip3' is not an executable
Any ideas ?
 
Old 02-05-2024, 08:34 PM   #5758
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,700

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Quote:
Originally Posted by brobr View Post
I tried to recompile PyQtWebEngine but it stalls on:

Code:
PyQtWebEngine-5.15.3/sip/QtWebEngineCore/qwebengineurlschemehandler.sip
pyproject.toml: line 7: using '[tool.sip.metadata]' to specify the project metadata is deprecated and will be removed in SIP v7.0.0, use '[project]' instead
sip-build: pyproject.toml: 'tool.sip.project.qmake': specify a working qmake or add it to PATH
using the SBo-master version leads to:

Code:
PyQtWebEngine-5.15.3/sip/QtWebEngineCore/qwebengineurlschemehandler.sip
Usage: python configure.py [options]

configure.py: error: '/usr/bin/sip3' is not an executable
Any ideas ?
See this post, you have to edit the Slackbuild
https://www.linuxquestions.org/quest...ml#post6479166
 
Old 02-06-2024, 04:16 AM   #5759
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
Thanks, but the update in the script in current is not covering it all; it led to the pyproject.toml error I cannot get beyond. Adding

Code:
sed -i s/\[tool.sip.metadata\]/\[project\]/g ./pyproject.toml
was obviously not correct/sufficient, it throws the next error:

Code:
PyQtWebEngine-5.15.3/sip/QtWebEngineCore/qwebengineurlschemehandler.sip
sip-build: pyproject.toml: 'project.summary': is an invalid project key
I'm not very familiar with sip or toml files.

Last edited by brobr; 02-06-2024 at 04:18 AM.
 
Old 02-06-2024, 04:44 AM   #5760
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,118

Original Poster
Rep: Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192
Quote:
Originally Posted by brobr View Post
I tried to recompile PyQtWebEngine but it stalls on:

Code:
PyQtWebEngine-5.15.3/sip/QtWebEngineCore/qwebengineurlschemehandler.sip
pyproject.toml: line 7: using '[tool.sip.metadata]' to specify the project metadata is deprecated and will be removed in SIP v7.0.0, use '[project]' instead
sip-build: pyproject.toml: 'tool.sip.project.qmake': specify a working qmake or add it to PATH
hi Rob,

I just tried to build it too but it doesn't stalls here, it just takes a bit, but in the end the build goes fine

https://pastebin.com/raw/A4hatfD6
 
  


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 12:57 AM.

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