LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-26-2021, 01:43 AM   #3616
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 6,168

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by hpfeil View Post
Graphics/mlbrot

Mlbrot configure can't find openGL. Was there a Slackware version of openGL for this 2014 package? With "--no-opengl" added to SlackBuild:

ml_mpz.c: In function ‘ml_mpz_of_string’:
ml_mpz.c:326:5: warning: implicit declaration of function ‘caml_invalid_argument’; did you mean ‘invalid_argument’? [-Wimplicit-function-declaration]
unless upstream takes care of it I'm unfortunately out of options here...
 
Old 03-27-2021, 01:13 AM   #3617
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 272
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
unless upstream takes care of it I'm unfortunately out of options here...
I nominate the package for the archives. Upstream faded away in 2014.
 
Old 03-27-2021, 02:49 AM   #3618
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 6,168

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hpfeil View Post
I nominate the package for the archives. Upstream faded away in 2014.
if you go on the author's homepage it he is actually active, at least until a few months ago, and his github account shows intense activity, with last commits just hours ago: if you are interested in the software you can try writing him and kindly asking for a patch...

https://github.com/roglo
http://pauillac.inria.fr/~ddr/

Last edited by ponce; 03-27-2021 at 02:52 AM.
 
Old 03-28-2021, 07:44 PM   #3619
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.2 (5.12.12) UEFI enabled
Posts: 671

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
dkms on current

After installing dkms from current when trying to start dkms I get the following:
Code:
error: rpmdb: __db_meta_setup: /var/lib/rpm/Name: unexpected file type or format
error: cannot open Name index using bdb - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: __db_meta_setup: /var/lib/rpm/Name: unexpected file type or format
error: cannot open Name index using bdb - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: __db_meta_setup: /var/lib/rpm/Name: unexpected file type or format
error: cannot open Name index using bdb - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: __db_meta_setup: /var/lib/rpm/Name: unexpected file type or format
error: cannot open Name index using bdb - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
Also in dmesg I get this line at the end of the above error
Code:
 Error! could not locate dkms.conf file
I ask because I have ordered a new System76. Can't build my own anymore as my hands shake too much. There are a number of modules required to install Slackware on System76 desktops so I am just trying to be prepared.
Although I could maybe manually install them each time the kernel is upgraded.
This is on a full install of Slackware64-current dated Sun Mar 28 18:58:24 UTC 2021
Thanks
john

Last edited by AlleyTrotter; 03-28-2021 at 07:48 PM. Reason: and version of current
 
Old 03-28-2021, 09:40 PM   #3620
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 733

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by AlleyTrotter View Post
After installing dkms from current when trying to start dkms I get the following:
...
...
john
Did you use the dkms from SBo? It should just work. I ask because all your reported errors when looking in /var/lib/rpm don't make sense for a Slackware specific build.

What dkms command are you actually running that produces those errors?

chris

Last edited by chris.willing; 03-28-2021 at 10:04 PM.
 
Old 03-29-2021, 12:03 AM   #3621
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint,Manjaro...
Posts: 873

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
While trying to build gnucash with SBo -current, webkit2gtk doesn't build:
-------------------------------------------------------------------------
-- Found glesv2, version 3.2
-- Found OpenGLES2: /usr/include
-- Could NOT find WPE (missing: WPE_LIBRARY WPE_INCLUDE_DIR) (Required is at least version "1.3.0")
CMake Error at Source/cmake/OptionsGTK.cmake:238 (message):
libwpe is required for USE_WPE_RENDERER
Call Stack (most recent call first):
Source/cmake/WebKitCommon.cmake:58 (include)
CMakeLists.txt:173 (include)


-- Configuring incomplete, errors occurred!
See also "/tmp/SBo/webkitgtk-2.30.5/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/SBo/webkitgtk-2.30.5/build/CMakeFiles/CMakeError.log".
----------------------------------------------------------------------
 
Old 03-29-2021, 12:26 AM   #3622
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 6,168

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by nobodino View Post
While trying to build gnucash with SBo -current, webkit2gtk doesn't build:
-------------------------------------------------------------------------
-- Found glesv2, version 3.2
-- Found OpenGLES2: /usr/include
-- Could NOT find WPE (missing: WPE_LIBRARY WPE_INCLUDE_DIR) (Required is at least version "1.3.0")
CMake Error at Source/cmake/OptionsGTK.cmake:238 (message):
libwpe is required for USE_WPE_RENDERER
Call Stack (most recent call first):
Source/cmake/WebKitCommon.cmake:58 (include)
CMakeLists.txt:173 (include)


