Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2014 12:06:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 192941] New: [patch] multimedia/mpv build fails with pulseaudio option enabled
Message-ID:  <bug-192941-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192941

            Bug ID: 192941
           Summary: [patch] multimedia/mpv build fails with pulseaudio
                    option enabled
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: rsmith@xs4all.nl

Created attachment 146174
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146174&action=edit
Patch for multimedia/mpv

Trying to build mpv with the pulseaudio option enabled fails;

    Checking for PulseAudio audio output                                    :
no 
    You manually enabled the feature 'pulse', but the autodetection check
failed.
    *** Error code 1

    Stop.
    make[1]: stopped in /usr/ports/multimedia/mpv
    *** Error code 1

The pulseaudio port *is* installed;

    # pkg info -x pulseaudio
    pulseaudio-0.9.23_2

The test fails because it tests for libpulse >= 1.0 while the version in ports
is 0.9.23.

So I patched (see attachment) the mpv port to accept libpulse >= 0.9, built and
tested mpv without problems on 10-STABLE amd64.

The patched port was tested with: 

    env DEVELOPER=yes make stage && make check-plist && make package

The build succeeded. The output of the above command (grepped for '^===') is
shown below;

    ===>  License GPLv2 accepted by the user
    ===>  Found saved configuration for mpv-0.5.0_1,1
    ===>   mpv-0.5.0_1,1 depends on file: /usr/local/sbin/pkg - found
    ===> Fetching all distfiles required by mpv-0.5.0_1,1 for building
    ===>  Extracting for mpv-0.5.0_1,1
    ===>  Patching for mpv-0.5.0_1,1
    ===>  Applying FreeBSD patches for mpv-0.5.0_1,1
    ===>   mpv-0.5.0_1,1 depends on executable: rst2man - found
    ===>   mpv-0.5.0_1,1 depends on executable: update-desktop-database - found
    ===>   mpv-0.5.0_1,1 depends on executable: pkgconf - found
    ===>   mpv-0.5.0_1,1 depends on file: /usr/local/bin/python2.7 - found
    ===>   mpv-0.5.0_1,1 depends on file: /usr/local/libdata/pkgconfig/x11.pc -
found
    ===>   mpv-0.5.0_1,1 depends on file: /usr/local/libdata/pkgconfig/xv.pc -
found
    ===>   mpv-0.5.0_1,1 depends on file:
/usr/local/libdata/pkgconfig/xxf86vm.pc - found
    ===>   mpv-0.5.0_1,1 depends on executable: gtk-update-icon-cache - found
    ===>   mpv-0.5.0_1,1 depends on shared library: libavcodec.so - found
(/usr/local/lib/libavcodec.so.55.52.102)
    ===>   mpv-0.5.0_1,1 depends on shared library: libass.so - found
(/usr/local/lib/libass.so.5.0.0)
    ===>   mpv-0.5.0_1,1 depends on shared library: libdvdread.so - found
(/usr/local/lib/libdvdread.so.5)
    ===>   mpv-0.5.0_1,1 depends on shared library: libdvdnav.so - found
(/usr/local/lib/libdvdnav.so.4.2.1)
    ===>   mpv-0.5.0_1,1 depends on shared library: liblcms2.so - found
(/usr/local/lib/liblcms2.so.2.0.6)
    ===>   mpv-0.5.0_1,1 depends on shared library: libpulse.so - found
(/usr/local/lib/libpulse.so.0)
    ===>   mpv-0.5.0_1,1 depends on shared library: liblua-5.2.so - found
(/usr/local/lib/liblua-5.2.so)
    ===>   mpv-0.5.0_1,1 depends on shared library: libatk-1.0.so - found
(/usr/local/lib/libatk-1.0.so.0)
    ===>   mpv-0.5.0_1,1 depends on shared library: libgdk_pixbuf-2.0.so -
found (/usr/local/lib/libgdk_pixbuf-2.0.so.0.2800.2)
    ===>   mpv-0.5.0_1,1 depends on shared library: libglib-2.0.so - found
(/usr/local/lib/libglib-2.0.so.0)
    ===>   mpv-0.5.0_1,1 depends on shared library: libpcre.so - found
(/usr/local/lib/libpcre.so.3)
    ===>   mpv-0.5.0_1,1 depends on shared library: libpango-1.0.so - found
(/usr/local/lib/libpango-1.0.so.0.3400.1)
    ===>  Configuring for mpv-0.5.0_1,1
    ===>  Building for mpv-0.5.0_1,1
    ===>  Staging for mpv-0.5.0_1,1
    ===>   mpv-0.5.0_1,1 depends on executable: update-desktop-database - found
    ===>   mpv-0.5.0_1,1 depends on file: /usr/local/libdata/pkgconfig/x11.pc -
found
    ===>   mpv-0.5.0_1,1 depends on file: /usr/local/libdata/pkgconfig/xv.pc -
found
    ===>   mpv-0.5.0_1,1 depends on file:
/usr/local/libdata/pkgconfig/xxf86vm.pc - found
    ===>   mpv-0.5.0_1,1 depends on executable: gtk-update-icon-cache - found
    ===>   Generating temporary packing list
    ====> Compressing man pages (compress-man)
    ====> Running Q/A tests (stage-qa)
    ====> Checking for pkg-plist issues (check-plist)
    ===> Parsing plist
    ===> Checking for items in STAGEDIR missing from pkg-plist
    ===> Checking for directories owned by MTREEs
    ===> Checking for directories handled by dependencies
    ===> Checking for items in pkg-plist which are not in STAGEDIR
    ===> No pkg-plist issues found (check-plist)
    ===>  Building package for mpv-0.5.0_1,1

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192941-13>