LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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,556

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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: 654

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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,556

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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 05-02-2024, 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 05-02-2024, 07:08 AM   #5916
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,104

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 05-02-2024, 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 05-02-2024, 07:47 AM   #5918
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,104

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 05-02-2024, 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 05-02-2024, 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.
 
Old Yesterday, 10:16 AM   #5921
gian_d
Member
 
Registered: Nov 2019
Location: Cagliari, Sardinia (Italy)
Distribution: Slackware
Posts: 76

Rep: Reputation: Disabled
Dependency of OWSLib on pytz requires a better patch

Hi Ponce
Brent Spillner has reported me a little issue for Qgis depending on OWSLib:

Quote:
I noticed that the OWSLib scripts on SBo now include a
"pytz-not-required.patch" that hides it as a dependency in
requirements.txt so the package can install under Python 3.11 and
greater, where Pytz is not available. However, the library code still
attempts to import and call pytz functions, which of course throws an
exception. If you run QGIS with this version of OWSLib on a system
without Pytz, QGIS traps the exception and displays an error window on
launch but is able to continue, although operations involving
timestamped data may be suspect.

I think a better approach is to simply replace the very short
fragments of OWSLib code that actually depend on Pytz. I contributed
a patch to do just that
(https://github.com/spillner/OWSLib/c...c73cffb0c.diff)
that has been accepted upstream, but they have not yet pushed a new
point release. However, if you replace your pytz-not-required.patch
with mine, you build a truly Pytz-free version of OWSLib that does not
generate any runtime errors when it is called by QGIS.
I've sent a new tarball for next updates in SBo, although it refers only to -current, but if you would apply immediately the changes in your repository, you should change as you can find here: https://github.com/giandex/slackbuil...ain/gis/OWSLib

Steps:
1) remove file pytz-not-required.patch
2) add file remove_dependency_on_pytz.patch
3) update file OWSLib.SlackBuild (rebuild 3)

Thanks
 
Old Yesterday, 10:48 AM   #5922
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,104

Original Poster
Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
Quote:
Originally Posted by gian_d View Post
Hi Ponce
Brent Spillner has reported me a little issue for Qgis depending on OWSLib:



I've sent a new tarball for next updates in SBo, although it refers only to -current, but if you would apply immediately the changes in your repository, you should change as you can find here: https://github.com/giandex/slackbuil...ain/gis/OWSLib

Steps:
1) remove file pytz-not-required.patch
2) add file remove_dependency_on_pytz.patch
3) update file OWSLib.SlackBuild (rebuild 3)

Thanks
hi Giancarlo,

I would apply your mods in a local branch but it would go in the main merge only next week...
I think it's better to wait until the changes have gone into the main SBo repository.

Matteo
 
Old Yesterday, 11:08 AM   #5923
gian_d
Member
 
Registered: Nov 2019
Location: Cagliari, Sardinia (Italy)
Distribution: Slackware
Posts: 76

Rep: Reputation: Disabled
OK, it was just for information
 
Old Yesterday, 03:22 PM   #5924
prsmith
LQ Newbie
 
Registered: Mar 2022
Location: Georgia, US
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
This SBo Perl module doesn't build and seems to be missing a dependency-- perl-Module-Build-Tiny

I get this error:

Code:
Processing perl-Module-Build-Tiny

perl-Module-Build-Tiny:
Found Module-Build-Tiny-0.048.tar.gz in /var/cache/sbopkg.
Checking MD5SUM:
  MD5SUM check for Module-Build-Tiny-0.048.tar.gz ... OK
Building package for perl-Module-Build-Tiny...
Module-Build-Tiny-0.048
Module-Build-Tiny-0.048/Todo
Module-Build-Tiny-0.048/README
Module-Build-Tiny-0.048/Changes
Module-Build-Tiny-0.048/LICENSE
Module-Build-Tiny-0.048/INSTALL
Module-Build-Tiny-0.048/dist.ini
Module-Build-Tiny-0.048/META.yml
Module-Build-Tiny-0.048/MANIFEST
Module-Build-Tiny-0.048/Build.PL
Module-Build-Tiny-0.048/META.json
Module-Build-Tiny-0.048/t
Module-Build-Tiny-0.048/t/simple.t
Module-Build-Tiny-0.048/t/lib
Module-Build-Tiny-0.048/t/lib/DistGen.pm
Module-Build-Tiny-0.048/xt/author
Module-Build-Tiny-0.048/xt/author/pod-syntax.t
Module-Build-Tiny-0.048/lib/Module/Build
Module-Build-Tiny-0.048/lib/Module/Build/Tiny.pm
Creating new 'Build' script for 'Module-Build-Tiny' version '0.048'
cp lib/Module/Build/Tiny.pm blib/lib/Module/Build/Tiny.pm
Can't locate CPAN/Requirements/Dynamic.pm in @INC (you may need to install the CPAN::Requirements::Dynamic module) (@INC entries checked: inc /tmp/SBo/Module-Build-Tiny-0.048/blib/arch /tmp/SBo/Module-Build-Tiny-0.048/blib/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /tmp/SBo/Module-Build-Tiny-0.048/blib/lib/Module/Build/Tiny.pm line 194.
You can use CPAN in a pinch to install the missing dependent CPAN::Requirements::Dynamic module and it builds after that, though I'd rather use a SlackBuild package.
 
Old Yesterday, 03:27 PM   #5925
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,407
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Since that's obviously on stable as well, not the proper topic to report and better email the maintainer... See OP
 
  


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 04:13 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