Opened 5 years ago

Closed 6 months ago

#60227 closed defect (fixed)

audacious-plugins: fatal error: 'libaudgui/libaudgui.h' file not found

Reported by: mf2k (Frank Schima) Owned by: Ionic (Mihai Moldovan)
Priority: Normal Milestone:
Component: ports Version: 2.6.99
Keywords: Cc:
Port: audacious-plugins

Description

Error is:

:info:build Compiling si.po...
in="si.po"; \
:info:build 	out="si.mo"; \
:info:build 	/opt/local/bin/msgfmt -c -o si.mo si.po; \
:info:build 	if [ "${?}" -eq "0" ]; then \
:info:build 		printf "Successfully compiled %s.\n" "si.po"; \
:info:build 	else \
:info:build 		err=$?; printf "Failed to compile %s!\n" "si.po"; exit $err; \
:info:build 	fi
:info:build info.cc:9:10: fatal error: 'libaudgui/libaudgui.h' file not found
:info:build #include <libaudgui/libaudgui.h>
:info:build          ^~~~~~~~~~~~~~~~~~~~~~~
:info:build Generating dependencies...
1 error generated.

I am trying to install with qt5.

$ port installed audacious-core
The following ports are currently installed:
  audacious-core @3.10.1_0+qt5 (active)

Attachments (1)

main.log (186.6 KB) - added by mf2k (Frank Schima) 5 years ago.

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by mf2k (Frank Schima)

Attachment: main.log added

comment:1 Changed 5 years ago by Ionic (Mihai Moldovan)

Hm, this looks like a variant mismatch.

:info:archivefetch --->  audacious-plugins-3.10.1_0+aac+cdaudio+console+cue+dbus+ffmpeg+filewriter+flac+full+gtk2+lame+lastfm+lirc+midi+mms+modplug+mp3+notifications+opengl+osd+osd_composite+sdl1+sndfile+transform+wavpack.darwin_19.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified

Note the gtk2 variant in there and a missing qt5 one.

Try to install the port explicitly with +aac+cdaudio+console+cue+dbus+ffmpeg+filewriter+flac+full+lame+lastfm+lirc+midi+mms+modplug+mp3+notifications+opengl+osd+osd_composite+sdl1+sndfile+transform+wavpack-gtk2+qt5

I guess I could add the active variants hack to make sure that audacious-core has been built with matching variants?

comment:2 Changed 5 years ago by mf2k (Frank Schima)

That works, thanks. I should have looked first. I didn't think plugins had a gui.

comment:3 Changed 5 years ago by mf2k (Frank Schima)

I think it makes sense to use the active_variants portgroup. But feel free to close this ticket as WFM.

comment:4 Changed 5 years ago by Ionic (Mihai Moldovan)

It doesn't have a GUI per se, but the features supported and compiled depend on the GUI modules being active. For instance, the info.cc file that doesn't compile for you is fully enclosed in #ifdef USE_GTK, which will hide the content (and thus make this input plugin a stub one) for Qt5-only builds.

I guess I'll add the active variants hack once I update the ports to 4.0, but this will take some time, I guess. Upstream hasn't provided a GTK3 branch yet and I have to check whether this is intentionally being dropped or just needs some more time to get into shape.

comment:5 Changed 6 months ago by mohd-akram (Mohamed Akram)

Resolution: fixed
Status: assignedclosed

In 60d4f430364d4a3ddb4eee122f19a3bf31c560ad/macports-ports (master):

audacious-plugins: enable more plugins

Fixes: #60227

Note: See TracTickets for help on using tickets.