LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-08-2021, 10:57 AM   #1
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
regression on -current with pulseaudio


pulseaudio doesn't build anymore on Slackware64-current:
-------------------------
[426/565] Compiling C object src/modules/module-echo-cancel.so.p/echo-cancel_adrian-aec.c.o
FAILED: src/modules/module-echo-cancel.so.p/echo-cancel_adrian-aec.c.o
ccache cc -Isrc/modules/module-echo-cancel.so.p -I. -I.. -Isrc -I../src -I/usr/include/orc-0.4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O3 -O2 -fPIC -fPIC -pthread -DHAVE_CONFIG_H -D_GNU_SOURCE -D__INCLUDED_FROM_PULSE_AUDIO -DPA_MODULE_NAME=module_echo_cancel -DHAVE_ADRIAN_EC=1 -MD -MQ src/modules/module-echo-cancel.so.p/echo-cancel_adrian-aec.c.o -MF src/modules/module-echo-cancel.so.p/echo-cancel_adrian-aec.c.o.d -o src/modules/module-echo-cancel.so.p/echo-cancel_adrian-aec.c.o -c ../src/modules/echo-cancel/adrian-aec.c
../src/modules/echo-cancel/adrian-aec.c:30:10: fatal error: adrian-aec-orc-gen.h: No such file or directory
30 | #include "adrian-aec-orc-gen.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[434/565] Compiling C object src/modules/module-echo-cancel.so.p/echo-cancel_module-echo-cancel.c.o
ninja: build stopped: subcommand failed.
-------------------------
 
Old 05-08-2021, 12:21 PM   #2
lovemeslk
Member
 
Registered: Feb 2020
Location: none of your business
Distribution: Slackware
Posts: 84

Rep: Reputation: Disabled
seems in in pulseaudio -Dorc=enabled is broken. actually reversed some how

According to this.
Code:
   27 #include "adrian-aec.h"
   28 
   29 #ifndef DISABLE_ORC
   30 #include "adrian-aec-orc-gen.h"
   31 #endif
This tells me pthread most likely not finding orc 04.32.
But what blows my mind is if you disable it.
-Dorc=disabled
It builds that makes no sence. nothing has changed on the tarball.
This points to "meson"
Code:
Sun May  2 19:41:57 UTC 2021
d/meson-0.58.0-x86_64-1.txz:  Upgraded.
yes revert to meson 0.57.2 and then it builds.
mark it solved hope Pat reads this.
This makes sence because I have had ton of build issues with meson enable disable and auto lately.

Last edited by lovemeslk; 05-08-2021 at 12:28 PM. Reason: revert to 57.2
 
1 members found this post helpful.
Old 05-08-2021, 12:58 PM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 6,152

Rep: Reputation: Disabled
I just know meson very little but I suspect this happens because of the following change in version 0.58.0

https://mesonbuild.com/Release-notes...ories-is-false

in fact, if you add this sed before the build routine (in this case I'm not sure if there are any side-effects)

Code:
sed -i 's|implicit_include_directories : false||' src/modules/meson.build
pulseaudio builds fine.
 
1 members found this post helpful.
Old 05-08-2021, 01:12 PM   #4
lovemeslk
Member
 
Registered: Feb 2020
Location: none of your business
Distribution: Slackware
Posts: 84

Rep: Reputation: Disabled
That isn't a fix. that is a hack. Looking at the commits on this that Sir will break other builds.
It is up to the devs to use enabled disabled auto. Then you have other ones like atk etc that still use true false .
revert back to 0.57.2 till 058.1 is released ton of issues this is right out broken on python 3.9.
there is hundreds of issues since release. Not for us to write code for meson.
Up to Meson to parse our code correct. As it has done for a long time.

Spent hours days trying to build with 0.58. If Pat uses it on GTK+3 most likley it built but not to his calls.
same for atk Glib-2
It isn't parsing the build.
 
Old 05-08-2021, 01:26 PM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 6,152

Rep: Reputation: Disabled
well, I prepared a patch following the hints here

https://github.com/GStreamer/gst-plu...on.build#L1021

Code:
--- pulseaudio-14.2.orig/src/modules/meson.build        2021-01-16 18:26:36.000000000 +0100
+++ pulseaudio-14.2/src/modules/meson.build     2021-05-08 20:23:23.605579000 +0200
@@ -268,6 +268,8 @@
 # FIXME: meson doesn't support multiple RPATH arguments currently
 rpath_dirs = join_paths(privlibdir) + ':' + join_paths(modlibexecdir)
 
+common_args = '-I@0@'.format(meson.current_build_dir())
+
 foreach m : all_modules
   name = m[0]
   sources = m[1]
@@ -280,7 +282,8 @@
     sources,
     headers,
     include_directories : [configinc, topinc],
-    c_args : [pa_c_args, server_c_args, '-DPA_MODULE_NAME=' + name.underscorify()] + extra_flags,
+    cpp_args : common_args,
+    c_args : [common_args, pa_c_args, server_c_args, '-DPA_MODULE_NAME=' + name.underscorify()] + extra_flags,
     install : true,
     install_rpath : rpath_dirs,
     install_dir : modlibexecdir,
Attached Files
File Type: txt meson-0.58.0.patch.txt (962 Bytes, 23 views)
 
Old 05-08-2021, 01:34 PM   #6
lovemeslk
Member
 
Registered: Feb 2020
Location: none of your business
Distribution: Slackware
Posts: 84

Rep: Reputation: Disabled
why patch Pulse audio it is correct everything in the code is setup to Meson 0.58 standards it is broken.
For once pulseaudio is right.
Patching this is only creating confusion till the whole world makes Meson happy.
My point of view. Love your work Ponce. Horse before the cart.
 
Old 05-12-2021, 06:49 AM   #7
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint,Manjaro...
Posts: 873

Original Poster
Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
Should be solved by Ponce patch.Still not applied on -current.

Last edited by nobodino; 05-12-2021 at 06:50 AM.
 
  


Reply


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
Pipewire pulseaudio emulation without pulseaudio installed (works) adcdam Slackware 18 04-02-2021 01:34 AM
Can't Get Sound from Pulseaudio -- PulseAudio Will Not Start JasonC10203 Linux - Software 4 11-28-2016 11:18 PM
Bypass pulseaudio problems and crashes when you don't have pulseaudio. Rinndalir Linux - Software 1 08-31-2016 01:00 PM
[SOLVED] Squeeze + Pulseaudio + Alsa and USB Midi device causes Pulseaudio crash mad4linux Debian 1 01-26-2011 03:57 AM
Winecfg crashes on sound tab with Pulseaudio and no 'sounddrivers' without pulseaudio William (Dthdealer) Linux - Software 5 06-13-2010 07:30 AM

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

All times are GMT -5. The time now is 09:31 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