How to solve dependencies problems - more info

Jerry jerry at seibercom.net
Mon Aug 1 12:46:00 UTC 2011


On Mon, 1 Aug 2011 12:04:38 +0200
Jack Raats articulated:

> ----- Original Message ----- 
> From: "Jack Raats" <jack at jarasoft.net>orac# pkgdb -F
> To: <freebsd-ports at freebsd.org>
> Sent: Monday, August 01, 2011 12:01 PM
> Subject: How to solve dependencies problems
> 
> 
> > Hi,
> >
> > I have a port which uses tidy while another port uses tidy-lib.
> > When installing one of these ports gives dependencies problems.
> >
> > How to solve this problem?
> >
> > Thanks
> > Jack Raats
> 
> orac# pkgdb -F
> --->  Checking the package registry database
> Stale dependency: docproj-jadetex-1.17_4 -> add (www/tidy):
> Fixed. (-> tidy-20000804_2)
> Stale dependency: php5-extensions-1.5 -> tidy-lib-090315.c_1
> (www/tidy-lib): tidy-20000804_2 (score:19%) ? ([y]es/[n]o/[a]ll) [no]
> Install stale dependency? ([y]es/[n]o/[a]ll) [yes]
> [Gathering depends for
> www/tidy-lib ................................... done]
> --->  Installing 'tidy-lib-090315.c_1' from a port (www/tidy-lib)
> --->  Building '/usr/ports/www/tidy-lib'
> ===>  Cleaning for tidy-lib-090315.c_1
> 
> ===>  tidy-lib-090315.c_1 conflicts with installed package(s):
>       tidy-20000804_2
> 
>       They install files into the same place.
>       You may want to stop build with Ctrl + C.
> ===>  Vulnerability check disabled, database not found
> ===>  License check disabled, port has not defined LICENSE
> 
> ===>  tidy-lib-090315.c_1 conflicts with installed package(s):
>       tidy-20000804_2
> 
>       They will not build together.
>       Please remove them first with pkg_delete(1).
> *** Error code 1
> 
> Stop in /usr/ports/www/tidy-lib.
> ** Command failed [exit code 1]: /usr/bin/script -qa 
> /tmp/portinstall20110801-45679-1uf73xx-0 env make
> ** Fix the problem and try again.
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>         ! www/tidy-lib  (unknown build error)
> Command failed [exit code 1]: /usr/local/sbin/portinstall www/tidy-lib
> orac#

www/tidy has a conflicts line: 
	CONFLICTS=      tidy-devel-[0-9]* tidy-lib-[0-9]*

www/tidy-lib does not.

I have no idea why that is although I have run into the same problem
several times myself. I did once about a year ago contact the
respective maintainers; however, I never received a reply.

What I did was install "tidy" and then install "tidy-lib". It seems to
work although it probably should not.

-- 
Jerry ✌
jerry+ports at seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__________________________________________________________________



More information about the freebsd-ports mailing list