WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Warning loop dependency: libpulseaudio.tcz  (Read 212 times)

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1735
Warning loop dependency: libpulseaudio.tcz
« on: December 18, 2025, 09:09:09 PM »
I never saw this warning before:
Code: [Select]
$ tce-load -wil pulseaudio
pulseaudio is already downloaded.
Warning loop dependency: libpulseaudio.tcz
speexdsp.tcz: OK
pulseaudio.tcz: OK
Is something broken? If so, is the problem on my machine or in the repo?

P.S. Sorry to be blowing up the forum for past few days. I think I'm running out of steam so this thread will be my last one for a while ;D

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12373
Re: Warning loop dependency: libpulseaudio.tcz
« Reply #1 on: December 18, 2025, 10:45:46 PM »
Hi GNUser
... Is something broken? If so, is the problem on my machine or in the repo? ...
It's the repo. I just ran my script to check for circular dependencies and it returned this:
Code: [Select]
libpulseaudio.tcz->libsndfile.tcz->mpg123.tcz->libpulseaudio.tcz
libsndfile.tcz->mpg123.tcz->libpulseaudio.tcz->libsndfile.tcz
mpg123.tcz->libpulseaudio.tcz->libsndfile.tcz->mpg123.tcz
I suspect  libsndfile.tcz.dep  including  mpg123.tcz  may be part of the problem.
mpg123.tcz  and  libsndfile.tcz  were just updated yesterday.

Quote
... P.S. Sorry to be blowing up the forum for past few days. ...
Not at all. That's what we're here for. :)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15372
Re: Warning loop dependency: libpulseaudio.tcz
« Reply #2 on: December 19, 2025, 03:36:40 AM »
I temporarily reverted to the previous libsndfile dep files whilst we work out how to treat this.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12373
Re: Warning loop dependency: libpulseaudio.tcz
« Reply #3 on: December 19, 2025, 08:44:33 AM »
Hi Juanito
Looks like there really is a circular dependency:
Code: [Select]
libsndfile.tcz
0x0000000000000001 (NEEDED) Shared library: [libasound.so.2]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x0000000000000001 (NEEDED) Shared library: [libFLAC.so.8]
0x0000000000000001 (NEEDED) Shared library: [libmp3lame.so.0]
0x0000000000000001 (NEEDED) Shared library: [libmpg123.so.0]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libogg.so.0]
0x0000000000000001 (NEEDED) Shared library: [libopus.so.0]
0x0000000000000001 (NEEDED) Shared library: [libsndfile.so.1]
0x0000000000000001 (NEEDED) Shared library: [libvorbisenc.so.2]
0x0000000000000001 (NEEDED) Shared library: [libvorbis.so.0]


libpulseaudio.tcz
0x0000000000000001 (NEEDED) Shared library: [ld-linux-x86-64.so.2]
0x0000000000000001 (NEEDED) Shared library: [libcap.so.2]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x0000000000000001 (NEEDED) Shared library: [libdbus-1.so.3]
0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]
0x0000000000000001 (NEEDED) Shared library: [libglib-2.0.so.0]
0x0000000000000001 (NEEDED) Shared library: [libICE.so.6]
0x0000000000000001 (NEEDED) Shared library: [libltdl.so.7]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libpulsecommon-13.0.so]
0x0000000000000001 (NEEDED) Shared library: [libpulse.so.0]
0x0000000000000001 (NEEDED) Shared library: [librt.so.1]
0x0000000000000001 (NEEDED) Shared library: [libSM.so.6]
0x0000000000000001 (NEEDED) Shared library: [libsndfile.so.1]
0x0000000000000001 (NEEDED) Shared library: [libspeexdsp.so.1]
0x0000000000000001 (NEEDED) Shared library: [libX11.so.6]
0x0000000000000001 (NEEDED) Shared library: [libX11-xcb.so.1]
0x0000000000000001 (NEEDED) Shared library: [libxcb.so.1]
0x0000000000000001 (NEEDED) Shared library: [libXtst.so.6]


mpg123.tcz
0x0000000000000001 (NEEDED) Shared library: [libasound.so.2]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x0000000000000001 (NEEDED) Shared library: [libmpg123.so.0]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libout123.so.0]
0x0000000000000001 (NEEDED) Shared library: [libportaudio.so.2]
0x0000000000000001 (NEEDED) Shared library: [libpulse-simple.so.0]
0x0000000000000001 (NEEDED) Shared library: [libpulse.so.0]
0x0000000000000001 (NEEDED) Shared library: [libSDL2-2.0.so.0]
0x0000000000000001 (NEEDED) Shared library: [libsyn123.so.0]

libpulseaudio.tcz needs libsndfile.so.1
libsndfile.tcz needs libmpg123.so.0
mpg123.tcz needs libpulse.so.0

    [Edit]: Added  .tcz  in 6 places.  Rich
« Last Edit: December 19, 2025, 09:29:34 AM by Rich »

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1735
Re: Warning loop dependency: libpulseaudio.tcz
« Reply #4 on: December 19, 2025, 08:46:17 AM »
Hi Rich.

It's the repo.
Good to know I'm not the problem. Thanks for confirming.

Not at all. That's what we're here for. :)
Thank you :)


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12373
Re: Warning loop dependency: libpulseaudio.tcz
« Reply #5 on: December 19, 2025, 11:57:57 AM »
Hi Juanito
I think if:
Code: [Select]
/usr/local/lib/libmpg123.so
/usr/local/lib/libmpg123.so.0
/usr/local/lib/libmpg123.so.0.49.4
were separated into  libmpg123.tcz  and added as dependencies to
mpg123.tcz  and  libsndfile.tcz  it would break the dependency loop
without impacting any other extensions.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15372
Re: Warning loop dependency: libpulseaudio.tcz
« Reply #6 on: December 21, 2025, 09:34:25 AM »
libsndfile and mpg123 extensions re-posted

Offline aus9

  • Newbie
  • *
  • Posts: 2
Re: Warning loop dependency: libpulseaudio.tcz
« Reply #7 on: Today at 05:59:15 AM »
Hi

I am sorry for mucking people up and more bad news. I failed to spot that I did not create the correct info file for libmpg123. I have sent an email to my fav TCE checker to see if he can fix that. I am aware that he may not get to it for a while, and I have to be more patient waiting for that to resolve. Sometime after xmas with luck. In the meantime, please do not attempt to download mgp123 or libsndfile or their dev TCEs

2) Another reason why I have rejoined, is I am hoping to train myself better on finding and resolving circular dependencies. I am aware if A is built with B.....and B is built with A we have  circular dependency. In fact I was aware that adding lame-dev to provide more options in libsndfile-dev DEP file would be circular. lame-dev in Apps GUI shows libsndfile-dev. Sometimes its sneaky and its a recursive dep that causes the circular dependency

3) I spotted Rich great post pointing out my run circular issue when I had submitted mpg123 update  with pulseaudio support. After that post, I rebuilt mpg123 to disable that....but I knew some members can not get alsa work without some help so after disabling pulseaudio....I made sure it supported portaudio and sdl2....both do not need any kind of setup.

Which led me to discover that sdl2-dev in Apps GUI has libsndfile-dev....which is why the mpg123-dev takes the safer option of asking anyone wanting to compile against this dev TCE to manually load sdl2-dev in its info file.
thanks for reading