-
uuidNuniq
is freebsd using an old version of openbsd's pf?
-
lw
uuidNuniq: extremely old, with many local patches
-
AmyMalik
how do i get ports to tell me what it's doing when it builds a package
-
AmyMalik
I have a ... non-obvious problem
-
kenrap
easy, use poudriere and spam Ctrl-T during a bulk build :P
-
» xa0z shivers
-
kenrap
haha
-
AmyMalik
kenrap, no
-
AmyMalik
I want it to print the commands it's executing.
-
AmyMalik
a downstream fork's lang/tcl86 is building wrong
-
xa0z
AmyMalik: I think you could probably use 'script' to record the build process, and once done, just examine the script log and see all the commands executed during the build.
-
AmyMalik
It doesn't say what it's doing for ./configure (inferrable with ./work/*/unix/config.log) nor make
-
AmyMalik
and that's what is getting me askaunce
-
xa0z
So it's not completing the ./configure script?
-
AmyMalik
It builds and installs, but it does so incorrectly. This isn't a failing port. This is an incorrectly-successful port.
-
xa0z
Welcome to FreeBSD ports lol
-
AmyMalik
[REDACTED]!.. I think I should reboot my swivelhead, install stock FreeBSD on it, and try to build this damned software
-
xa0z
I used to be adamant about building from ports, but that was because I needed some options that weren't available in pkg builds.
-
kenrap
And now they are planning to remove options all together in future changes to ports
-
xa0z
Oh/
-
xa0z
?
-
AmyMalik
Why?
-
AmyMalik
It seems... potentially confusing
-
kevans
with neither solid plan nor rationale, I wouldn't really be too worried about this right now
-
kevans
sounding the alarm is a bit premature
-
kenrap
Well, I said planning, not executing.
-
xa0z
Still interesting.
-
kevans
from the post, planning should be interpreted... really loosely
-
xa0z
What's next, dpkg ? :/
-
» kevans sighs
-
kenrap
xa0z: I got ignorantly riled up, forget what I said.
-
xa0z
kenrap: I keed :)
-
» xa0z quietly deletes the bash.org post
-
AmyMalik
I mean, several leaves from the Linux experience are informative, I guess
-
johnjaye
how do you generate the configure script though
-
johnjaye
don't you need gnu autoconf or whatever it is to do that
-
xa0z
yup
-
xa0z
You know M4?
-
johnjaye
yes
-
kevans
when you say it like that it sounds like some new hip drug
-
xa0z
lol
-
AmyMalik
I need to make a counterfeit configure script
-
kevans
*scratching at neck* you got some m4 mate?
-
xa0z
hahahha
-
collinfunk
Might need some to write it
-
kenrap
"dats some good M4, daaaamn!"
-
johnjaye
i think that would work for any letter plus number. do you got some f32 my guy?
-
xa0z
lol
-
collinfunk
f77
-
kenrap
hit me up with some of that c69 :P
-
xa0z
c64 with a little vic20
-
» xa0z keels
-
johnjaye
if someone asks me about the new a7 or z16 i'll just nod and say yeah I'm lovin it.
-
xa0z
I'm lovin' it, like a big mac.
-
xa0z
What ever happened to koobs ?
-
kevans
yeah, sorry, i kind of derailed the train there, sorry
-
johnjaye
heh, no problem. i just asked because i vaguely recall seeing gmake and a few other gnu things on my laptop
-
johnjaye
so i had a vague idea that you could use all the gnu stuff as long as you put g in front
-
AmyMalik
not quite
-
AmyMalik
but not quite nto
-
dautor85180
Why is libifconfig not available outside of src?
-
AlVal
Pkg upgrade/pkg update decided it was time to take it into its own hands to uninstall mysql57-server
-
AlVal
Didn't notice, dbs keep running OK. Then there's a power cut
-
AlVal
Now I have no mysql-server. Install mysql-server80, but since there was an unexpected shutdown it won't upgrade the dbs
-
AlVal
Wants me to put Mysql57-server back and do some innodb slow shutdown
-
AlVal
Before it's happy to upgrade. But I can't see how to put Mysql57-server back with pkg
-
AlVal
Since it's presumably deprecated now
-
AlVal
Do I have to enter the murky world of ports here
-
vkarlsen
Bring the handbook with you. It's dangerous to go alone.
-
kfv
dautor85180: AFAIK 'tis only used for building ifconfig per se, otherwise you'd just use the ioctl interface.
-
johnjaye
i am informed that I *must* use gnu makefiles because they have conditionals
-
rtprio
that mysql snafu happened to me the other night
-
ridcully
tar the data-dir, fire up a mysql:5.7 container with the data-dir mapped, mysqldump, and restore into 8?
-
thumbs
Alval should have had daily/weekly logical backups.
-
apteryx
any kyua specialist here?
-
apteryx
I'm trying to run the kyua self tests (test suite), and I'm still getting 4 unexplained test failures
-
apteryx
I'm looking for tips to isolate single tests execution
-
debdrup
The testing mailing list might be a good place, since it gets some amount of traffic.
-
dautor85180
kfv: Isn't that interface unstable? How are we supposed to get interface information other than spawning subprocesses?
-
debdrup
lw: I fixed some minor nits (removal of an exising cross reference, and an errant period that snuck in at the end of a cross reference, but it's been merged :)
-
apteryx
debdrup: OK.
-
apteryx
the output I see is this:
freebsd/kyua #223
-
VimDiesel
Title: Test failures (and how single tests can be run/debugged?) · Issue #223 · freebsd/kyua · GitHub
-
VimDiesel
-
apteryx
it appears the command to execute gets garbled to ^D (CTRL-D, EOF) for these 4 tests
-
apteryx
I think it has to do with the -x switch
-
apteryx
used in those tests to invoke the commands through the shell, as a | (pipe) is used
-
msamsing
Hey there. I am having difficulties connecting my ThinkPad to HDMI. It works if I boot with the HDMI cable plugged in. But the machine does not seem to recognize the HDMI if I plug in the cable after the machine is booted ... any ideas what to do? (i915kms, acpi_ibm are both loaded. Have tried with acpi_video also but it does not seem like it makes any diffence)
-
apteryx
yep, something is wrong with the ATF_SHELL macro used by atf. running the test suite with: ATF_SHELL=/bin/sh ./local-kyua test, everything passes
-
kevans
apteryx: huh, interesting
-
kevans
apteryx: in general, you can run an individual test by just specifying it after `kyua test`; in that case, it looks like you're invoking something like `kyua test` or `kyua test -k <dir>` where <dir> is the one that contains the integration/ directory, then just tacking on `integration/cmd_report_test:output__explicit` after `test` or the specified -k argument should do the trick
-
kevans
or rather, integration/cmd_report_test:verbose for the verbose test. <test program>:<specific case>
-
apteryx
kevans: thanks! that's neat, it seems not mentioned in the man pages
-
apteryx
or I missed it
-
kevans
I haven't checked the upstream version fo the manpages, it's referred to as a "test filter"
-
kevans
described in kyua-test(1) in FreeBSD's version, at least
-
AlVal
anyone aware of a web tool for analysing nginx logs?
-
rtprio
AlVal: there are several. splunk comes to mind
-
hadret
AlVal: GoAccess is really good
goaccess.io
-
VimDiesel
Title: GoAccess - Visual Web Log Analyzer
-
mooz
hello ... I'm currently using 14.0-p4 to host some jails. the host is using DHCP to obtain it's network connectivity, I noticed that whenever dhclient ran to renew the address that the interface assigned to the jail would disappear and wouldn't return until I restarted it. is this a known issue or should the expectation be that the jail should be a vnet jail or the host assigned statically
-
apteryx
kevans: I don't see the atf_sh_atf_check_CPPFLAGS = -DATF_SHELL=\"$(ATF_SHELL)\" having an effect on the command line used with g++ when building the atf-check binary
-
apteryx
I've done: touch atf-sh/atf-check.cpp && make atf-sh/atf-check V=1 to see what it uses
-
apteryx
so if you configured atf with './configure ATF_SHELL=/some/non/standard/path/bin/sh', you'll end up with an empty string for the ATF_SHELL
-
apteryx
which explains the EOF I've been seeing in the invoked command, I guess
-
apteryx
easily verified with: ./atf-sh/atf-check -x echo oops -> Executing command [ b" -c echo salut ] ... (status 127)
-
eoli3n32
Hi
-
eoli3n32
-
VimDiesel
Title: [BUG] Upgrade /etc scripts when migrate from RELEASE. · Issue #631 · BastilleBSD/bastille · GitHub
-
VimDiesel
631 – if_ix does not support bpf, nor does it appear to support MC.
bugs.freebsd.org/bugzilla/show_bug.cgi?id=631
-
eoli3n32
where to get src archive ?
-
eoli3n32
is there a command to automatically get it ?
-
eoli3n32
ok found here in ftp
-
eoli3n32
-
VimDiesel
Title: Solved - How do I install the src component post install? | The FreeBSD Forums
-
kevans
apteryx: huh, funky. can you drop an issue at our freebsd/atf repo and CC @kevans91 on it, please?
-
kevans
(or create a PR if you're willing to fix it, I'm cool either way)
-
mooz
hey all.. any ideas? hello ... I'm currently using 14.0-p4 to host some jails. the host is using DHCP to obtain it's network connectivity, I noticed that whenever dhclient ran to renew the address that the interface assigned to the jail would disappear and wouldn't return until I restarted it. is this a known issue or should the expectation be that the jail should be a vnet jail or the host assigned
-
mooz
statically
-
tm512
so is compiling from source actually the only way to upgrade between STABLE snapshots? I remember doing that in the past, though I see that snapshots are available as binary sets as well:
download.freebsd.org/snapshots/amd64/14.0-STABLE
-
VimDiesel
Title: Index of /snapshots/amd64/14.0-STABLE/
-
lewis
o7
-
tm512
also a bit torn on whether ZFS would be worth it on this laptop, or if I should just go with UFS like I usually do with FreeBSD
-
tm512
laptop has 8GB RAM, which is probably past the point where RAM would bottleneck ZFS, at least from what I've heard
-
» V_PauAmma_V had ZFS on his previous daily driver laptop (8GB RAM) and never had cause to complain.
-
kevans
yeah, I like it for the easy snapshots and BEs. still useful, even in just a single disk/drive configuration
-
lewis
tm512: you can always configure how aggressive zfs will cache files in arc, bit of a misconception that you need a beefy machine
-
preyalone
Help, I can crosscompile a C app from Linux to FreeBSD, but when I try a C++ app then I get missing libc++ errors.
github.com/mcandre/snek
-
VimDiesel
Title: GitHub - mcandre/snek: the toolchain armada
-
tm512
might just go with ZFS as long as the learning curve is gentle, though I remember looking into trying out an illumos distro, I think OmniOS, years ago, and I seem to recall the docs mentioning a bunch of ZFS stuff right out of the gate
-
laidback_01
yeah, don't worry about it with FreeBSD. the install asks you about if you want to use ZFS or UFS, and you can just let it rip after that.
-
tm512
ideally I'd just be able to make the choice and mostly ignore the underlying FS until I actually need any specific features I provide. HAMMER under dragonfly is mostly like that, btrfs too from my limited experience with it
-
laidback_01
after you install, turn on trim on the root pool, but it'll already have atime off etc.
-
tm512
and with btrfs, openSUSE abstracts it even further by providing snapper to automatically manage snapshots
-
laidback_01
oh... you are using a SSD as the drive on your laptop, right?
-
tm512
the laptop has a 128GB SSD and a 500GB HDD
-
laidback_01
btrfs... my only experience with it is via Synology... what a shtshow. btrfs is not zfs, that could not be more apparent. everything is very different, and they way they handle devices is tough. zfs really is much simpler.
-
laidback_01
okay, what's your boot drive? the 128G ssd? that's typically what people do. don't stripe those, you'll get HDD level performance across the board.
-
laidback_01
make sure they are two distinct zpools.
-
daemon
I would just use UFS on the boot drive, its not even raided
-
daemon
there is no point shoving it in ZFS
-
tm512
yes, SSD will be boot, HDD will be completely separate
-
laidback_01
meh, but there's no beadm in ufs is there? no snapshots in UFS so far as I know
-
daemon
laidback_01, keep the core system on ufs, put the extended storage on the hdd for bhyve and any other stuff you want
-
laidback_01
if you are going to use ZFS at all, might as well make it the whole kit and kaboodle since you'll have to load the kernel modules at some point
-
daemon
tm512, for clarity ^ this is a choice, there is no benefit either way
-
laidback_01
I have multiple laptops with ZFS as root. well, two of them. one a modern HP, the other a rather old i3 Acer. both work fine. the HP has 64G ram and a Xeon and 4 ssds. the acer has 12G ram and a single ssd. works fine.
-
laidback_01
hmm.. might be that HP has only 3SSDs, now I'm wondering, it might be a dell I built with 4 ssds
-
laidback_01
doens't matter. zfs on root works fine. ufs on root works fine.
-
laidback_01
pick what you are comfortable with.
-
laidback_01
fear neither
-
tm512
snapshots might be nice in which case I could roll back from upgrades, though, I ran STABLE as my daily driver OS for like 2.5y back around the 10/11 days and STABLE was, well, it was very stable
-
laidback_01
RELEASE is more stable than STABLE.
-
laidback_01
lol, just saying.. people get that confused periodically.
-
tm512
ah, well I am aware of the difference. I've been using FreeBSD off and on since like 8.1 or so
-
laidback_01
okay, sounds good.
-
daemon
would be cool to name STABLE/PRELEASE 'BETA'
-
laidback_01
-
VimDiesel
Title: Chapter 26. Updating and Upgrading FreeBSD | FreeBSD Documentation Portal
-
tm512
chose STABLE the last time I used FreeBSD because it seemed like a reasonable compromise and most closely matches how I use Linux
-
tm512
like staying on RELEASE seems more analogous to staying on an LTS kernel and STABLE seems more analogous to sticking with the interim mainline releases
-
daemon
STABLE is generally at least 75% as stable as release :D
-
tm512
seems like my particular hardware may benefit from tracking STABLE (or even CURRENT) as I'm stuck using this rtw88 driver unless I pick up a new wifi card to install in place of this Realtek RTL8822CE
-
daemon
im not sure if you ever tracked current, but probably not; that is quite different to stable
-
daemon
as for wireless, just grab a cheap one from amazon or your local store, if it does not work return it
-
laidback_01
use auto-admin if you want a nice way to keep your systems up to date. it also allowss you to follow Stable or Release tracks
-
tm512
it is kind of tempting to pick up a new wireless card, haven't yet looked into which ones are available that FreeBSD supports both wifi and bluetooth on
-
daemon
you would be better dealing with them individually
-
daemon
bluetooth genuinely you want the cheapest thing you can find on ebay
-
daemon
as they are mostly all a generic chipset
-
daemon
meanwhile your option is the intel AX* range of wireless cards
-
daemon
which while the wireless MIGHT be supported the bluetooth MIGHT also be
-
daemon
as they plug into a usb hub on your mobo
-
daemon
the chance of both working is not great
-
tm512
I would prefer not having to use up the limited external USB ports just to get bluetooth, though dunno if I've got a choice
-
laidback_01
lol, I'm just the opposite. I actually pull out the bluetooth hardware when I can, and ALWAYs pull the speakers out. I hate that SOB beeping at me for random crap.
-
tm512
the current wireless card in this laptop uses PCIe for wifi and USB for bluetooth, it's an AE key M.2 card
-
daemon
just use a cheap hub, its not like you will be banging anything about a few kb over bluetooth anyway
-
daemon
same with your wireless mouse and keyboard
-
daemon
there almost zero io
-
tm512
might not even be an issue though, I guess, because prior to picking up this thinkpad, I was dealing with just one USB 2.0 port on my previous laptop
-
tm512
and now I've got four ports, though one of them is the charging port, not going to be consistently available
-
tm512
anyway, afk. I'll look into this some more later on after I'm home from work. probably will finally just write an installer image to USB and actually get things installed to see what the hardware support situation is like