Bug 262160

Summary: sysutils/racktables: Fails to build under poudriere (bulk -a) on riscv: Error: Duplicated origin for racktables-0.22.0: sysutils/racktables@php80 AND sysutils/racktables
Product: Ports & Packages Reporter: dgilbert
Component: Individual Port(s)Assignee: Dirk Meyer <dinoex>
Status: Closed FIXED    
Severity: Affects Some People CC: bofh
Priority: --- Keywords: needs-qa
Version: LatestFlags: koobs: maintainer-feedback? (bofh)
Hardware: riscv   
OS: Any   

Description dgilbert 2022-02-23 20:37:00 UTC
When building poudriere bulk -a on -CURRENT (on riscv), I get:

[00:00:24] Gathering ports metadata
[00:41:20] Warning: (sysutils/racktables@php80): Error: Duplicated origin for racktables-0.22.0: sysutils/racktables@php80 AND sysutils/racktables. Rerun with -v to see which ports are depending on these.
[00:41:20] Warning: (sysutils/racktables@php81): Error: Duplicated origin for racktables-0.22.0: sysutils/racktables@php81 AND sysutils/racktables. Rerun with -v to see which ports are depending on these.
[00:41:42] Error: Fatal errors encountered gathering ports metadata
[00:41:42] Cleaning up
[00:41:43] Unmounting file systems

This only seems to happen on riscv ... on amd64,  poudriere -a seems happy.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2022-02-24 00:11:18 UTC
^Triage: Possibly related to php80 default version change, loop in committer in the event that's the case, or this is a dupe of another known issue.
Comment 2 Jessica Clarke freebsd_committer freebsd_triage 2022-02-24 01:24:58 UTC
Probably fixed by 74942c05c203 ("sysutils/racktables: fix PKGNAME collisions"). Not a RISC-V-specific issue, just the version of the ports tree you happened to be using.
Comment 3 dgilbert 2022-02-24 05:40:56 UTC
The PHP situation seems to be getting worse, not better.  With an update to ports from half an hour ago, I get:

