Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2014 09:57:11 -0400
From:      Ajtim <lumiwa@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: multimedia/libmtp
Message-ID:  <1670268.DyTlzKqETZ@lumiwa.farms.net>
In-Reply-To: <619e5c9683dcf341ef5fe9e176be15e6@lhaven.homeip.net>
References:  <30399290.qlV5T1rQEn@lumiwa.farms.net> <619e5c9683dcf341ef5fe9e176be15e6@lhaven.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 12 March 2014 08:10:54 The BSD Dreamer wrote:
> Its not doing the right thing about the change in origin....
> 
> So, its trying to build and install 'multimedia/libmtp' and conflicting with
> 'audio/libmtp'.
> 
> Had tried "make deinstall reinstall" of the port, but it also failed.  Then
> noticed that for "deinstall" it said:
> 
>    ===>  Deinstalling for multimedia/libmtp
>    ===>   libmtp not installed, skipping
> 
> but "pkg info libmtp" showed it....
> 
>    libmtp-1.1.6_1
>    Name           : libmtp
>    Version        : 1.1.6_1
>    Installed on   : Tue Feb  4 18:11:08 CST 2014
>    Origin         : audio/libmtp
>    ...
> 
> Guess something needs to tell it deinstall 'audio/libmtp' instead of
> 'multimedia/libmtp' for this case.
> 
> Namely portmaster's REPLACE_ORIGIN mode, where it does a "pkg query" to find
> existing versions of the port and deletes them before (re-)installing the
> port.
> 
> So, ended up invoking:
> 
>    portmaster -o multimedia/libmtp audio/libmtp
> 
> Though in retrospect, perhaps
> 
>    pkg set -o audio/libmtp:multimedia/libmtp
> 
> would've been sufficient?
> 
> On 2014-03-09 17:49, Ajtim wrote:
> > Hi!
> > 
> > Portmaster want to update multimedia/libmtp ion FreeBSD 10.0-RELEASE
> > (amd64):
> > 
> > ===>>> Starting check of installed ports for available updates
> > 
> >         ===>>> The audio/libmtp port moved to multimedia/libmtp
> >         ===>>> Reason: Moved from audio to multimedia
> > 
> > ===>>> Launching child to reinstall libmtp-1.1.6_1
> > 
> > ===>>> All >> libmtp-1.1.6_1 (1/1)
> > 
> >         ===>>> The audio/libmtp port moved to multimedia/libmtp
> >         ===>>> Reason: Moved from audio to multimedia
> > 
> > ===>>> Port directory: /usr/ports/multimedia/libmtp
> > 
> > ===>>> Launching 'make checksum' for multimedia/libmtp in background
> > ===>>> Gathering dependency list for multimedia/libmtp from ports
> > ===>>> Initial dependency check complete for multimedia/libmtp
> > 
> > ===>>> Returning to update check of installed ports
> > 
> > 
> > ===>>> All >> (1)
> > 
> > ===>>> The following actions will be taken if you choose to proceed:
> >         Install multimedia/libmtp
> > 
> > ===>>> Proceed? y/n [y] y
> > 
> > and  than I got am error:
> > 
> > /usr/bin/make  install-exec-hook
> > ln -f -s mtp-connect
> > /usr/ports/multimedia/libmtp/work/stage/usr/local/bin/mtp-delfile
> > ln -f -s mtp-connect
> > /usr/ports/multimedia/libmtp/work/stage/usr/local/bin/mtp-getfile
> > ln -f -s mtp-connect
> > /usr/ports/multimedia/libmtp/work/stage/usr/local/bin/mtp-newfolder
> > ln -f -s mtp-connect
> > /usr/ports/multimedia/libmtp/work/stage/usr/local/bin/mtp-sendfile
> > ln -f -s mtp-connect
> > /usr/ports/multimedia/libmtp/work/stage/usr/local/bin/mtp-sendtr
> > Making install in util
> > 
> >  /bin/mkdir -p
> > 
> > '/usr/ports/multimedia/libmtp/work/stage/usr/local/libdata/pkgconfig'
> > 
> >  install  -o root -g wheel -m 444 libmtp.pc
> > 
> > '/usr/ports/multimedia/libmtp/work/stage/usr/local/libdata/pkgconfig'
> > ====> Compressing man pages (compress-man)
> > ===>  Installing for libmtp-1.1.6_1
> > ===>  Checking if multimedia/libmtp already installed
> > ===>   Registering installation for libmtp-1.1.6_1 as automatic
> > Installing libmtp-1.1.6_1...pkg-static: libmtp-1.1.6_1 conflicts with
> > libmtp-1.1.6_1 (installs files into the same place).  Problematic file:
> > /usr/local/share/licenses/libmtp-1.1.6_1/catalog.mk
> > *** Error code 70
> > 
> > Stop.
> > make[1]: stopped in /usr/ports/multimedia/libmtp
> > *** Error code 1
> > 
> > Stop.
> > make: stopped in /usr/ports/multimedia/libmtp
> > 
> > ===>>> Installation of libmtp-1.1.6_1 (multimedia/libmtp) failed
> > ===>>> Aborting update
> > 
> > ===>>> Update for multimedia/libmtp failed
> > ===>>> Aborting update
> > 
> > ===>>> Killing background jobs
> > Terminated
> > 
> > ===>>> You can restart from the point of failure with this command line:
> >        portmaster <flags> multimedia/libmtp
> > 
> > Thanks.

I did deinstall /audio/libmtp and than installed multimedia/libmtp

pkg info libmtp
libmtp-1.1.6_1
Name           : libmtp
Version        : 1.1.6_1
Installed on   : Mon Mar 10 06:10:17 EDT 2014
Origin         : multimedia/libmtp
Architecture   : freebsd:10:x86:64
Prefix         : /usr/local
Categories     : multimedia audio
Licenses       : LGPL21
Maintainer     : ports@FreeBSD.org
WWW            : http://libmtp.sourceforge.net/
Comment        : Media Transfer Protocol (MTP) library
Options        :
        MTPZ           : on
Shared Libs required:
        libmtp.so.10
        libintl.so.9
        libgpg-error.so.0
        libgcrypt.so.19
Shared Libs provided:
        libmtp.so.10
Flat size      : 1.04MiB
Description    :
libmtp is an implementation of Microsoft's Media Transfer Protocol (MTP)
in a form of a library.

WWW: http://libmtp.sourceforge.net/


-- 
ajtiM
--------
http://www.redbubble.com/people/lumiwa



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