Bug 287419 - audio/pulseaudio: 17.0_3 demands non existing module-esound-protocol-tcp.so
Summary: audio/pulseaudio: 17.0_3 demands non existing module-esound-protocol-tcp.so
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-desktop (Team)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-10 08:37 UTC by p5B2EA84B3
Modified: 2025-06-13 08:27 UTC (History)
2 users (show)

See Also:
arrowd: maintainer-feedback+


Attachments
Poudriere logfile (483.06 KB, text/plain)
2025-06-10 11:24 UTC, p5B2EA84B3
no flags Details
entries matching "esound" in /var/log/* (1.39 KB, text/plain)
2025-06-11 13:04 UTC, p5B2EA84B3
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description p5B2EA84B3 2025-06-10 08:37:24 UTC
syslog messages:

pulseaudio[1305]: [] ltdl-bind-now.c: Modul »module-esound-protocol-tcp.so« konnte nicht geladen werden: Shared object "module-esound-protocol-tcp.so" not found, required by "pulseaudio"
pulseaudio[1305]: [] module.c: Failed to open module "module-esound-protocol-tcp".

Missing dependency or patch needed?
Comment 1 p5B2EA84B3 2025-06-10 08:42:09 UTC
(In reply to p5B2EA84B3 from comment #0)

audio/espeak has been removed from the ports r2019-05-08:
https://cgit.freebsd.org/ports/commit/?id=dfd801cad13ce6db84f16abb4a37821fb9645de4
Comment 2 p5B2EA84B3 2025-06-10 08:44:55 UTC
(In reply to p5B2EA84B3 from comment #1)
Please disregard comment #1 as esound != espeak
Sorry for that.
Comment 3 Gleb Popov freebsd_committer freebsd_triage 2025-06-10 09:06:39 UTC
Are you building outside Poudriere?
Comment 4 p5B2EA84B3 2025-06-10 11:24:52 UTC
Created attachment 261138 [details]
Poudriere logfile

(In reply to Gleb Popov from comment #3)
See attached Poudriere logfile
Comment 5 Gleb Popov freebsd_committer freebsd_triage 2025-06-10 11:28:14 UTC
(In reply to p5B2EA84B3 from comment #4)
I don't see module-esound-protocol-tcp.so anywhere in the log. The package does not install this file. I also don't have it on my system.
Comment 6 p5B2EA84B3 2025-06-10 15:33:16 UTC
(In reply to Gleb Popov from comment #5)
Thanks for verifying. Don't you have that syslog messages?

Now there are these questions:
a) should "module-esound-protocol-tcp" be in the package and is missing now?
b) is that a misconfiguration of the FreeBSD port?
c) is it an upstream bug?
Comment 7 Gleb Popov freebsd_committer freebsd_triage 2025-06-10 15:37:47 UTC
Run "pkg which /path/to/module-esound-protocol-tcp.so" and see if it belongs to any package. If not - just remove it. Like I said, I have no idea where it comes from on your system and how you're using it.
Comment 9 Gleb Popov freebsd_committer freebsd_triage 2025-06-10 16:10:29 UTC
(In reply to mew14930xvi from comment #8)
I guess, this file was somehow left over after package's upgrade/removal. Just remove it now.
Comment 10 mew14930xvi 2025-06-10 16:59:09 UTC
(In reply to Gleb Popov from comment #9)
I don't use pulseaudio, but I don't think module-esound-protocol-tcp.so exists.
After a quick search, it seems to be related to the audio/paprefs settings.
I don't use pulseaudio so I haven't looked into it further.
Comment 11 p5B2EA84B3 2025-06-10 19:21:12 UTC
arrowd@FreeBSD.org closed without giving a reason and got it copletely wrong.
Comment 12 p5B2EA84B3 2025-06-10 19:23:13 UTC
(In reply to Gleb Popov from comment #9)
You got it wrong!

The file DOES **NOT** EXITST here either!
Comment 13 mew14930xvi 2025-06-10 19:33:18 UTC
So are you using audio/paprefs?
https://bugs.archlinux.org/task/68487
Comment 14 p5B2EA84B3 2025-06-10 20:13:16 UTC
(In reply to mew14930xvi from comment #13)

# pkg info audio/paprefs
pkg: No package(s) matching audio/paprefs

citing relevant lines of your link:

QUOTE
Copied from upstream:

Tanu Kaskinen commented on a discussion:

You probably have enabled "Make discoverable PulseAudio network sound devices available locally" in paprefs. The paprefs options are stored in gsettings and read by module-gsettigns.

We should remove the esound stuff from paprefs (I didn't even know it did this before you reported this).

I tried to make a quick patch for dropping the esound stuff from paprefs, but it's less trivial than I thought, so I won't make that patch now. I'll add some todo items to the issue description.

I created a separate issue for the log message. The log message is a bug regardless of whether we drop esound or not.

END OF QUOTE
Comment 15 Gleb Popov freebsd_committer freebsd_triage 2025-06-11 04:08:05 UTC
(In reply to p5B2EA84B3 from comment #12)
Oh, okay. Can you give some me commands to reproduce the issue? What log exactly does this warning gets printed to? Does it happen after some action or just at arbitrary points of time?
Comment 16 p5B2EA84B3 2025-06-11 13:04:13 UTC
Created attachment 261173 [details]
entries matching "esound" in /var/log/*

(In reply to Gleb Popov from comment #15)

These log entries get generated when starting xfce.
Comment 17 Gleb Popov freebsd_committer freebsd_triage 2025-06-12 08:51:23 UTC
(In reply to p5B2EA84B3 from comment #16)
Can you show the output of the following command?

grep -r module-esound-protocol-tcp /usr/local/etc/pulse
Comment 18 p5B2EA84B3 2025-06-12 11:19:12 UTC
(In reply to Gleb Popov from comment #17)
As requested:

> grep -r module-esound-protocol-tcp /usr/local/etc/pulse
/usr/local/etc/pulse/default.pa:#load-module module-esound-protocol-tcp
/usr/local/etc/pulse/default.pa.sample:#load-module module-esound-protocol-tcp
Comment 19 mew14930xvi 2025-06-12 19:59:20 UTC
It seems that paprefs options are saved in gesetting.
Looking at the Poudriere logs, I can see that GSETTINGS is enabled.
What happens if you turn this off?
Are there any esound related settings in gsettings?
Comment 20 p5B2EA84B3 2025-06-13 08:27:03 UTC
(In reply to mew14930xvi from comment #19)
Great hint, thank you very much!

> grep -R esound .config
.config/glib-2.0/settings/keyfile:name1='module-esound-protocol-tcp'

Commenting out this line and the syslog warnings are gone.

Lesson learned to also check the dependencies.