[2:19:319]root@ump:~> idprio 5 poudriere bulk -p HEAD -j freebsd14 -z ALL -a
[00:00:00] Creating the reference jail... done
[00:00:00] Mounting system devices for freebsd14-HEAD-ALL
[00:00:00] Mounting ports/packages/distfiles
[00:00:00] Using packages from previously failed build: /usr/local/poudriere/data/packages/freebsd14-HEAD-ALL/.building
[00:00:01] Mounting ccache from: /var/cache/ccache
[00:00:01] Mounting packages from: /usr/local/poudriere/data/packages/freebsd14-HEAD-ALL
[00:00:01] Copying /var/db/ports from: /usr/local/etc/poudriere.d/HEAD-options
[00:00:02] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf
/etc/resolv.conf -> /usr/local/poudriere/data/.m/freebsd14-HEAD-ALL/ref/etc/resolv.conf
[00:00:02] Starting jail freebsd14-HEAD-ALL
[00:00:02] Will build as nobody: (65534:65534)
[00:00:11] Logs: /usr/local/poudriere/data/logs/bulk/freebsd14-HEAD-ALL/2022-02-24_04h47m34s
[00:00:11] Loading MOVED for /usr/local/poudriere/data/.m/freebsd14-HEAD-ALL/ref/usr/ports
[00:00:24] Ports supports: FLAVORS SELECTED_OPTIONS
[00:00:24] Gathering ports metadata
[00:41:45] Calculating ports order and dependencies
[00:44:16] Warning: sysutils/hpacucli dependency on misc/compat4x has wrong PKGNAME of 'compat4x-i386' but should be 'compat4x-riscv64'
[00:45:03] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php81 processing package php81-horde-groupware-5.2.22 from deskutils/horde-groupware@php81 -- Is SUBDIR+=horde-base@php81 missing in www/Makefile and does the port provide the 'php81' FLAVOR?
[00:45:03] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php80 processing package php80-horde-groupware-5.2.22 from deskutils/horde-groupware@php80 -- Is SUBDIR+=horde-base@php80 missing in www/Makefile and does the port provide the 'php80' FLAVOR?
[00:45:03] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php80 processing package php80-horde-kronolith-4.2.29 from deskutils/horde-kronolith@php80 -- Is SUBDIR+=horde-base@php80 missing in www/Makefile and does the port provide the 'php80' FLAVOR?
[00:45:03] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php80 processing package php80-horde-mnemo-4.2.14_1 from deskutils/horde-mnemo@php80 -- Is SUBDIR+=horde-base@php80 missing in www/Makefile and does the port provide the 'php80' FLAVOR?
[00:45:03] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php81 processing package php81-horde-kronolith-4.2.29 from deskutils/horde-kronolith@php81 -- Is SUBDIR+=horde-base@php81 missing in www/Makefile and does the port provide the 'php81' FLAVOR?
[00:45:03] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php81 processing package php81-horde-mnemo-4.2.14_1 from deskutils/horde-mnemo@php81 -- Is SUBDIR+=horde-base@php81 missing in www/Makefile and does the port provide the 'php81' FLAVOR?
[00:45:03] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php80 processing package php80-horde-nag-4.2.19 from deskutils/horde-nag@php80 -- Is SUBDIR+=horde-base@php80 missing in www/Makefile and does the port provide the 'php80' FLAVOR?
[00:45:03] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php81 processing package php81-horde-nag-4.2.19 from deskutils/horde-nag@php81 -- Is SUBDIR+=horde-base@php81 missing in www/Makefile and does the port provide the 'php81' FLAVOR?
[00:45:04] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php80 processing package php80-horde-whups-3.0.12 from devel/horde-whups@php80 -- Is SUBDIR+=horde-base@php80 missing in www/Makefile and does the port provide the 'php80' FLAVOR?
[00:45:04] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php81 processing package php81-horde-whups-3.0.12 from devel/horde-whups@php81 -- Is SUBDIR+=horde-base@php81 missing in www/Makefile and does the port provide the 'php81' FLAVOR?
[00:45:07] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php81 processing package php81-horde-gollem-3.0.13 from ftp/horde-gollem@php81 -- Is SUBDIR+=horde-base@php81 missing in www/Makefile and does the port provide the 'php81' FLAVOR?
[00:45:07] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php80 processing package php80-horde-gollem-3.0.13 from ftp/horde-gollem@php80 -- Is SUBDIR+=horde-base@php80 missing in www/Makefile and does the port provide the 'php80' FLAVOR?
[00:45:08] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php80 processing package php80-horde-webmail-5.2.22 from mail/horde-webmail@php80 -- Is SUBDIR+=horde-base@php80 missing in www/Makefile and does the port provide the 'php80' FLAVOR?
[00:45:08] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php80 processing package php80-horde-ingo-3.2.16 from mail/horde-ingo@php80 -- Is SUBDIR+=horde-base@php80 missing in www/Makefile and does the port provide the 'php80' FLAVOR?
[00:45:08] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php81 processing package php81-horde-ingo-3.2.16 from mail/horde-ingo@php81 -- Is SUBDIR+=horde-base@php81 missing in www/Makefile and does the port provide the 'php81' FLAVOR?
[00:45:08] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php81 processing package php81-horde-imp-6.2.27 from mail/horde-imp@php81 -- Is SUBDIR+=horde-base@php81 missing in www/Makefile and does the port provide the 'php81' FLAVOR?
[00:45:08] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php80 processing package php80-horde-imp-6.2.27 from mail/horde-imp@php80 -- Is SUBDIR+=horde-base@php80 missing in www/Makefile and does the port provide the 'php80' FLAVOR?
[00:45:08] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php81 processing package php81-horde-webmail-5.2.22 from mail/horde-webmail@php81 -- Is SUBDIR+=horde-base@php81 missing in www/Makefile and does the port provide the 'php81' FLAVOR?
[00:45:08] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php80 processing package php80-horde-turba-4.2.25 from mail/horde-turba@php80 -- Is SUBDIR+=horde-base@php80 missing in www/Makefile and does the port provide the 'php80' FLAVOR?
[00:45:08] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php81 processing package php81-horde-turba-4.2.25 from mail/horde-turba@php81 -- Is SUBDIR+=horde-base@php81 missing in www/Makefile and does the port provide the 'php81' FLAVOR?
[00:45:12] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php80 processing package php80-horde-passwd-5.0.7 from www/horde-passwd@php80 -- Is SUBDIR+=horde-base@php80 missing in www/Makefile and does the port provide the 'php80' FLAVOR?
[00:45:12] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php81 processing package php81-horde-ansel-3.0.10 from www/horde-ansel@php81 -- Is SUBDIR+=horde-base@php81 missing in www/Makefile and does the port provide the 'php81' FLAVOR?
[00:45:12] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php80 processing package php80-horde-ansel-3.0.10 from www/horde-ansel@php80 -- Is SUBDIR+=horde-base@php80 missing in www/Makefile and does the port provide the 'php80' FLAVOR?
[00:45:12] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php81 processing package php81-horde-passwd-5.0.7 from www/horde-passwd@php81 -- Is SUBDIR+=horde-base@php81 missing in www/Makefile and does the port provide the 'php81' FLAVOR?
[00:45:12] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php80 processing package php80-horde-trean-1.1.10 from www/horde-trean@php80 -- Is SUBDIR+=horde-base@php80 missing in www/Makefile and does the port provide the 'php80' FLAVOR?
[00:45:12] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php81 processing package php81-horde-trean-1.1.10 from www/horde-trean@php81 -- Is SUBDIR+=horde-base@php81 missing in www/Makefile and does the port provide the 'php81' FLAVOR?
[00:45:12] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php81 processing package php81-horde-wicked-2.0.8 from www/horde-wicked@php81 -- Is SUBDIR+=horde-base@php81 missing in www/Makefile and does the port provide the 'php81' FLAVOR?
[00:45:12] Error: compute_deps_pkg failed to lookup pkgname for www/horde-base@php80 processing package php80-horde-wicked-2.0.8 from www/horde-wicked@php80 -- Is SUBDIR+=horde-base@php80 missing in www/Makefile and does the port provide the 'php80' FLAVOR?
[00:45:13] Error: Fatal errors encountered calculating dependencies
[00:45:13] Cleaning up
[00:45:14] Unmounting file systems
Comment 4 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-24 10:39:49 UTC
Should be fixed by now:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0ea01342cc2e97aa546a9cd20e964aa826461d92