Bug 118974 - audio/musicpd will not build if net/avahi-app is installed.
Summary: audio/musicpd will not build if net/avahi-app is installed.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-23 18:00 UTC by Keith Gaughan
Modified: 2008-01-14 15:35 UTC (History)
0 users

See Also:


Attachments
file.diff (1.01 KB, patch)
2007-12-23 18:00 UTC, Keith Gaughan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Gaughan 2007-12-23 18:00:03 UTC
musicpd automatically detects if Avahi has already been installed and if so, links to it. However, Avahi depends on intltools, but the *.pc files for Avahi don't note this, so when musicpd attempts to build against it, it fails because it can't find the required symbols.

cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -o mpd mpd-audioOutput_alsa.o mpd-audioOutput_ao.o mpd-audioOutput_oss.o mpd-audioOutput_osx.o mpd-audioOutput_pulse.o mpd-audioOutput_mvp.o mpd-audioOutput_shout.o mpd-audioOutput_jack.o mpd-_flac_common.o mpd-_ogg_common.o mpd-oggflac_plugin.o mpd-oggvorbis_plugin.o mpd-aac_plugin.o mpd-audiofile_plugin.o mpd-flac_plugin.o mpd-mod_plugin.o mpd-mp3_plugin.o mpd-mp4_plugin.o mpd-mpc_plugin.o mpd-audio.o mpd-audioOutput.o mpd-buffer2array.o mpd-charConv.o mpd-command.o mpd-conf.o mpd-dbUtils.o mpd-decode.o mpd-directory.o mpd-inputPlugin.o mpd-inputStream.o mpd-inputStream_file.o mpd-inputStream_http.o mpd-interface.o mpd-list.o mpd-listen.o mpd-log.o mpd-ls.o mpd-main.o mpd-metadataChunk.o mpd-myfprintf.o mpd-normalize.o mpd-compress.o mpd-outputBuffer.o mpd-path.o mpd-pcm_utils.o mpd-permission.o mpd-player.o mpd-playerData.o mpd-playlist.o mpd-replayGain.o mpd-sig_handlers.o mpd-signal_check.o mpd-sllist.o mpd-song.o mp
 d-state_file.o mpd-stats.o mpd-tag.o mpd-tagTracker.o mpd-tree.o mpd-utils.o mpd-volume.o mpd-utf8.o mpd-zeroconf.o mpd-locate.o mpd-storedPlaylist.o -pthread  -L/usr/local/lib /usr/local/lib/libiconv.so -lid3tag -lz /usr/local/lib/libmad.so /usr/local/lib/libfaad.so /usr/local/lib/libvorbisfile.so /usr/local/lib/libvorbis.so /usr/local/lib/libOggFLAC.so /usr/local/lib/libogg.so /usr/local/lib/libFLAC.so /usr/local/lib/libaudiofile.so -lm /usr/local/lib/libavahi-client.so /usr/local/lib/libdbus-1.so /usr/local/lib/libavahi-common.so -pthread mp4ff/.libs/libmp4ff.a -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
/usr/local/lib/libavahi-common.so: undefined reference to `libintl_bindtextdomain'
/usr/local/lib/libavahi-common.so: undefined reference to `libintl_dgettext'
/usr/local/lib/libavahi-common.so: undefined reference to `libintl_bind_textdomain_codeset'
*** Error code 1

Stop in /usr/ports/audio/musicpd/work/mpd-0.13.0/src.
*** Error code 1

Fix: Patch attached with submission follows:
How-To-Repeat: portinstall avahi-app
portinstall musicpd
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-12-23 18:00:09 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Keith Gaughan 2008-01-14 14:35:36 UTC
Could this PR be marked closed? Since I reported it, the problem's
been caught by pointyhat and patched:

http://www.freebsd.org/cgi/getmsg.cgi?fetch=269375+0+/usr/local/www/db/text/2007/cvs-all/20071230.cvs-all

On 23/12/2007, edwin@freebsd.org <edwin@freebsd.org> wrote:
> Synopsis: audio/musicpd will not build if net/avahi-app is installed.
>
> State-Changed-From-To: open->feedback
> State-Changed-By: edwin
> State-Changed-When: Sun Dec 23 18:00:09 UTC 2007
> State-Changed-Why:
> Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=118974
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2008-01-14 15:35:00 UTC
State Changed
From-To: feedback->closed

close by submitter request.