Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2007 08:52:29 GMT
From:      Rechistov Grigory<ggg_mail@inbox.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/109253: Amarok 1.4.5 doesn't compile when configured with MTP option
Message-ID:  <200702170852.l1H8qTUV009140@www.freebsd.org>
Resent-Message-ID: <200702170900.l1H90CxX011612@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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