Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2024 14:53:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277865] ports-mgmt/poudriere: builds wrong flavor when default isn't 1st
Message-ID:  <bug-277865-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277865

            Bug ID: 277865
           Summary: ports-mgmt/poudriere: builds wrong flavor when default
                    isn't 1st
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bdrewery@FreeBSD.org
          Reporter: vsasjason@gmail.com
             Flags: maintainer-feedback?(bdrewery@FreeBSD.org)
          Assignee: bdrewery@FreeBSD.org

[?:0] /usr/ports/net-p2p/tremotesf $ grep ^FLAVOR Makefile
FLAVORS=3D        qt5 qt6
FLAVOR?=3D        ${FLAVORS:[2]}
[?:0] /usr/ports/net-p2p/tremotesf $ make -V FLAVOR
qt6
[?:0] /usr/ports/net-p2p/tremotesf $ make -V FLAVORS
qt5 qt6
[?:0] /usr/ports/net-p2p/tremotesf $ sudo poudriere bulk -t -j releng133 -C
net-p2p/tremotesf@qt5
[00:00:00] Creating the reference jail... done
[00:00:00] Mounting system devices for releng133-default
[00:00:00] Stashing existing package repository
[00:00:00] Mounting ccache from: /var/cache/ccache/poudriere/
[00:00:00] Mounting ports from: /usr/ports/
[00:00:00] Mounting packages from:
/usr/local/poudriere/data/packages/releng133-default
[00:00:00] Mounting distfiles from: /usr/ports/distfiles
[00:00:00] Copying /var/db/ports from: /usr/local/etc/poudriere.d/options
[00:00:00] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf
/etc/resolv.conf ->
/usr/local/poudriere/data/.m/releng133-default/ref/etc/resolv.conf
[00:00:00] Starting jail releng133-default
[00:00:00] Creating group pbuild done
[00:00:00] Creating user pbuild done
[00:00:00] Will build as pbuild:pbuild (65529:65529)
[00:00:01] Logs:
/usr/local/poudriere/data/logs/bulk/releng133-default/2024-03-21_16h47m54s
[00:00:01] Loading MOVED for
/usr/local/poudriere/data/.m/releng133-default/ref/usr/ports
[00:00:01] Ports supports: FLAVORS SUBPACKAGES SELECTED_OPTIONS
[00:00:01] Gathering ports metadata
[00:00:03] Calculating ports order and dependencies
[00:00:03] -C specified, cleaning listed packages
[00:00:03] (-C) Will delete existing package: tremotesf-qt6-2.6.1.pkg
[00:00:03] (-C) Flushing package deletions
[00:00:03] Trimming IGNORED and blacklisted ports
[00:00:04] Sanity checking the repository
[00:00:04] Checking packages for incremental rebuild needs
[00:00:05] Deleting stale symlinks... done
[00:00:05] Deleting empty directories... done
[00:00:05] Unqueueing existing packages
[00:00:05] Unqueueing orphaned build dependencies
[00:00:05] Sanity checking build queue
[00:00:05] Processing PRIORITY_BOOST
[00:00:05] Balancing pool
[releng133-default] [2024-03-21_16h47m54s] [balancing_pool] Queued: 1  Buil=
t: 0
 Failed: 0  Skipped: 0  Ignored: 0  Fetched: 0  Tobuild: 1   Time: 00:00:04
[00:00:05] Recording filesystem state for prepkg... done
[00:00:05] Building 1 packages using up to 1 builders
[00:00:05] Hit CTRL+t at any time to see build progress and stats
[00:00:05] [01] [00:00:00] Builder starting
[00:00:05] [01] [00:00:00] Builder started
[00:00:05] [01] [00:00:00] Building net-p2p/tremotesf@qt6 | tremotesf-qt6-2=
.6.1
[00:00:48] [01] [00:00:43] Finished net-p2p/tremotesf@qt6 |
tremotesf-qt6-2.6.1: Success
[00:00:48] Stopping 1 builders
[00:00:48] Creating pkg repository
Creating repository in /tmp/packages: 100%
Packing files for repository: 100%
[00:00:52] Committing packages to repository:
/usr/local/poudriere/data/packages/releng133-default/.real_1711032553 via
.latest symlink
[00:00:52] Removing old packages
[00:00:52] Built ports: net-p2p/tremotesf@qt6
[releng133-default] [2024-03-21_16h47m54s] [committing] Queued: 1  Built: 1=
=20
Failed: 0  Skipped: 0  Ignored: 0  Fetched: 0  Tobuild: 0   Time: 00:00:51
[00:00:52] Logs:
/usr/local/poudriere/data/logs/bulk/releng133-default/2024-03-21_16h47m54s
Cleaning ccache and recalculating stats... done
[00:00:53] Cleaning up
[00:00:53] Unmounting file systems
[?:0] /usr/ports/net-p2p/tremotesf $

But there's should be nothing wrong in '${FLAVORS:[2]}' (isn't it just array
index?):
[?:0] /usr/ports/net-p2p/tremotesf $ env FLAVOR=3Dqt5 make -V PKGNAME
tremotesf-2.6.1
[?:0] /usr/ports/net-p2p/tremotesf $ env FLAVOR=3Dqt6 make -V PKGNAME
tremotesf-qt6-2.6.1
[?:0] /usr/ports/net-p2p/tremotesf $

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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