Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2018 08:12:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 228389] ports-mgmt/pkg: incorrect upgrade with multiple repositories
Message-ID:  <bug-228389-32340-jtWz3DMfsP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-228389-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-228389-32340@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-pkg mailing list
<pkg@FreeBSD.org> for maintainer-feedback:
Bug 228389: ports-mgmt/pkg: incorrect upgrade with multiple repositories
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228389



--- Description ---
I'm maintaining a small subset of (quarterly) ports tree with specific options
(you can see it on http://pkg.uzsolt.hu/) and I'm using FreeBSD's official
(quarterly) repository too.

When I want to try upgrade the packages appears some invalid dependencies:

root # pkg upgrade --dry-run						       

Updating FreeBSD repository catalogue...				       

FreeBSD repository is up to date.					       

Updating uzsolt repository catalogue... 				       

uzsolt repository is up to date.					       

All repositories are up to date.					       

Checking for upgrades (16 candidates): 100%				       

Processing candidates (16 candidates): 100%				       

The following 7 package(s) will be affected (of 0 checked):		       


New packages to be INSTALLED:						       

	schroedinger: 1.0.11_4 [FreeBSD]				       

	gcc6: 6.4.0_4 [FreeBSD] 					       

	mpc: 1.1.0 [FreeBSD]						       

	gcc-ecj: 4.5 [FreeBSD]						       

	binutils: 2.30_2,1 [FreeBSD]					       


Installed packages to be UPGRADED:					       

	mesa-libs: 17.3.8 -> 17.3.9 [FreeBSD]				       

	mesa-dri: 17.3.8 -> 17.3.9 [FreeBSD]				       


Number of packages to be installed: 5					       

Number of packages to be upgraded: 2					       


The process will require 446 MiB more space.				       

89 MiB to be downloaded.						       

Exit 1

The gcc6, mpc, gcc-ecj and binutils are unneeded dependencies (with disabled
FreeBSD repo they don't appear). I created the package games/wesnoth without
OPENMP option. The OPENMP causes gcc-specific dependencies.

In FreeBSD repository the games/wesnoth has OPENMP=ON and I think this is the
root of problem. I tried to set priorities of repositories (lower and higher
too) but didn't change anything.


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228389-32340-jtWz3DMfsP>