From owner-freebsd-pkg@freebsd.org Thu Feb 4 10:24:38 2016 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0186AA9BD82 for ; Thu, 4 Feb 2016 10:24:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DCBE015B3 for ; Thu, 4 Feb 2016 10:24:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DB97BA9BD80; Thu, 4 Feb 2016 10:24:37 +0000 (UTC) Delivered-To: pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DB38AA9BD7F for ; Thu, 4 Feb 2016 10:24:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B35A815B1 for ; Thu, 4 Feb 2016 10:24:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u14AObVW029594 for ; Thu, 4 Feb 2016 10:24:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 206917] ports-mgmt/pkg: url: "file:///xxx" in repos.conf not working! Date: Thu, 04 Feb 2016 10:24:37 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 10:24:38 -0000 ohartman@zedat.fu-berlin.de has reassigned Bugzilla Automation 's request for maintainer-feedback to pkg@FreeBSD.org: Bug 206917: ports-mgmt/pkg: url: "file:///xxx" in repos.conf not working! https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206917 --- Description --- Background: Running CURRENT (FreeBSD 11.0-CURRENT #30 r295138: Tue Feb 2 09:32:43 CET = 2016 amd64) with the lastes updates of ports tree (svn'ed) and using poudriere(8) for local repository creation, I'm not capable of using a local repository = via url: "file:///xxxx" in /usr/local/etc/pkg/repos/myrepo.conf Ant try to install a package from that repository fails with the errors: [...] pkg: file:///pool/poudriere/data/packages/head-amd64-head-default/.latest/meta.t= xz: No such file or directory repository myrepo has no meta file, using default settings pkg: file:///pool/poudriere/data/packages/head-amd64-head-default/.latest/packag= esit e.txz: No such file or directory Unable to update repository myrepo The location provided is the package folder created by poudriere(8) and it contains all the complained tarballs pkg needs, but they are symbolic links= to subfolder ".latest". The above shown error message is produced while delega= tin the url-target directly to subfolder ".latest" since I thought pkg wasn't following symbolic links. When simply exchanging the culprit url: tag in myrepo.conf with url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", the very same remaining configuration setup works as expected! I did not find any hints in the documentation about how to use local repos situated in the local file systems or even the exclusion of the usage of th= ose. I can fetch(1) the files ile:///pool/poudriere/data/packages/head-amd64-head-default/.latest/{meta.t= xz|p ackagesite.txz}! By simply exchanging the URL towards a remote repo as shown above, the installation of packages works. This makes me suspect either a configuration error (which is due to a very sparse documentation regarding file-based rep= os then) or a bug. I assume latter.