-
rwp
I know if I received different sha256sum results from repeated reads of the same file that I would be tearing the system apart and re-assembling everything hoping for a bad connector.
-
HER
lol
-
HER
looks like it was ram
-
rwp
Actually I am always happy when it is RAM. Because then the problem is easily solved and it is done.
-
topcat001
y agreed best possible outcome
-
Viking667
good morftervening all. I have a makefile question - I have a project I build on multiple hosts, how would I tell FreeBSD, NetBSD and OpenBSD apart using makefile variables? I haven't seen a mention of the OS "name", just versions, mentioned in sys.mk,
-
Viking667
nor have I seen direct mentions in the OpenBSD man page for make
-
jaredj
Viking667: can you check instead for the features your program needs to use?
-
jaredj
i suppose i should say first, what different thing should happen based on what you find out?
-
Viking667
compiler, mainly. Because I'm compiling on NetBSD as well, I'm not counting on the user having installed clang there.
-
Viking667
the program I'm compiling isn't compiler-dependent, but I'm a bit wary about simply slapping in a CC = cc line.
-
Viking667
And I started compiling back in gcc-2.8 days, and the big change back in gcc2.96 was quite the upset for some.
-
Viking667
s/2.8/2.83
-
Viking667
I expect I'll need to answer the same question for the Linux installs.
-
jaredj
i feel like if you solve this really well and portably, you'll have constructed autoconf
-
Viking667
ugh. That thing.
-
jaredj
:D
-
rwp
If you want to keep it simple then I would probably go with CC = cc there. However the general solution to portable build is, probably heresy here in *BSD but, autoconf+automake which work well.
-
rwp
I am a person that thinks progressive improvement is the best way. Start simple. Move forward slowly.
-
Viking667
hm. The project's simple enough, its only real requirements are some sort of pdcurses/ncurses and a working terminal emulator that isn't totally braindead.
-
Viking667
(after all, I started this all off in djgpp days)
-
jaredj
[pawn stars guy] mmmn. best i can do is a working \r
-
Viking667
?
-
jaredj
-
jaredj
*shrug* using autoconf beats creating autoconf by a mile :)
-
jaredj
i'm trying to remember how you hook pkg-config into all that. but i would hope there's like an AC_CURSES sort of macro already written for you that does the right thing
-
Viking667
Has NetBSD even got a pkg-config without that package being part of base?
-
jaredj
as for a working terminal emulator... maybe i will run your program under eshell in emacs. less and vi somehow warn me in such cases that the terminal is not fully functional
-
Viking667
yeah, list doesn't do that either. Mostly my own code from late nineties, other stuff from Bob Stout and someone else.
-
jaredj
well yeah, exactly, "the right thing" when curses is part of base is probably not pkg-config. i feel like linuxes have pkg-config set up for more things more often
-
Viking667
They seem to, yes.
-
jaredj
more things are packages there :)
-
Viking667
far more.
-
nicholaus04
Howdy, folks!
-
nicholaus04
I managed to get TF2 to run, but got stuck since the keyboard input got goofed up.
-
nicholaus04
Basically, mouse input works, but it wasn't picking up on the keyboard. (Probably because of a goofed up layout that LSU chooses when running the game.)
-
nicholaus04
It wasn't like that with HL2:DM (And probably other source games). So it must be a SDL2 goof up.
-
nicholaus04
I could probably test it with a test SDL2 program running in a linux chroot.
-
nicholaus04
Well, keyboard input works when running the game using vulkan, but poops itself when using OpenGL.
-
Viking667
strange...
-
nicholaus04
Other than that, i tested it with a simple SP session on itemtest, and ctf_2fort, and it's a solid >=60 FPS out of the gate with all video settings set to low, with some being configured via the console, and some launch options.
-
nicholaus04
Then with 16 TF Bots(nextbot), it kinda dips down, but it's not that bad.
-
warsoul
Run 'freebsd-update [options] fetch' first.
-
warsoul
im getting this when i run: freebsd-update install
-
remiliascarlet
SKull: "systemd caused an outrage in the linux world. but was that outrage based upon actual user experience or just people going "it's new and therefore i don't like it!"." If I were to say, the former. SystemD is bloated, buggy, it outright destroys the underlying distro overtime (which happened to some of my Debian and Arch machines in the past), very anti-Unix-like, and serious exploits are
-
remiliascarlet
commonly marked as "won't fix" or "it's not a bug, it's a feature". The only people who say "it's new and therefore I don't like it" are progressive (or regressive rather) YouTubers like "TheLinuxExperiment" who keep pushing for making Linux more like Windows, but without Microsoft (which is funny, because Microsoft is among the biggest sponsors of the Linux kernel, and they have quite a lot of
-
remiliascarlet
say in it too).
-
remiliascarlet
Just wondering, what exactly is the process of submitting a package to make it installable with pkg?
-
kevans
remiliascarlet: create a port, Q/A the port, generate a patch against the ports tree that adds your port, post it to bugzilla
-
kevans
the porter's handbook goes into all of that in greater detail
-
remiliascarlet
kevans: Thanks, I'll forward that then.
-
nicholaus04
Yep, multiplayer in TF2 works pretty darn well. (Again, ignoring the fact i have a crummy internet connection.)
-
nicholaus04
Tried a community server, and then casual. Both 100% work without an issue.
-
nicholaus04
Though, i did use mastercomfig for some tweaks here and there.
-
nicholaus04
Howdy, folks!
-
remiliascarlet
I tried TF2 before, but then I saw it was pretty much online multiplayer only, and never played it again.
-
antranigv
mane heyoo! how's your server going?
-
Hecate
morning
-
mane
antranigv: :-) it vlepy.com hostsujemy.net and nocne-rozmowy.pl
-
mane
Soon gonna be more
-
mane
Thanks for asking
-
antranigv
mane nice!
-
mane
It hosts*
-
mane
I just don’t know why my pf.rules won’t be loaded on boot
-
mane
I need to do that manually
-
jan0sch
mane: Did you do sysrc pf_enable=YES ?
-
jan0sch
Also sysrc pf_rules=PATH might be needed if it is not /etc/pf.conf.
-
mane
jan0sch: I got those
-
jan0sch
Weird, should work fine. Any error messages during boot? I once had the problem that I had an interface in the rules that was created by a service which started after pf and that messed things up.
-
mane
idk
-
uskerine
hi, I am reinstalling FreeBSD in my old Dell Latitude E4200 but when selecting 1. Boot Installer from the USB image it gets stuck at Loading Kernel. Does anyone have faced similar issue? any ideas/tips? FreeBSD14.1
-
uskerine
I set verbose and now it works
-
uskerine
I get a lot of ahcich4 CONNECT requested / AHCI reset / SATA connect timeout AHCI reset : device not found
-
uskerine
why?
-
Michelle
rwp, you've already said, df gets it wrong so it's all good... mostly... the thing i find odd is the 'size' in 'zfs list' however, 'zpool list' reports the correct size. I guess it's doing the 84T minus what's used in other datasets? (if so then it's correct, confusing but correct.)
-
yuripv
there's no "size" in "zfs list"?
-
Michelle
yeah ignore that.. my f*up .. changed the order in my paste block and didn't read it.. I need sleep i think.
-
Michelle
(or a good strong drink)
-
Michelle
anyone know how to get du to give me a total for each directory in the root file system and only root file system? (tip: -hsx * isn't going to cut it as it will pick up the mount points it's not supposed to traverse on the command line and traverse them (correctly) as they are
-
Michelle
'specified')
-
SlimeDiamond
du -sh /*/ might do what you're looking for
-
nimaje
-d 1 (as -s is a shortcut for -d 0)
-
Michelle
nimaje, no
-
nimaje
you have to keep -x of course
-
Michelle
i did
-
nimaje
what is your problem with it? for me du -hxd 1 / seems to do exactly what you want
-
Michelle
ahh hang on i might a misunderstood - rerunning as / and not /*
-
Michelle
i have 2 zfs pools in the root mounted at /cache and /sorbs .. i don't want them in the results because they are huge with a huge number of files and something just filled up the root fs and I'm looking for the directory where it resides... as it happens i found it without getting du to work.. but 30 odd years using *NIX and never worked out how to do it :P
-
Michelle
"sudo du -xhd 1 /" did indeed work perfectly and did what i wanted.
-
phaleon
mane: here I have a /dev/pf and I enable pf related options in kernel
-
uskerine
where can I find information about the VT, specifically, I am getting VGA 640x480 and I remember before (in FreeBSD 12) I managed to get it properly configured with a smaller font
-
uskerine
thanks
-
sopparus
does freebsd 14.1 base not include ipv6 dhcp client?
-
nimaje
afaik it does not, are you in a situation where you need one?
-
sopparus
yes, but i can install from ports as well
-
sopparus
which one is recommended?
-
sopparus
i only find isc dhcp package, which is not developed anymore as far as I understand
-
nimaje
there is dhcpcd which had a release in may
-
daemon
hey all when using vimage with jails, I should be able to use ifconfig_epair100b="DHCP" in the rc.conf of the jail if epair100a is connected to a bridge which also has a dhcp server connected right? (I seen to get getting a bpf permission error when trying this)
-
daemon
the error is jail side, ah I bet I need raw sockets
-
daemon
oh I have them enabled already, any idea what I am missing?
-
uskerine
pkg install drm-kmod, and then in /etc/rc.conf kld_list="i915kms" (for Intel)
-
rwp
Michelle, I wouldn't say "wrong" so much as "different". df was created when hard partitions were disks. But zfs pools sharing space across datasets. So for any particular dataset the size is an undefined quantity. The pooled data might be consumed by any of the datasets. So df is wired to use available as size instead.
-
rwp
Michelle, This results in df reporting that as datasets consume space that the file system shrinks and grows as datasets free up space. Which is certainly an odd thing!
-
polarian
why is vlc not in the quarterly repositories?
-
Michelle
rwp point taken.. however it is unexpected behaviour to some respects (which to me is 'wrong') .. I can understand that for (sub)datasets but the "root" pool I would expect it to show everything because all the datasets are children (as terminology is likely wrong/confusing - in my case I suggest 'sorbs' should show the full pool size ie 'zpool list' reported, and then similar to existing (if not the same) for sorbs/Movies sorbs/TV sorbs/Music etc..)
-
nimaje
polarian: probably x265, like some other stuff, not sure why the checksum of that patch changed, which made the build fail
-
polarian
nimaje: ah
-
polarian
ok np thank you
-
daemon
hey all I am running 14.1-RELEASE-p2, I did a buildworld/installworld to reach this patchset, so from there I did an installworld to zroot/usr/venv/jail/mount/base and made a snapshot, I then made a clone, which I used for: zroot/usr/venv/jail/mount/ports.paulwebster.online, I then created a jail, here is my jail.conf:
dpaste.org/j2miX and my /etc/devfs.rules:
dpaste.org/qi1JJ in my /etc/rc.conf in the jail I have:
-
daemon
ifconfig_epair100b="up"
-
daemon
and in /etc/rc.local I have: dhclient epair100b, this worked before I rebooted. After reboot I am receiving this when I jexec into the jail:
dpaste.org/rPPap what have I got wrong?
-
nimaje
no idea what you did wrong, but why dhclient in rc.local instead ifconfig_epair100b="up DHCP" ?
-
daemon
debugging really
-
daemon
I tried that originally but what it does it make it so 'service jail restart' hangs
-
daemon
if I can get it working via rc.local that would be the next step :)
-
nimaje
how about first try with giving it some static ip and then debug from there?
-
daemon
it works fine with a static ip
-
nimaje
and trying dhclient from that started jail?
-
daemon
yep same problem
-
jaredj
"Can't find free BPF," according to the paste
-
daemon
indeed
-
daemon
and its correct its not in /dev
-
daemon
however it should be according to devfs.rules
-
jaredj
-
daemon
yeah its basically the same as what I have:
dpaste.org/j2miX
-
daemon
oops wron link
-
daemon
-
daemon
and in my jail.conf I am of course applying ruleset 10
-
daemon
and I got it working :) I have no idea why, I just recompiled my kernel for an unrelated issue; on box reboot it now just magically works
-
daemon
huh interesting, when I move to using ifconf_....=DHCP it still hangs
-
daemon
it seems to prefer the rc.local dhclient method
-
daemon
infact it does not just prefer it, it does not even get an ip if I use ifconfig_e100b=DHCP in rc.conf
-
daemon
so now onwards with nat and the firewall (yay)
-
debdrup
daemon: did you forget the pub?
-
polarian
I cant for the life of me find out how to mount/read a zvol on the host system, bhyve won't boot it and I can't figure out how to investigate why
-
polarian
any i deas?
-
jschmidt3786
zvols are block devices, not filesystems.
-
vortexx
polarian: zpool import zvol?
-
jaredj
polarian: i think you want mdconfig(8)
-
jaredj
er wait what partitions and/or filesystems are on the zvol?
-
polarian
jaredj: yes
-
polarian
the zvol should have a gpt partition table on it with OpenBSD FFS2 filesystems (UFS driver can mount these and mostly read the data)
-
polarian
I have to figure out why bhyve cant find /bsd
-
polarian
(the kernel)
-
jaredj
yeah. soo after you mdconfig -a it, i think the geom utilities (gpart, yes?) should show its partitions
-
V-T60
Hello. The troubles with prosody started after update
-
V-T60
For me this is very sad.
-
V-T60
Hello. The troubles with prosody started after upgrade*
-
V-T60
/usr/local/bin/lua54: error loading module 'util.encodings' from file '/usr/local/lib/prosody/util/encodings.so': Shared object "libicui18n.so.73" not found, required by "encodings.so"
-
V-T60
That is not starting anymore. What can I do?
-
V-T60
Now I can't write to anyone...
-
scoobybejesus
that kinda thing happens to me, V-T60, when i don't update the base system before getting a newer pkg update
-
V-T60
scoobybejesus: How is that?
-
scoobybejesus
well, is this in a jail or on the host?
-
V-T60
Did I choose to upgrade incorrect way?
-
nimaje
so you did pkg upgrade and that updated prosody and now it doesn't work anymore?
-
V-T60
On the host......
-
V-T60
Yes
-
V-T60
I did pkg update and pkg upgrade
-
V-T60
It upgraded all packages and now prosody doesn't work
-
scoobybejesus
are you on 14.1-RELEASE-p3?
-
V-T60
Now I feel so isolated.
-
V-T60
FreeBSD orangepi 14.0-RELEASE FreeBSD 14.0-RELEASE #0 releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 09:03:07 UTC 2023 root⊙rnfo:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm
-
V-T60
How do I?
-
nimaje
did it update lua or icu too?
-
scoobybejesus
what does freebsd-version -kru show?
-
V-T60
14.0-RELEASE
-
V-T60
14.0-RELEASE
-
V-T60
14.0-RELEASE
-
V-T60
That's end?
-
V-T60
I broke the computer?
-
scoobybejesus
seems like you might want to do freebsd-update fetch install
-
V-T60
literalyl?
-
V-T60
literally?
-
nimaje
hm, do you have /usr/local/lib/libicui18n.so.74 ?
-
scoobybejesus
to get to the latest patch release
-
V-T60
# freebsd-update fetch install
-
V-T60
# file /usr/local/lib/libicui18n.so.74
-
V-T60
/usr/local/lib/libicui18n.so.74: symbolic link to libicui18n.so.74.2
-
V-T60
Excellent...
-
nimaje
so for some reason that '/usr/local/lib/prosody/util/encodings.so' is linked to the wrong version
-
V-T60
Fetching public key from update1.freebsd.org... failed.
-
Licca
for years, I've had a really stupid idea that I've wanted to do that would require me to do a "kBSD" of one sort or another (thought of doing it with NetBSD's kernel, but I haven't been able to split it out of their build system - so maybe I could do it with a FreeBSD kernel and libc instead). it's a *really* stupid idea though, about a SysV-flavored *x with BSD-level freeness (I got reasons, but they're mostly daft)
-
V-T60
linked to the wrong version?
-
V-T60
Can I link to the right version?
-
V-T60
No escape anymore?
-
V-T60
Can I downgrade the package?
-
V-T60
root@orangepi:/usr/local/lib/prosody/util # file encodings.so
-
V-T60
encodings.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (FreeBSD), dynamically linked, for FreeBSD 14.0 (1400097), stripped
-
V-T60
What can be done with it?
-
V-T60
Does FreeBSD allow to install the earlier version?
-
scoobybejesus
i think you can install from your pkg cache, but a quick search doesn't reveal how to specify that it use the cached version
-
V-T60
i broke the computer. excellent.
-
V-T60
so now no other way but compile freebsd from sources?
-
nimaje
pkg add /var/cache/pkg/...
-
V-T60
Installing prosody-0.12.4...
-
V-T60
the most recent version of prosody-0.12.4 is already installed
-
V-T60
There are only this one...
-
V-T60
any way find correct libicu?
-
nimaje
the problem is that prosody expects an older version of icu for some reason, so you should try pkg install -f prosody first
-
skered
Is icu installed?
-
jschmidt3786
is the old pkg version in /var/cache/pkg/? what nimaje was pointing out...
-
V-T60
# ls -alh /var/cache/pkg/prosody-0.12.*
-
V-T60
lrwxr-xr-x 1 root wheel 29B Jan 12 2010 /var/cache/pkg/prosody-0.12.4.pkg -> prosody-0.12.4~39b955520d.pkg
-
V-T60
-rw-r--r-- 1 root wheel 367K Jan 11 2024 /var/cache/pkg/prosody-0.12.4~39b955520d.pkg
-
V-T60
It says Jan 12
-
V-T60
Probably it is the old one?
-
V-T60
though it is weird.
-
V-T60
It says that I already have this version
-
V-T60
i need -f?
-
jschmidt3786
yeah, I'd try that - pkg install -fy /var/cache/pkg/prosody-0.12.4.pkg
-
V-T60
yes, i tried
-
V-T60
no help
-
V-T60
Shared object "libicui18n.so.73" not found, required by "encodings.so"
-
jaredj
% pkg search -f prosody
-
V-T60
i have icu-74.2_1,1 International Components for Unicode (from IBM)
-
jaredj
[...] prosody-0.12.4_3 [...]
-
jaredj
Shared Libs required:
-
jaredj
libicuuc.so.74
-
jaredj
libicui18n.so.74
-
jaredj
libicudata.so.74
-
V-T60
and this too lua54-icu-utils-0.0.20220329_4 Lua interface to selected ICU utilities
-
jaredj
maybe you need a slightly newer prosody package?
-
V-T60
that was without _3
-
V-T60
from my /var/cache/pkg
-
V-T60
now i can upgrade back
-
V-T60
Installed packages to be UPGRADED: prosody: 0.12.4 -> 0.12.4_3
-
V-T60
should i?
-
V-T60
ok, i try
-
jaredj
well, you have that 74 version of the icu library, so i'd say yes
-
skered
prosody should have been rebuilt if icu changed.
-
V-T60
what on earth.............
-
V-T60
# service prosody restart
-
V-T60
prosody not running?
-
V-T60
Starting prosody.
-
nimaje
V-T60: install -f to make pkg ignore that it already has it and download and install anyway, not add -f
-
V-T60
it started working
-
jaredj
hurrah!
-
V-T60
insane
-
V-T60
21:09:44 - Connection re-established. Nick
-
V-T60
You saved my XMPP from collapse
-
V-T60
I say: #freebsd is good
-
V-T60
Nice.
-
jaredj
ohhh - i see, you would have expected pkg upgrade to do that. that is odd, i don't know why it didn't
-
Licca
insane is waht I'm trying to do by making a SysV analog off a BSD kernel, lol
-
V-T60
thanks
-
jaredj
:D
-
nimaje
V-T60: so your first pkg upgrade didn't update prosody for some reason
-
V-T60
i don't know what was that
-
V-T60
but i managed to say good bye to my prosody server
-
Licca
x.x
-
skered
V-T60: Do you still have the full output of the pkg upgrade?
-
skered
If so paste it to
pad.bsd.to
-
jaredj
Licca: whyyy
-
V-T60
-
Licca
"alternate history" OSes are kinda my thing lol
-
skered
V-T60: No the first time you ran pkg upgrade
-
Licca
and a kernel is a bit too much for my capability lol
-
Licca
hell, I made a few attempts to rewrite a simpler kernel, like MS-DOS...but since MS-DOS 4.01 has been MIT'd, that's been obviated
-
V-T60
-
V-T60
i don't even understand now why on earth
-
Licca
I actually did start writing my own userland, though I'll prolly can a lot of it
-
V-T60
the prosody wasn't even upgraded
-
V-T60
i expected that something could be changed for good with an upgrade
-
V-T60
and first of all decided to restart the prosody.
-
skered
I'd guess it was with the recalc after the init. fetching.
-
skered
oh... During the icu 74.2 bump prosody wasn't revision bumped.
-
V-T60
now i don't understand, did i have _3 or the simple one
-
V-T60
What does it mean?
-
V-T60
>During the icu 74.2 bump prosody wasn't revision bumped
-
V-T60
How is that so?
-
V-T60
oh, yeah, looks so?
-
V-T60
lrwxr-xr-x 1 root wheel 31B Aug 16 21:08 prosody-0.12.4_3.pkg -> prosody-0.12.4_3~361f8b79d3.pkg
-
V-T60
The new file appeared in my /var/cache/pkg
-
V-T60
skered: Should I expect for package working stable now?
-
V-T60
Or are there still some issues I should know about?
-
skered
I think you're alright.
-
V-T60
good.
-
V-T60
And looks like the package is new
-
V-T60
So I changed something for good.
-
skered
Everything that uses icu should be broken?
-
V-T60
What do you mean?
-
V-T60
What is broken?
-
Licca
so I wanted to come up with a minimal "build system", with just a kernel, libc and /bin/sh, to which I could start adding tools one by one
-
skered
V-T60: Nothing.
-
jaredj
V-T60, "bump" here means moving to a new version. So someone maintaining the libicui18n port, which gets built into the packages, which contain the files libicui18n, moved from making it build version 73 to version 74
-
skered
But prosody should have built multiple time sinsce isu 74.2.. I dunno something odd with pkg
-
jaredj
V-T60: the number after the underscore in the package version is the 'revision'. this is bumped up to a new number when a new package needs to be released even though the software being built has not changed (e.g., prosody here: it was version 0.12.4 before and version 0.12.4 after)...
-
V-T60
why you call this built? oh, or you mean package maintainers?
-
jaredj
yes.
-
jaredj
yes.
-
jaredj
so, the 0.12.4 (underscore-nothing) package you had, contained libraries that depended on libicui18n version 73
-
V-T60
oh, so you mean the version of this lib shouldn't have been changed?
-
V-T60
during the _n
-
jaredj
the 0.12.4 underscore 3 package contains libraries that depend on libicui18n version 74
-
V-T60
oh, so that's strange if so
-
jaredj
it's the same version of the prosody source code being built, 0.12.4, but other things have changed; that's why the underscore numbers are there and are incremented
-
jaredj
the dependencies between the packages /should/ have made it so your upgrade would Just Work
-
V-T60
yeah, that is what i expected.
-
skered
I'd like to guess a second `pkg upgrade` might have fixed it too.
-
V-T60
hmmm
-
skered
I've seen this in the past with pkg though when making a large jump (all be it 1) between versions.
-
skered
This would have been at elast a year old between updates?
-
ek
Albeit?
-
antranigv
hey uncle dch . I see that "DTRACE : on" in erlang-runtime27, however, I still don't see erlang* in dtrace -l, any thoughts?
-
yuripv
antranigv: did you specify the binary using -c cmd?
-
yuripv
otherwise it would list just static kernel probes
-
antranigv
yuripv usually I don't need to do that. one sec
-
antranigv
that's... interesting
-
antranigv
it works fine with `dtrace -l` when using erl, but not when running `iex`
-
mccd
Hey! Has anyone managed to setup brightness controls in VT?
-
mccd
using the brightness buttons
-
antranigv
oh shit, I just realized! I ran `iex` before loading DTrace. I'm sorry. dch you may ignore me.
-
uskerine
could it be that firefox is not available for 14.1-RELEASE in amd64 ?
-
miojo
-
miojo
# mkdir -p /usr/local/etc/pkg/repos
-
miojo
# echo 'FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" }' > /usr/local/etc/pkg/repos/FreeBSD.conf
-
miojo
pkg update
-
miojo
pkg install firefox
-
uskerine
I know how to do that
-
uskerine
-
uskerine
I installed 14.1-RELEASE, that would be the quarterly, right?
-
uskerine
so it is not available -I am a bit surprised, that is all-
-
rwp
firefox is available in quarterly and I have it installed from quarterly but the x265 dependency failed to build in the most recent build.
-
rwp
-
uskerine
so it is a temporary unavailability (right now my understanding is that it is not available as per the freshports page for amd64). -I can not install it in my system-
-
rwp
In this case the error is "SHA256 Checksum mismatch for x265-asm-warnings.patch".
-
rwp
Not unless you have a previous package of it saved off. And the dependencies. Which you might have on another system.
-
uskerine
I took the opportunity to see if there was any other browser more lightweight ot be used (I only have to access some router admin web from that system)
-
uskerine
Tried dillo but it does not work
-
rwp
The most recentkly installable version that I have installed is firefox-129.0_1,2.pkg from Aug 3.
-
uskerine
rwp so can you use a previous version?
-
rwp
What do you mean? I am running it right now.
-
uskerine
if I type pkg install firefox, it does not work
-
rwp
I just can't update it until the next version builds and becomes available.
-
uskerine
freshports show "-" for amd64 14 quarterly
-
polarian
uskerine: 14.1-RELEASE is quarterly yes...
freshports.org/www/firefox shows there is no build available for quarterly 14
-
rwp
Right. Because the build failed for it.
-
rwp
Actually for firefox and vlc and all of the consumers of x265 they were all skipped because x265 failed.
-
rwp
This is one of those frequently occurring problems that seems like it would be easy to improve. (Says I a newcomer to FreeBSD.) Don't remove the previous packages from the repo until the new packages have built.
-
polarian
rwp: feel free to take it to the ML and report the issue :)
-
polarian
I am not sure about the proper place to stick it but I am sure a freebsd staff member will see it on the mailing list
-
rwp
uskerine, Pop over to
pkg-status.freebsd.org/beefy20/buil…0amd64-quarterly&build=d032848c5848 and then scroll down to skipped ports then enter "firefox" into the search field.
-
rwp
polarian, I am pretty sure that to the powers-that-be the current situation is a well known one to them. And there is probably a very good reason things are as they are now. But that reason is not really strongly visible to the community. And this issue keeps popping up here as people run into the problem.
-
polarian
well take Arch Linux as an example, the package in the main repositories is only replaced after it is built and tested within a test repository
-
polarian
so it is valid criticism :)
-
rwp
I would think FreeBSD would be like that but it is not.
-
uskerine
the root cause is that dependencies are a modern plague
-
uskerine
what happened to download the .tar.Z uncompress and "make" "make install"
-
rwp
Since it takes quite a few days for the build systems to complete builds, days and days, holding cycles for a full complete build would delay the release of working builds.
-
rwp
uskerine, You have hit the point exactly! I think the common wisdom is that people who care about this should run a local build and the tool is poudriere.
-
rwp
I am a newcomer myself and have not gotten around to setting up poudriere but it has gotten down to be on my short list of tasks that I simply must do soon.
-
rwp
Meanwhile... I pkg upgrade pretty much daily and so catch almost every pkg release. Therefore if I need to install something that is not in the upstream I can always transfer it from my very long existing /var/cache/pkg/* directory of previous pkgs.
-
polarian
rwp: freebsd is all about stability... how can a system be stable if one second there is a port and the next second it is gone.
-
uskerine
what I mean is something as classic as xfig requires 25 dependencies
-
polarian
Say if this happened within quarterly for an important network utility or something... and a companies entire workflow is ruined for 24 hours due to it
-
rwp
uskerine, I totally agree with you about the dependency plague that everything seems to be suffering from these days.
-
rwp
polarian, A company depending upon FreeBSD is probably running poudriere creating their own local pkg repository and won't hit this problem.
-
rwp
And notably Netflix is well known as running FreeBSD CURRENT upgrading frequently for their servers.
-
uskerine
also you can not keep using FreeBSD 12, I recovered an old laptop (FreeBSD 12) and had to reinstall from scratch to 14 because I could not pkg update and the upgrade to 13.3 failed
-
rwp
Also the worst things are desktopy things like firefox and vlc and servers don't typically even have X installed (I wouldn't install it on a server) and so things like this are less likely to affect a server.
-
rwp
uskerine, Just for clarification the ports/pkg upgrade failed but the base upgrade from 12 forward worked okay for base?
-
uskerine
there was a study (an actual paper) about the dependencies in Maven (Java), it concluded that around 70% of the dependencies between packages were not actually needed, the mess is astronomucal
-
polarian
rwp: I doubt it... the amount of compute that would take would not be finantially viable. If they want high speed access to the pkg repository they would likely mirror it...
-
uskerine
rwp I was no longer able to pkg update/pkg upgrade my FreeBSD 12
-
uskerine
and therefore the process to upgrade to 13 (which requires the 12 being updated) failed
-
polarian
rwp: but my point is it could happen to any port...
-
uskerine
no big deal as it was an auxiliary laptop, I reinstalled 14 from scratch and all good
-
rwp
uskerine, So... if that were me, I would grab the command from the "man pkg" to get "pkg query -e '%a = 0' %o" to list packages I had installed manually. Then I would purge all of them. Then I would install them again on the new system.
-
polarian
the one benefit of freebsd and all BSDs as a whole is that the base system includes the userland, so pkg breaking will not break your system, only additional software
-
rwp
Some of them probably changed package names. That would be a small number and I would scramble and deal with those problems as I saw them.
-
rwp
By purge all of them I would save a backup copy of /usr/local/etc for any customizations I had done so I could reference those later. Then I have a handful of things that I install myself in /usr/local and then I would use pkg to erase everything installed by pkg. Then I would probably clean up any lint files left behind manually. Then could install everything fresh from there and configure using the saved off etc configuration.
-
rwp
Effectively FreeBSD has two release models. FreeBSD base is a stable release model. FreeBSD ports is a rolling release model.
-
Michelle
rwp: I pretty much did exactly this last week to go from 9.3-p43(+) to 14.1
-
rwp
The problem with rolling releases is pretty much exactly the problem you experienced. If you don't keep up and allow a system to fall too far behind then due to changes always rolling it becomes impossible to upgrade it as a rolling upgrade.
-
rwp
From 9 to 14! That's quite a jump!
-
Michelle
yup.. completely pointless except for openssl
-
rwp
But for the ports/pkgs a rolling release being broken does not break the base system. And the base system working reliably always allows one to fix the ports/pkgs and bring them up to date.
-
rwp
Was that system on the hostile Internet? With OpenSSH available? I am not aware of any direct attacks at this time but that's always a concern that an old sshd will become vulnerable.
-
uskerine
so based on your experience, when firefox will be avaialble again for quarterly? (I assume that firefox missing for latest quarterly in amd64 is something not that irrelevant)
-
rwp
Otherwise I totally agree that if a machine is doing that it is supposed to be doing then there is no real reason to upgrade it. It's not really an upgrade in that case. What was working before is still working afterward. If totally successful then nothing has changed.
-
Michelle
the ssh (and all other services) was (is still) behind a firewall in rfc1912 space with no incoming nat
-
rwp
Then it was almost completely a noop for you as you say. Nothing changed.
-
rwp
uskerine, A while back I waited for a broken sudo build to run through TWO build cycles before things were repaired and it popped out and that took about 12 days IIRC in that case. But every case will have details.
-
rwp
I am only sure that it will eventually be built. Someone with more skills at navigating the pkg-status page above should be able to interpret the status and the state and predict things better than I by a lot.
-
Michelle
the upgrade was needed for patching services available on the lan, openssl was the blocker.. it was getting too messy to use ports for openssl and patch everything myself back to 9.3
-
rwp
uskerine, I feel your pain though and I feel like I should make my /var/cache/pkg/*.pkg files available to you in some way so that you can install the previous version of firefox. Which as far as I know is not otherwise saved by FreeBSD systems.
-
rwp
I myself am still learning the nooks and crannies of how FreeBSD infrastructure is handled. I don't think there is an archive.freebsd.org like thing that we could reach into in order to retrieve previously built versions. But maybe by saying this someone who knows more will pop in and point to one! We can always hope.
-
rwp
For that matter this might have been talked about at a conference presentation and if anyone knows of any talk on the build infrastructure and can post a reference to a video or paper or other doc I would definitely be interested in seeing it.
-
rwp
My observation of things, which is likely wrong in many ways, is that when a build slot becomes available then the builder attempts to build the top of the ports tree at the commit that it happens to be at the time it started the build. Then it tries to run all of the way to completion. Along the way some things might fail to build such as that pesky x265 dependency which creates of cone of packages which are not built in that cycle.
-
rwp
This build of everything takes several DAYS to complete. Even if a fix to a broken port is committed and pushed in that time it will continue on the previous until it has completed it. Then when done this build cycle repeats grabbing the next top of ports git tree.
-
rwp
The project builders needing to build EVERYTHING is a big task and takes days. This is one of the motivations to run a local package builder. Because then you only build the list of things you specify to build and the task is completed more quickly.
-
rwp
Except for Chromium/Firefox/others which are HUGE pigs to build and local build resources might not be enough and those things can take days to build on lower end hardware.
-
rwp
Again my understanding is a little vague and I welcome it when anyone who knows corrects my misunderstandings of things.
-
Michelle
rwp: you're not wrong
-
Michelle
rwp: there's also a number of things wrong with package management (in reference to quarterly builds) that is just bad management (in my opinion) and i had a dummy spit over it way back in the days of 10 being current.. haven't really had much to do with FreeBSD (as a project) since because of it (and won't for sometime).. won't get into it here (people can read the archives) but from the current conversation about broken dependencies and missing packa
-
Michelle
ge.. that is a direct symptom of my beef.
-
rwp
I think I can see how things got to here and now. Before binary pkgs were created FreeBSD was a source build system. cvsup or whatever and then build everything locally. Have a build failure? Hack and patch it into working locally. That's less accessible to newcomers unfamiliar with the process but well loved by long time skilled users.
-
rwp
Along comes binary pkgs and now things are totally nice and easy! Except not all of the bugs have yet been worked out of the binary pkg infrastructure and we end up with problems like this problem with a new system not being able to pkg install things that were installable last week but not this week.