ports/109253: Amarok 1.4.5 doesn't compile when configured with MTP option
Rechistov Grigory
ggg_mail at inbox.ru
Sat Feb 17 09:00:12 UTC 2007
>Number: 109253
>Category: ports
>Synopsis: Amarok 1.4.5 doesn't compile when configured with MTP option
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Feb 17 09:00:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Rechistov Grigory
>Release: 6.2-STABLE
>Organization:
>Environment:
FreeBSD ipv82-180.rt.private.mipt.ru 6.2-STABLE FreeBSD 6.2-STABLE #3: Thu Jan 25 15:50:36 MSK 2007 GGG at ipv82-180.rt.private.mipt.ru:/usr/obj/usr/src/sys/DELL_v4 i386
>Description:
The recent version of amarok (1.4.5) produces an error when compiling if it was configured to support MTP mediadevices (first lines of output of make):
In file included from mtpmediadevice.cpp:28:
mtpmediadevice.h:78: error: expected `)' before '*' token
mtpmediadevice.h:188: error: ISO C++ forbids declaration of `LIBMTP_album_t' with no type
As I suppose, this is due to very old version of libmtp in ports collection - 0.0.21, when the current version is 0.1.3.
My attempt to compile libmtp 0.1.x from sources was also unsuccesful
albumart.c: In function `main':
albumart.c:96: error: `LIBMTP_filesampledata_t' undeclared (first use in this function)
It's strange, because LIBMTP_filesampledata_t is defined in sources but I haven't yet figured out why there is an error.
So MTP support is broken at present.
>How-To-Repeat:
# cd /usr/ports/audio/amarok
# make rmconfig
# make config
Enable MTP support
# make
A compile error happens.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list