-- Configuring incomplete, errors occurred!
See also "/tmp/SBo/webkitgtk-2.30.5/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/SBo/webkitgtk-2.30.5/build/CMakeFiles/CMakeError.log".
----------------------------------------------------------------------
have you installed all the new dependencies of webkit2gtk listed in webkit2gtk.info?
the new version depends on wpebackend-fdo, that in turns depends on libwpe...
 
Old 03-29-2021, 07:21 AM   #3623
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.2 (5.12.12) UEFI enabled
Posts: 671

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Quote:
Originally Posted by chris.willing View Post
Did you use the dkms from SBo? It should just work. I ask because all your reported errors when looking in /var/lib/rpm don't make sense for a Slackware specific build.

What dkms command are you actually running that produces those errors?

chris
No I built from Ponce's slackbuilds
I get the error during boot and also when I do:
/etc/rc.d/rc.dkms start
Maybe I should start with a clean VM as this one has been updated for at least a month as current has been updated.
Or do you have something else I can try?
Thanks
john
 
Old 03-29-2021, 07:41 AM   #3624
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 6,168

Original Poster
Rep: Reputation: Disabled
I installed both system76-io-dkms (are you speaking about that?) and its dependency dkms here to test but I don't have any /etc/rc.d/rc.dkms.

when I manually run /usr/lib/dkms/dkms_autoinstaller start I have:
Code:
# /usr/lib/dkms/dkms_autoinstaller start
dkms: running auto installation service for kernel 5.10.26

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j16 KERNELRELEASE=5.10.26 -C /lib/modules/5.10.26/build M=/var/lib/dkms/system76-io/1.0.1/build...
cleaning build area...

DKMS: build completed.

system76-io.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.10.26/updates/dkms/

depmod...

DKMS: install completed.
 Done.
and this produces here a /lib/modules/5.10.26/updates/dkms/system76-io.ko file
 
Old 03-29-2021, 07:59 AM   #3625
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.2 (5.12.12) UEFI enabled
Posts: 671

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Quote:
Originally Posted by ponce View Post
I installed both system76-io-dkms (are you speaking about that?) and its dependency dkms here to test but I don't have any /etc/rc.d/rc.dkms.

when I manually run /usr/lib/dkms/dkms_autoinstaller start I have:
Code:
# /usr/lib/dkms/dkms_autoinstaller start
dkms: running auto installation service for kernel 5.10.26

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j16 KERNELRELEASE=5.10.26 -C /lib/modules/5.10.26/build M=/var/lib/dkms/system76-io/1.0.1/build...
cleaning build area...

DKMS: build completed.

system76-io.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.10.26/updates/dkms/

depmod...

DKMS: install completed.
 Done.
and this produces here a /lib/modules/5.10.26/updates/dkms/system76-io.ko file
Thank Ponce & Chris
Today I will start with a new install of a Qemu virtual machine for Slackware64-current.
Then start a copy-on-write (work in progress vm) so I can back out if necessary.
Then build dkms followed by system76-io-dkms followed by system76-power.
That's where I was trying to go yesterday
Seems that over the updates of current I possibly borked something
Thanks Again
Sorry for the noise
John
[edit]
started with a fresh VM and everything worked as expected
Again sorry for the noise
[/edit]

Last edited by AlleyTrotter; 03-29-2021 at 10:08 AM.
 
Old 03-29-2021, 11:38 AM   #3626
mralk3
Senior Member
 
Registered: May 2015
Distribution: Slackware on ARM and Aarch64
Posts: 1,573

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
ossec -3.6 Slackware64-current, failure

ossec-local, ossec-server, ossec-agent, version 3.6. All fail to build.

