[pkg base][pormaster] Origin for base packages = "base"

From: Ilya A. Arkhipov <rum1cro_at_yandex.ru>
Date: Mon, 14 Aug 2017 14:57:25 +0300
Hi there,

After upgrade my system(r322368) to pkg-base system(have 780 packages for world and kernel) I got next issue:
    [11:53am] root:/root # portmaster -a
    ===>>> Gathering distinfo list for installed ports

    ===>>> Starting check of installed ports for available updates


    ===>>> Is /usr/ports/base/Makefile missing?
    ===>>> Aborting update

    [11:53am] root:/root # cat /usr/ports/base/Makefile
    # $FreeBSD: head/base/Makefile 425903 2016-11-11 18:51:42Z bapt $

    # Never add SUBDIRS here as the ports should not be connected to the build
    #
    .include <bsd.port.subdir.mk>


Looks like it related with Origin in base ports:

pkg info -f FreeBSD-kernel-microkernel-12.0.s20170811101514
FreeBSD-kernel-microkernel-12.0.s20170811101514
Name           : FreeBSD-kernel-microkernel
Version        : 12.0.s20170811101514
Installed on   : Fri Aug 11 18:00:03 2017 MSK
Origin         : base  <===================
Categories     : base
Licenses       : BSD2CLAUSE
Maintainer     : re_at_FreeBSD.org
WWW            : https://www.FreeBSD.org
Comment        : FreeBSD MICROKERNEL kernel
Annotations    :
        repo_type      : binary
        repository     : FreeBSD-base
Flat size      : 115MiB
Description    :
FreeBSD MICROKERNEL kernel


portmaster do a:
		port_ver=`pm_make -V PKGNAME`
		[ -z "$port_ver" ] && fail "Is $pd/$origin/Makefile missing?"
and sure it will empty for $origin = base.

For me I did:
1767 >---if [ "$origin" = "base" ]; then                                             
1768 >--->---:

Anybody have the same issue?

-- 
With Best Regards,
Ilya A. Arkhipov
Received on Mon Aug 14 2017 - 09:57:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC