I actually noticed that, too. I'm a little reluctant to completely rebuild a successfully built base (It did take my processor 28 hours to compile that, not including a needed reboot when the whole thing was about 60% done).You might want to fix this:
Code:[00:00:00] Warning: Using '-' in a SETNAME is not recommended as it causes ambiguities with parsing the build name of kde-default-base-options
-
options to base_
options. Or is there a way to do the renaming w/o redoing the whole thing from scratch?-z
option for custom stuff doesn't fit my scenario - I can simply use /var/db/ports, because I just enable as many options as I can in the make config
anyway. Right now, I am recompiling (Poduriere is not complaining about not finding KF5 5.82 vs 5.85), and facing the prospect of tracking down the correct directories. This is easier than fighting with SSL certs and git.# poudriere ports -l
default git+file 2021-12-11 10:52:55 /usr/local/poudriere/ports/default/
# poudriere ports -u -p default
works fine, git fishes out my updates correctly. But: # poudriere bulk -f new_list.txt -j kde
(note, no -z
option, not needed for me) is not working, Poudriere still tries to look for KF5 5.82. But, running # poudriere bulk -f new_list.txt -j kde -vv -p default
produced something interesting. A partial dump of Typescript follows:...
Line 4: =>> [0;0mDebug:[0;0m Reading /usr/local/etc/poudriere.conf[0;0m
...
Line 14: [00:00:00] Loading MOVED for /usr/local/poudriere/data/.m/kde-default/ref/usr/ports
...
Line 20: [1;33m[00:00:01] [0;0m[1;33mWarning: [0;0m([0;36mdevel/kf5-kio[0;0m): [1;34m[0;0m[1;34mDebug:[0;0m deps_fetch_vars: discovered devel/kf5-kio is kf5-kio-5.82.0[0;0m[0;0m
...
# more output follows, 1.7 MB worth of text.
# cat /usr/ports/devel/kf5-kio/distinfo
TIMESTAMP = 1620404276
SHA256 (KDE/frameworks/5.82.0/kio-5.82.0.tar.xz) = cb970d0550054fd0bb0957de010b9ea73b2d89e8df725c0d8344320e82473144
SIZE (KDE/frameworks/5.82.0/kio-5.82.0.tar.xz) = 3330028
# cat /usr/local/poudriere/ports/default/devel/kf5-kio/distinfo
TIMESTAMP = 1628252758
SHA256 (KDE/frameworks/5.85.0/kio-5.85.0.tar.xz) = e4d58a7d2ae6530c4b676fe7f7e4583a86436c68861eb971bf91af9efead19f6
SIZE (KDE/frameworks/5.85.0/kio-5.85.0.tar.xz) = 3200300
/usr/local/bin/poudriere ports -k -d -p default
/usr/local/bin/poudriere ports -c -m null -M /usr/local/poudriere/ports/default -p default
/usr/local/bin/poudriere ports -l
Code:/usr/local/bin/poudriere ports -k -d -p default /usr/local/bin/poudriere ports -c -m null -M /usr/local/poudriere/ports/default -p default /usr/local/bin/poudriere ports -l
poudriere ports -c
and poudriere ports -u
producing the expected results (Plasma bumping from 5.21 to 5.22.5, and KF5 from 5.82 to 5.85), original problem still remains! I can see changed files on disk ( cat distinfo
shows the correct version) but poudriere bulk
still thinks I haven't done a thing! poudriere bulk
:poudriere bulk -f new_list.txt -j kde -p freebsd_kde -z options
poudriere bulk
:poudriere bulk -f new_list.txt -j kde_0 -p my_kde -z options
options
?poudriere bulk
-v
then share a transcript. Include the commands that precede the bulk run. poudriere ports -l
poudriere jail -i -j kde
poudriere jail -i -j kde_0
pkg info -x poudriere ; freebsd-version -kru ; uname -aKU ; pkg -vv | grep -e url -e enabled
What exactly are theoptions
?
Repeat using option-v
then share a transcript. Include the commands that precede the bulk run.
Also, please share the content of new_list.txt, and outputs from the commands below.
poudriere ports -l
poudriere jail -i -j kde
poudriere jail -i -j kde_0
pkg info -x poudriere ; freebsd-version -kru ; uname -aKU ; pkg -vv | grep -e url -e enabled
options
have been prepared as suggested in the poudriere(8) manpage's CUSTOMIZATION section:As a starter, you may want to copy an existing /var/db/ports/ to
/usr/local/etc/poudriere.d/options.
x11-toolkits/kf5-attica
. Its only KF5 dependency is devel/kf5-extra-cmake-modules. 3.3.7_1
and outputs from the commands below.
poudriere ports -l
poudriere jail -i -j kde
poudriere jail -i -j kde_0
pkg info -x poudriere ; freebsd-version -kru ; uname -aKU ; pkg -vv | grep -e url -e enabled
# poudriere ports -l
my_kde git+file 2022-02-10 15:54:54 /usr/myports
# poudriere ports -u -p my_kde
[00:00:00] Updating portstree "my_kde" with git+file... done
# poudriere jail -i -j kde
Jail name: kde
Jail version: 13.0-RELEASE-p5
Jail arch: amd64
Jail method: http
Jail mount: /usr/local/poudriere/jails/kde
Jail fs: zroot/poudriere/jails/kde
Jail updated: 2022-01-09 17:21:45
root@beastie:/home/alex # poudriere jail -i -j kde_0
Jail name: kde_0
Jail version: 13.0-RELEASE-p7
Jail arch: amd64
Jail method: http
Jail mount: /usr/local/poudriere/jails/kde_0
Jail fs: zroot/poudriere/jails/kde_0
Jail updated: 2022-02-09 20:28:08
# pkg info -x poudriere ; freebsd-version -kru ; uname -aKU ; pkg -vv | grep -e url -e enabled
poudriere-3.3.7_1
13.0-RELEASE
13.0-RELEASE
13.0-RELEASE
FreeBSD beastie.localdomain 13.0-RELEASE FreeBSD 13.0-RELEASE #0: Fri Jul 16 18:48:13 PDT 2021 astyle@beastie.localhost.localdomain:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1300139 1300139
url : "https://pkg.beastie.localdomain/",
enabled : yes,
freebsd_kde
tree, since Poudriere could not detect any changes to it (even though the changes are clearly there! That's why only the my_kde
tree is still there from poudriere ports -l
poudriere bulk
run with the -v
option - that's coming in another post soon.I have not seen any information that says "using poudriere-devel as opposed to plain poudriere will make a difference" .
ports-mgmt/poudriere is our friend, ports-mgmt/poudriere-devel moreso because it can fetch packages for things that need not be built. A great time-saver.
devel/kf5-extra-cmake-modules
, because that one doesn't have any KF5 dependencies. poudriere bulk -v -f new_list.txt -j kde_0 -p my_kde -z options
. # zfs list | grep poudriere
zroot/poudriere 18.4G 163G 96K /zroot/poudriere
zroot/poudriere/data 14.0G 163G 144K /usr/local/poudriere/data
zroot/poudriere/data/.m 128K 163G 128K /usr/local/poudriere/data/.m
zroot/poudriere/data/cache 33.9M 163G 33.9M /usr/local/poudriere/data/cache
zroot/poudriere/data/images 96K 163G 96K /usr/local/poudriere/data/images
zroot/poudriere/data/logs 265M 163G 265M /usr/local/poudriere/data/logs
zroot/poudriere/data/packages 13.7G 163G 13.7G /usr/local/poudriere/data/packages
zroot/poudriere/data/wrkdirs 96K 163G 96K /usr/local/poudriere/data/wrkdirs
zroot/poudriere/jails 2.76G 163G 96K /zroot/poudriere/jails
zroot/poudriere/jails/kde 1.38G 163G 1.38G /usr/local/poudriere/jails/kde
zroot/poudriere/jails/kde_0 1.38G 163G 1.38G /usr/local/poudriere/jails/kde_0
zroot/poudriere/ports 1.63G 163G 96K /zroot/poudriere/ports
zroot/poudriere/ports/default 96K 163G 96K /usr/local/poudriere/ports/default/
zroot/poudriere/ports/freebsd_kde 873M 163G 873M /usr/local/poudriere/ports/freebsd_kde/
zroot/poudriere/ports/my_kde 798M 163G 798M /usr/myports
poudriere bulk
output by specifying the -v
option twice, so maybe I'll go with that. [00:00:04] Checking for stale cache files
[00:00:04] Checking packages for incremental rebuild needs
[00:00:05] Checking packages for missing dependencies
[00:00:05] Deleting stale symlinks... done
[00:00:05] Deleting empty directories... done
[00:00:05] Cleaning the build queue
[00:00:05] Sanity checking build queue
[00:00:05] Processing PRIORITY_BOOST
[00:00:05] Balancing pool
[00:00:05] Recording filesystem state for prepkg... done
-vv
option for poudriere bulk
... turns out Poudriere is getting confused much earlier:[00:00:01] Debug: queueing devel/kf5-extra-cmake-modules into gatherqueue (rdep=listed)
[00:00:01] Warning: (devel/kf5-extra-cmake-modules): Debug: gather_port_vars_port (devel/kf5-extra-cmake-modules): LOOKUP
[00:00:01] Warning: (devel/kf5-extra-cmake-modules): Debug: deps_fetch_vars: discovered devel/kf5-extra-cmake-modules is kf5-extra-cmake-modules-5.82.0
poudriere bulk
tries to do inside a jail, line it up, and follow along, hopefully I will discover something useful. Stuff like null-mounting, evaluating deps, etc. Getting updates into a jail seems problematic... gotta figure out why.[00:00:00] Updating portstree "my_kde" with git+file... done
Well, when I do this:Without me looking in depth:
– maybe think about the state of the source (from which the tree is updated).
# poudriere ports -l
my_kde git+file 2022-02-10 15:54:54 /usr/myports
# poudriere ports -u -p my_kde
[00:00:00] Updating portstree "my_kde" with git+file... done
# cat /usr/myports/devel/kf5-extra-cmake-modules/distinfo
TIMESTAMP = 1628252745
SHA256 (KDE/frameworks/5.85.0/extra-cmake-modules-5.85.0.tar.xz) = 7a4209c3b113dc50250920186a2d30b71870e11ebb92a700a611b423ce6b6634
SIZE (KDE/frameworks/5.85.0/extra-cmake-modules-5.85.0.tar.xz) = 318048
poudriere bulk -f new_list.txt -j kde_0 -p my_kde -z options
. Even git log looks OK outside of the jail.git+file
, I'm not familiar with that combination, where exactly is the source?The update is done, but what about the source from which it updates?
I mean,git+file
, I'm not familiar with that combination, where exactly is the source?
git+file
- in my case, the source is a bare git tree at git push
from /usr/local/poudriere/ports/freebsd_kde/. I thought I got git working OK as per this thread:git+https
first, but ended up going with git+file
because git did not like self-signed certs that I set up. git push
from /usr/home/astyle/my_ports/ # poudriere ports -c -m git+file -B master -p freebsd_kde
. That created a tree at the expected location (/usr/local/poudriere/ports/freebsd_kde/), and a corresponding ZFS dataset. # poudriere jail -c -v 13.0-RELEASE -a amd64 -j kde_0
. That created a jail at the expected location (/usr/local/poudriere/jails/kde_0/), and a corresponding ZFS dataset. poudriere bulk
is a success.# pwd
/usr/home/astyle/my_ports/
# cat devel/kf5-kio/distinfo
TIMESTAMP = 1620404276
SHA256 (KDE/frameworks/5.82.0/kio-5.82.0.tar.xz) = cb970d0550054fd0bb0957de010b9ea73b2d89e8df725c0d8344320e82473144
SIZE (KDE/frameworks/5.82.0/kio-5.82.0.tar.xz) = 3330028
# portsnap extract -p /usr/home/astyle/my_ports/ devel/kf5-kio/
# cat devel/kf5-kio/distinfo
TIMESTAMP = 1628252758
SHA256 (KDE/frameworks/5.85.0/kio-5.85.0.tar.xz) = e4d58a7d2ae6530c4b676fe7f7e4583a86436c68861eb971bf91af9efead19f6
SIZE (KDE/frameworks/5.85.0/kio-5.85.0.tar.xz) = 3200300
# git status
(shows that my edits are visible, but need to be staged for commit)
# git add --all
(Stages everything I edited)
# git commit -m 'Commit 1, KF5 5.82 -> 5.83, Plasma5 5.21.5 -> 5.22.5'
# git push /usr/local/www/git/ports.git/ master
# cd /usr/local/www/git/ports.git/
# git log
(My commit entry shows up, among other output)
# cat devel/kf5-kio/distinfo
TIMESTAMP = 1628252758
SHA256 (KDE/frameworks/5.85.0/kio-5.85.0.tar.xz) = e4d58a7d2ae6530c4b676fe7f7e4583a86436c68861eb971bf91af9efead19f6
SIZE (KDE/frameworks/5.85.0/kio-5.85.0.tar.xz) = 3200300
(So far, so good)
# cd /usr/home/astyle
# poudriere ports -u -p freebsd_kde
(Message of success, "ports -u" is really a front-end to "git pull /usr/local/www/git/ports.git/ master")
# cd /usr/local/poudriere/ports/freebsd_kde/
# git log
(My commit entry shows up, among other output, looks correct)
# cat devel/kf5-kio/distinfo
TIMESTAMP = 1628252758
SHA256 (KDE/frameworks/5.85.0/kio-5.85.0.tar.xz) = e4d58a7d2ae6530c4b676fe7f7e4583a86436c68861eb971bf91af9efead19f6
SIZE (KDE/frameworks/5.85.0/kio-5.85.0.tar.xz) = 3200300
(So far, so good)
# poudriere bulk
makes absolutely no difference! My updates are not visible. The output is exactly the same as the transcript I attached in post #39 Even paying attention to directories is not helping. Maybe I messed up on git??? # cat /var/log/synth/devel___kf5-extra-cmake-modules.log | less
showed me something interesting: --------------------------------------------------
-- PLIST_SUB
--------------------------------------------------
...
...
KDE_APPLICATIONS_VERSION="21.04.1"
KDE_FRAMEWORKS_VERSION="5.82.0"
KDE_PLASMA_VERSION="5.21.5"
...
...