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 04-21-2024, 02:44 PM   #5911
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 321

Rep: Reputation: 215Reputation: 215Reputation: 215

Quote:
Originally Posted by garpu View Post
I also noticed this with librist:

Code:
FAILED: librist.so.4.3.1.p/src_crypto_srp.c.o 
ccache cc -Ilibrist.so.4.3.1.p -I. -I.. -I../src -Iinclude/librist -I../include/librist -Iinclude -I../include -Icontrib -I../contrib -I../contrib/contrib_cJSON -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c99 -O3 -D_GNU_SOURCE -DLINUX_CRYPTO -Wshadow -pedantic-errors -Wundef -Werror=vla -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -Wunused-parameter -Wmaybe-uninitialized -Wno-error=deprecated-declarations -fvisibility=hidden -fPIC -DCJSON_HIDE_SYMBOLS -pthread -MD -MQ librist.so.4.3.1.p/src_crypto_srp.c.o -MF librist.so.4.3.1.p/src_crypto_srp.c.o.d -o librist.so.4.3.1.p/src_crypto_srp.c.o -c ../src/crypto/srp.c
../src/crypto/srp.c: In function ‘librist_crypto_srp_authenticator_handle_A’:
../src/crypto/srp.c:70:39: error: implicit declaration of function ‘mbedtls_mpi_random’; did you mean ‘mbedtls_mpi_gcd’? [-Wimplicit-function-declaration]
   70 | #define BIGNUM_RANDOM(num, max) ret = mbedtls_mpi_random(num, 0, max, _librist_srp_mbedtls_wrap_random, NULL);
      |                                       ^~~~~~~~~~~~~~~~~~
../src/crypto/srp.c:503:9: note: in expansion of macro ‘BIGNUM_RANDOM’
  503 |         BIGNUM_RANDOM(&ctx->b, &ctx->N);
      |         ^~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
Built fine here. Did you build its deps, cJSON and cmocka?

from your log:
Code:
Run-time dependency libcjson found: NO (tried pkgconfig and cmake)
Has header "cjson/cJSON.h" : NO 
Message: Using builtin cJSON library
Message: Building mbedtls
Run-time dependency mbedcrypto found: NO (tried pkgconfig and cmake)
Has header "mbedtls/aes.h" : YES 
Library mbedcrypto found: YES
Checking if "MbedTLS has mbedtls_mpi_random()" with dependency -lmbedcrypto compiles: YES 
Configuring version.h using configuration
Configuring librist_config.h using configuration
Program objcopy found: YES (/usr/bin/objcopy)
Configuring config.h using configuration
../meson.build:304: WARNING: Project targets '>= 0.51.0' but uses feature introduced in '0.57.0': prelink arg in library.
Message: Building tools
Library cmocka found: NO
Build targets in project: 8
from mine:
Code:
Run-time dependency libcjson found: YES 1.7.15
Message: Building mbedtls
Run-time dependency mbedcrypto found: NO (tried pkgconfig and cmake)
Has header "mbedtls/aes.h" : NO 
Message: Using builtin mbedtls code
Configuring version.h using configuration
Configuring librist_config.h using configuration
Program objcopy found: YES (/usr/bin/objcopy)
Configuring config.h using configuration
../meson.build:304: WARNING: Project targets '>= 0.51.0' but uses feature introduced in '0.57.0': prelink arg in library.
Message: Building tools
Library cmocka found: YES
Build targets in project: 9
edit: nevermind, I see you found it while I was putting my post together!

Last edited by fourtysixandtwo; 04-21-2024 at 02:47 PM.
 
Old 04-21-2024, 03:04 PM   #5912
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,545

Rep: Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902
Looks like librist also needs mbedcrypto and libmicrohttpd? Doesn't appear to be a slackbuild for mbedcrypto at the moment.
 
Old 04-21-2024, 03:28 PM   #5913
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 647

Rep: Reputation: 491Reputation: 491Reputation: 491Reputation: 491Reputation: 491
Quote:
Originally Posted by garpu View Post
Looks like librist also needs mbedcrypto and libmicrohttpd? Doesn't appear to be a slackbuild for mbedcrypto at the moment.
Mbedcrypto is merged to this project https://slackbuilds.org/repository/1...aries/mbedtls/
 
Old 04-21-2024, 03:30 PM   #5914
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,545