Code:
cc -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/  client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/intcheck_op.o client-agent/main.o client-agent/notify.o client-agent/receiver-win.o client-agent/receiver.o client-agent/sendmsg.o client-agent/start_agent.o os_dns/os_dns.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a  -lm -lpthread -lpcre2-8 -lssl -lcrypto -lz  -levent ./external/compat/imsg.c ./external/compat/imsg-buffer.c -o ossec-agentd
/usr/bin/ld: client-agent/config.o:(.bss+0x0): multiple definition of `server_ibuf'; client-agent/agentd.o:(.bss+0x0): first defined here
/usr/bin/ld: client-agent/event-forward.o:(.bss+0x0): multiple definition of `server_ibuf'; client-agent/agentd.o:(.bss+0x0): first defined here
/usr/bin/ld: client-agent/intcheck_op.o:(.bss+0x0): multiple definition of `server_ibuf'; client-agent/agentd.o:(.bss+0x0): first defined here
/usr/bin/ld: client-agent/main.o:(.bss+0x0): multiple definition of `server_ibuf'; client-agent/agentd.o:(.bss+0x0): first defined here
/usr/bin/ld: client-agent/notify.o:(.bss+0x0): multiple definition of `server_ibuf'; client-agent/agentd.o:(.bss+0x0): first defined here
/usr/bin/ld: client-agent/receiver.o:(.bss+0x0): multiple definition of `server_ibuf'; client-agent/agentd.o:(.bss+0x0): first defined here
/usr/bin/ld: client-agent/sendmsg.o:(.bss+0x0): multiple definition of `server_ibuf'; client-agent/agentd.o:(.bss+0x0): first defined here
/usr/bin/ld: client-agent/start_agent.o:(.bss+0x0): multiple definition of `server_ibuf'; client-agent/agentd.o:(.bss+0x0): first defined here
/usr/bin/ld: os_net.a(os_net.o):(.bss+0x0): multiple definition of `agt'; client-agent/config.o:(.bss+0x10088): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:1017: ossec-agentd] Error 1
[root@mothership ossec-local]#

The patch that fixes the build for all three is found here:
https://github.com/gentoo/gentoo/blo...on-3.6.0.patch
 
Old 03-29-2021, 11:41 AM   #3627
cdek
Member
 
Registered: Jul 2016
Posts: 47

Rep: Reputation: Disabled
My kids want to play minetest and supertuxkart, but I can't get it compiled on current.

Both packages depend on OpenAL, which is no longer in the Slackbuilds repository. I assume this package is replace by openal-soft?

Nevertheless, ignoring the dependency results in compile errors for both packages.

For supertuxkart:

Code:
SuperTuxKart-1.2-src/doc/pipeline_overview.txt
SuperTuxKart-1.2-src/doc/implementation.txt
SuperTuxKart-1.2-src/doc/supertuxkart.6
SuperTuxKart-1.2-src/doc/protocols.xls
SuperTuxKart-1.2-src/doc/graphics_views.txt
SuperTuxKart-1.2-src/doc/physics_order
SuperTuxKart-1.2-src/doc/graphics_xml.txt
SuperTuxKart-1.2-src/doc/assets_version
patching file src/graphics/gl_headers.hpp
Hunk #1 FAILED at 25.
1 out of 1 hunk FAILED -- saving rejects to file src/graphics/gl_headers.hpp.rej
Failures:
  supertuxkart: supertuxkart.SlackBuild return non-zero
For minetest it's irrlicht that gives a compile error:

Code:
glib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o CIrrDeviceLinux.o CIrrDeviceLinux.cpp
g++ -O2 -fPIC -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing -fexpensive-optimizations -O3 -fPIC -I../../include -Izlib -Ijpeglib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o CIrrDeviceConsole.o CIrrDeviceConsole.cpp
g++ -O2 -fPIC -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing -fexpensive-optimizations -O3 -fPIC -I../../include -Izlib -Ijpeglib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o CIrrDeviceStub.o CIrrDeviceStub.cpp
g++ -O2 -fPIC -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing -fexpensive-optimizations -O3 -fPIC -I../../include -Izlib -Ijpeglib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o CIrrDeviceWin32.o CIrrDeviceWin32.cpp
g++ -O2 -fPIC -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing -fexpensive-optimizations -O3 -fPIC -I../../include -Izlib -Ijpeglib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o CIrrDeviceFB.o CIrrDeviceFB.cpp
g++ -O2 -fPIC -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing -fexpensive-optimizations -O3 -fPIC -I../../include -Izlib -Ijpeglib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o CLogger.o CLogger.cpp
g++ -O2 -fPIC -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing -fexpensive-optimizations -O3 -fPIC -I../../include -Izlib -Ijpeglib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o COSOperator.o COSOperator.cpp
COSOperator.cpp:16:10: fatal error: sys/sysctl.h: No such file or directory
   16 | #include <sys/sysctl.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: COSOperator.o] Error 1
make: Leaving directory '/tmp/SBo/irrlicht-1.8.4/source/Irrlicht'
Failure encountered while building irrlicht:
  irrlicht.SlackBuild return non-zero
 
Old 03-29-2021, 12:32 PM   #3628
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 6,168

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cdek View Post
My kids want to play minetest and supertuxkart, but I can't get it compiled on current.

Both packages depend on OpenAL, which is no longer in the Slackbuilds repository. I assume this package is replace by openal-soft?
you can see at this page what has been removed and why

http://cgit.ponce.cc/slackbuilds/refs/heads

there, the clicking on the OpenAL branch reveals the following commit message

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

Quote:
Nevertheless, ignoring the dependency results in compile errors for both packages.

For supertuxkart:

Code:
SuperTuxKart-1.2-src/doc/pipeline_overview.txt
SuperTuxKart-1.2-src/doc/implementation.txt
SuperTuxKart-1.2-src/doc/supertuxkart.6
SuperTuxKart-1.2-src/doc/protocols.xls
SuperTuxKart-1.2-src/doc/graphics_views.txt
SuperTuxKart-1.2-src/doc/physics_order
SuperTuxKart-1.2-src/doc/graphics_xml.txt
SuperTuxKart-1.2-src/doc/assets_version
patching file src/graphics/gl_headers.hpp
Hunk #1 FAILED at 25.
1 out of 1 hunk FAILED -- saving rejects to file src/graphics/gl_headers.hpp.rej
Failures:
  supertuxkart: supertuxkart.SlackBuild return non-zero
this actually happens because a patch for the newer mesa was needed with the old supertuxkart version, 1.1, and it's fixed with the new one on SBo so the block where it applies is not needed anymore.
it will need a new patch in the build directory for the newer SDL2, then modify the supertuxkart.SlackBuild like follows:
Code:
--- ./supertuxkart.SlackBuild.orig      2021-03-28 16:44:45.965902000 +0200
+++ ./supertuxkart.SlackBuild   2021-03-29 19:34:41.084100000 +0200
@@ -81,8 +81,8 @@
  \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
   -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
 
-# From upstream
-patch -p1 < $CWD/mesa-18.3.patch
+# Thanks debian!
+patch -p1 < $CWD/ftbfs_sdl.patch
 
 mkdir -p build
 cd build
Quote:
For minetest it's irrlicht that gives a compile error:

Code:
glib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o CIrrDeviceLinux.o CIrrDeviceLinux.cpp
g++ -O2 -fPIC -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing -fexpensive-optimizations -O3 -fPIC -I../../include -Izlib -Ijpeglib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o CIrrDeviceConsole.o CIrrDeviceConsole.cpp
g++ -O2 -fPIC -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing -fexpensive-optimizations -O3 -fPIC -I../../include -Izlib -Ijpeglib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o CIrrDeviceStub.o CIrrDeviceStub.cpp
g++ -O2 -fPIC -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing -fexpensive-optimizations -O3 -fPIC -I../../include -Izlib -Ijpeglib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o CIrrDeviceWin32.o CIrrDeviceWin32.cpp
g++ -O2 -fPIC -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing -fexpensive-optimizations -O3 -fPIC -I../../include -Izlib -Ijpeglib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o CIrrDeviceFB.o CIrrDeviceFB.cpp
g++ -O2 -fPIC -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing -fexpensive-optimizations -O3 -fPIC -I../../include -Izlib -Ijpeglib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o CLogger.o CLogger.cpp
g++ -O2 -fPIC -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing -fexpensive-optimizations -O3 -fPIC -I../../include -Izlib -Ijpeglib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o COSOperator.o COSOperator.cpp
COSOperator.cpp:16:10: fatal error: sys/sysctl.h: No such file or directory
   16 | #include <sys/sysctl.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: COSOperator.o] Error 1
make: Leaving directory '/tmp/SBo/irrlicht-1.8.4/source/Irrlicht'
Failure encountered while building irrlicht:
  irrlicht.SlackBuild return non-zero
for irrlich modify the SlackBuild like this
Code:
--- ./irrlicht.SlackBuild.orig    2021-03-28 16:44:46.058902000 +0200
+++ ./irrlicht.SlackBuild 2021-03-29 19:30:47.934100000 +0200
@@ -72,6 +72,9 @@
  \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
   -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
 
+# https://github.com/analogdevicesinc/buildroot/blob/master/package/irrlicht/0002-remove-sys-sysctl.h.patch
+sed -i '/sysctl\.h/d' source/Irrlicht/COSOperator.cpp
+
 # Set maximum number of textures.
 sed -i '/_IRR_MATERIAL_MAX_TEXTURES_/s|4|8|' include/IrrCompileConfig.h
thanks for the reports!

Last edited by ponce; 03-29-2021 at 12:44 PM.
 
Old 03-29-2021, 01:52 PM   #3629
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint,Manjaro...
Posts: 873

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
Thanks Ponce, I finally built gnucash with your piece of advice.

the complete list to build gnucash is:
bubblewrap
enchant2
geoclue2
gst-plugins-bad
libseccomp
libwpe
wpebackend-fdo
xdg-dbus-proxy
libmanette

Last edited by nobodino; 03-30-2021 at 12:53 AM.
 
Old 03-29-2021, 02:10 PM   #3630
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 6,168

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mralk3 View Post
ossec-local, ossec-server, ossec-agent, version 3.6. All fail to build.

Code:
cc -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DLOCAL -Wall -Wextra -I./ -I./headers/  client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/intcheck_op.o client-agent/main.o client-agent/notify.o client-agent/receiver-win.o client-agent/receiver.o client-agent/sendmsg.o client-agent/start_agent.o os_dns/os_dns.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a  -lm -lpthread -lpcre2-8 -lssl -lcrypto -lz  -levent ./external/compat/imsg.c ./external/compat/imsg-buffer.c -o ossec-agentd
/usr/bin/ld: client-agent/config.o:(.bss+0x0): multiple definition of `server_ibuf'; client-agent/agentd.o:(.bss+0x0): first defined here
/usr/bin/ld: client-agent/event-forward.o:(.bss+0x0): multiple definition of `server_ibuf'; client-agent/agentd.o:(.bss+0x0): first defined here
/usr/bin/ld: client-agent/intcheck_op.o:(.bss+0x0): multiple definition of `server_ibuf'; client-agent/agentd.o:(.bss+0x0): first defined here
/usr/bin/ld: client-agent/main.o:(.bss+0x0): multiple definition of `server_ibuf'; client-agent/agentd.o:(.bss+0x0): first defined here
/usr/bin/ld: client-agent/notify.o:(.bss+0x0): multiple definition of `server_ibuf'; client-agent/agentd.o:(.bss+0x0): first defined here
/usr/bin/ld: client-agent/receiver.o:(.bss+0x0): multiple definition of `server_ibuf'; client-agent/agentd.o:(.bss+0x0): first defined here
/usr/bin/ld: client-agent/sendmsg.o:(.bss+0x0): multiple definition of `server_ibuf'; client-agent/agentd.o:(.bss+0x0): first defined here
/usr/bin/ld: client-agent/start_agent.o:(.bss+0x0): multiple definition of `server_ibuf'; client-agent/agentd.o:(.bss+0x0): first defined here
/usr/bin/ld: os_net.a(os_net.o):(.bss+0x0): multiple definition of `agt'; client-agent/config.o:(.bss+0x10088): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:1017: ossec-agentd] Error 1
[root@mothership ossec-local]#

The patch that fixes the build for all three is found here:
https://github.com/gentoo/gentoo/blo...on-3.6.0.patch
thanks, pushed in three dedicated branches!

http://cgit.ponce.cc/slackbuilds/commit/?h=ossec-agent
http://cgit.ponce.cc/slackbuilds/commit/?h=ossec-local
http://cgit.ponce.cc/slackbuilds/commit/?h=ossec-server

Last edited by ponce; 03-29-2021 at 02:12 PM.
 
1 members found this post helpful.
  


Reply

Tags
current, sbo, sbopkg, slackrepo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:20 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