Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2014 12:06:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 195888] New: audio/musicpd build fails
Message-ID:  <bug-195888-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 195888
           Summary: audio/musicpd build fails
           Product: Ports Tree
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: crees@FreeBSD.org
          Reporter: nvl@crde.me
             Flags: maintainer-feedback?(crees@FreeBSD.org)
          Assignee: crees@FreeBSD.org

Trying to build audio/musicpd on FreeBSD 10.1-RELEASE-p1 amd64 with system
clang (3.4) and clang35 from ports.
The build fails when trying to compile ApeReplayGain.cxx

gmake[3]: Entering directory
'/var/ports/basejail/usr/ports/audio/musicpd/work/mpd-0.18.11'
gmake  all-am
gmake[4]: Entering directory
'/var/ports/basejail/usr/ports/audio/musicpd/work/mpd-0.18.11'
clang++35 -DHAVE_CONFIG_H -I.  -DNDEBUG -I./src -pthread -isystem
/usr/local/include/glib-2.0 -isystem /usr/local/lib/glib-2.0/include -isystem
/usr/local/include -DSYSTEM_CONFIG_FILE_LOCATION='"/usr/local/etc/mpd.conf"' 
-I/usr/local/include -std=gnu++0x -O2 -pipe -I/usr/local/include
-fstack-protector -fno-strict-aliasing -fvisibility=hidden
-fno-threadsafe-statics -fmerge-all-constants -fno-exceptions -fno-rtti
-ffast-math -ftree-vectorize -ffunction-sections -fdata-sections -Wall -Wextra
-Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings
-Wsign-compare -MT src/tag/libtag_a-ApeReplayGain.o -MD -MP -MF
src/tag/.deps/libtag_a-ApeReplayGain.Tpo -c -o src/tag/libtag_a-ApeReplayGain.o
`test -f 'src/tag/ApeReplayGain.cxx' || echo './'`src/tag/ApeReplayGain.cxx
In file included from src/tag/ApeReplayGain.cxx:22:
In file included from src/tag/ApeLoader.hxx:25:
In file included from /usr/include/c++/v1/functional:465:
In file included from /usr/include/c++/v1/memory:603:
/usr/include/c++/v1/tuple:320:11: error: rvalue reference to type '(lambda at
src/tag/ApeReplayGain.cxx:67:18)' cannot bind to lvalue of type
      '(lambda at src/tag/ApeReplayGain.cxx:67:18)'
        : value(__t.get())
          ^     ~~~~~~~~~
/usr/include/c++/v1/tuple:444:8: note: in instantiation of member function
'std::__1::__tuple_leaf<0, (lambda at src/tag/ApeReplayGain.cxx:67:18) &&,
false>::__tuple_leaf'
      requested here
struct __tuple_impl<__tuple_indices<_Indx...>, _Tp...>
       ^
/usr/include/c++/v1/functional:1286:26: note: in instantiation of member
function 'std::__1::__function::__func<(lambda at
src/tag/ApeReplayGain.cxx:67:18),
      std::__1::allocator<(lambda at src/tag/ApeReplayGain.cxx:67:18)>, bool
(unsigned long, const char *, const char *, unsigned long)>::__func' requested
here
            ::new (__f_) _FF(_VSTD::move(__f));
                         ^
src/tag/ApeReplayGain.cxx:77:31: note: in instantiation of function template
specialization 'std::__1::function<bool (unsigned long, const char *, const
char *, unsigned
      long)>::function<(lambda at src/tag/ApeReplayGain.cxx:67:18)>' requested
here
        return tag_ape_scan(path_fs, callback) && found;
                                     ^
In file included from src/tag/ApeReplayGain.cxx:22:
In file included from src/tag/ApeLoader.hxx:25:
In file included from /usr/include/c++/v1/memory:603:
/usr/include/c++/v1/tuple:321:10: error: static_assert failed "Can not copy a
tuple with rvalue reference member"
        {static_assert(!is_rvalue_reference<_Hp>::value, "Can not copy a tuple
with rvalue reference member");}
         ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/tuple:320:11: error: rvalue reference to type
'allocator<[...]>' cannot bind to lvalue of type 'allocator<[...]>'
        : value(__t.get())
          ^     ~~~~~~~~~
/usr/include/c++/v1/tuple:444:8: note: in instantiation of member function
'std::__1::__tuple_leaf<0, std::__1::allocator<(lambda at
src/tag/ApeReplayGain.cxx:67:18)> &&,
      false>::__tuple_leaf' requested here
struct __tuple_impl<__tuple_indices<_Indx...>, _Tp...>
       ^
/usr/include/c++/v1/functional:1028:26: note: in instantiation of member
function 'std::__1::__function::__func<(lambda at
src/tag/ApeReplayGain.cxx:67:18),
      std::__1::allocator<(lambda at src/tag/ApeReplayGain.cxx:67:18)>, bool
(unsigned long, const char *, const char *, unsigned long)>::__func' requested
here
    ::new (__hold.get()) __func(__f_.first(), _Alloc(__a));
                         ^
/usr/include/c++/v1/functional:992:14: note: in instantiation of member
function 'std::__1::__function::__func<(lambda at
src/tag/ApeReplayGain.cxx:67:18),
      std::__1::allocator<(lambda at src/tag/ApeReplayGain.cxx:67:18)>, bool
(unsigned long, const char *, const char *, unsigned long)>::__clone' requested
here
    explicit __func(_Fp&& __f)
             ^
/usr/include/c++/v1/functional:1286:26: note: in instantiation of member
function 'std::__1::__function::__func<(lambda at
src/tag/ApeReplayGain.cxx:67:18),
      std::__1::allocator<(lambda at src/tag/ApeReplayGain.cxx:67:18)>, bool
(unsigned long, const char *, const char *, unsigned long)>::__func' requested
here
            ::new (__f_) _FF(_VSTD::move(__f));
                         ^
src/tag/ApeReplayGain.cxx:77:31: note: in instantiation of function template
specialization 'std::__1::function<bool (unsigned long, const char *, const
char *, unsigned
      long)>::function<(lambda at src/tag/ApeReplayGain.cxx:67:18)>' requested
here
        return tag_ape_scan(path_fs, callback) && found;
                                     ^
In file included from src/tag/ApeReplayGain.cxx:22:
In file included from src/tag/ApeLoader.hxx:25:
In file included from /usr/include/c++/v1/functional:465:
In file included from /usr/include/c++/v1/memory:603:
/usr/include/c++/v1/tuple:321:10: error: static_assert failed "Can not copy a
tuple with rvalue reference member"
        {static_assert(!is_rvalue_reference<_Hp>::value, "Can not copy a tuple
with rvalue reference member");}
         ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
Makefile:6995: recipe for target 'src/tag/libtag_a-ApeReplayGain.o' failed
gmake[4]: *** [src/tag/libtag_a-ApeReplayGain.o] Error 1
gmake[4]: Leaving directory
'/var/ports/basejail/usr/ports/audio/musicpd/work/mpd-0.18.11'
Makefile:3235: recipe for target 'all' failed
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory
'/var/ports/basejail/usr/ports/audio/musicpd/work/mpd-0.18.11'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[2]: stopped in /basejail/usr/ports/audio/musicpd
*** Error code 1

Stop.
make[1]: stopped in /basejail/usr/ports/audio/musicpd
*** Error code 1

Stop.
make: stopped in /basejail/usr/ports/audio/musicpd

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer crees@FreeBSD.org

-- 
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-195888-13>