Rep: Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902
Quote:
Originally Posted by rizitis View Post
Mbedcrypto is merged to this project https://slackbuilds.org/repository/1...aries/mbedtls/
Gotcha. I'm using Alien Bob's older version. Will update that later. (Probably my problem. I'm not anticipating further issues once I get that done.)

ETA: his is 2.25, though, while the one in SBo is 2.16.8?

Further: The only thing I can think of that's causing a problem is my version of mbedtls, but librist shouldn't be requiring that?

Last edited by garpu; 04-21-2024 at 05:27 PM.
 
Old Yesterday, 07:01 AM   #5915
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Rep: Reputation: 231Reputation: 231Reputation: 231
So this is an interesting problem. I'm running into an issue with obs. The package does build, but when you try starting the application, nothing comes up. The taskbar icon does load, but the GUI itself is nowhere to be found. This is happening on my NVIDIA desktop. I can't replicate this on my intel laptop. I can make this its own thread since technically obs is building. I can't quite figure out if it is a dependency issue or what.
 
Old Yesterday, 07:08 AM   #5916
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,102

Original Poster
Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
Quote:
Originally Posted by stormtracknole View Post
So this is an interesting problem. I'm running into an issue with obs. The package does build, but when you try starting the application, nothing comes up. The taskbar icon does load, but the GUI itself is nowhere to be found. This is happening on my NVIDIA desktop. I can't replicate this on my intel laptop. I can make this its own thread since technically obs is building. I can't quite figure out if it is a dependency issue or what.
try launching it from a terminal, maybe that way you could have some output...
 
Old Yesterday, 07:37 AM   #5917
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by ponce View Post
try launching it from a terminal, maybe that way you could have some output...
Sorry, I should have posted the terminal output:
Code:
Gtk-Message: 08:36:21.411: Failed to load module "colorreload-gtk-module"
debug: Found portal inhibitor
debug: Attempted path: share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: share/obs/obs-studio/locale.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale.ini
debug: Attempted path: share/obs/obs-studio/themes/Yami.qss
debug: Attempted path: /usr/share/obs/obs-studio/themes/Yami.qss
info: Using EGL/X11
info: CPU Name: 13th Gen Intel(R) Core(TM) i9-13900
info: CPU Speed: 2215.938MHz
info: Physical Cores: 24, Logical Cores: 32
info: Physical Memory: 31359MB Total, 27509MB Free
info: Kernel Version: Linux 6.6.29
info: Distribution: Slackware 15.0
info: Desktop Environment: XFCE
info: Session Type: tty
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
info: Qt Version: 6.6.3 (runtime), 6.6.3 (compiled)
info: Portable mode: false
info: OBS 30.1.2 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
	samples per sec: 48000
	speakers:        2
	max buffering:   960 milliseconds
	buffering type:  dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA T1000/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 550.76, shading language 3.30 NVIDIA via Cg compiler
info: ---------------------------------
info: video settings reset:
	base resolution:   1920x1080
	output resolution: 1920x1080
	downscale filter:  Bicubic
	fps:               30/1
	format:            NV12
	YUV mode:          Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
	name: Default
	id: default
info: ---------------------------------
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
warning: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
warning: Failed to initialize module 'decklink.so'
info: [pipewire] No captures available
warning: v4l2loopback not installed, virtual camera disabled
info: [obs-browser]: Version 2.21.1
info: [obs-browser]: CEF Version 95.0.4638.69 (runtime), 95.0.0-MediaHandler.2463+g3b3ac84+chromium-95.0.4638.69 (compiled)
info: NVENC supported
error: VAAPI: Failed to initialize display in vaapi_device_h264_supported
info: FFmpeg VAAPI H264 encoding not supported
error: VAAPI: Failed to initialize display in vaapi_device_hevc_supported
info: FFmpeg VAAPI HEVC encoding not supported
info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enabled
info: ---------------------------------
info:   Loaded Modules:
info:     vlc-video.so
info:     text-freetype2.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-vst.so
info:     obs-transitions.so
info:     obs-outputs.so
info:     obs-libfdk.so
info:     obs-filters.so
info:     obs-ffmpeg.so
info:     obs-browser.so
info:     linux-v4l2.so
info:     linux-pulseaudio.so
info:     linux-pipewire.so
info:     linux-jack.so
info:     linux-capture.so
info:     linux-alsa.so
info:     image-source.so
info:     frontend-tools.so
info:     decklink-output-ui.so
info:     decklink-captions.so
info: ---------------------------------
info: ==== Startup complete ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'PulseAudio (on PipeWire 1.0.5) 15.0.0'
info: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor' (default)
info: [Loaded global audio device]: 'Desktop Audio'
info: pulse-input: Server name: 'PulseAudio (on PipeWire 1.0.5) 15.0.0'
info: pulse-input: Audio format: s16le, 32000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_input.usb-046d_HD_Pro_Webcam_C920_843FAAFF-02.analog-stereo' (default)
info: [Loaded global audio device]: 'Mic/Aux'
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info: ------------------------------------------------
warning: [rtmp-services plugin] Remote update of URL "https://obsproject.com/obs2_update/rtmp-services/v5/package.json" failed: 
info: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio)
I've tried it as another user and I get the same result. Interestingly enough, it will start correctly as the root user.
 
Old Yesterday, 07:47 AM   #5918
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,102

Original Poster
Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
I don't know the application but from the output you posted it seems to work correctly.
yes, it's better to open a dedicated topic for this issue you have, this one is not the proper place...
 
Old Yesterday, 07:54 AM   #5919
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by ponce View Post
I don't know the application but from the output you posted it seems to work correctly.
yes, it's better to open a dedicated topic for this issue you have, this one is not the proper place...
Thanks ponce! I will do that.
 
Old Yesterday, 10:30 AM   #5920
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Rep: Reputation: 231Reputation: 231Reputation: 231
ponce, it turns out that I had some conflicting environment variable. All good now.
 
  


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 10:08 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