murmel | How would I get ubuntu 22.04 to not configure enp1s0? I tried to remove every systemd-networkd config and netplan even. but for some reason I can't find the config file which sets dhcp | 05:22 |
---|---|---|
murmel | hm figured netplan out (for a bit at least) but now netplan complains about the unknown key "bridges:" :( | 05:55 |
=== Hash is now known as stoned | ||
=== Chunkyz is now known as jailbreak | ||
ahasenack | hm, I'm not getting the replies to my emails in this list: https://alioth-lists.debian.net/pipermail/pkg-samba-maint/2022-June/thread.html | 12:25 |
ahasenack | specifically, from Michael | 12:25 |
ahasenack | other posts arrive fine | 12:25 |
ahasenack | ah, found one | 12:37 |
ahasenack | was in the spam folder, n/m. I thought I had checked it, but I clearly missed it | 12:38 |
ahasenack | it didn't come through the list, though, there are no list headers, that's why my filter didn't catch it | 12:39 |
ahasenack | kanashiro: you probably have more goland experience, could you give me a quick hint/help on how to build https://github.com/ubuntu/adsys from source? | 19:40 |
ahasenack | I tried go install -v ./... | 19:40 |
ahasenack | but that did not give me the expected binaries in ~/go/bin | 19:41 |
ahasenack | d/rules is https://github.com/ubuntu/adsys/blob/main/debian/rules | 19:41 |
ahasenack | I guess it's the "go generate tools ./..." that I'm missing | 19:42 |
ahasenack | (why is that done in install, not build?) | 19:42 |
kanashiro | ahasenack, let me check | 19:42 |
kanashiro | ahasenack, did you get this error when building it? https://paste.ubuntu.com/p/67JzhN2W9v/ | 19:47 |
ahasenack | kanashiro: no | 19:47 |
kanashiro | ah, this is being executed in my host system, not in the chroot | 19:48 |
kanashiro | you need to build it in the same release that is your target | 19:48 |
ahasenack | I'm doing it in an lxc | 19:51 |
kanashiro | I am setting up a container to try it again | 19:51 |
kanashiro | go mod vendor now works with golang 1.18 | 19:52 |
kanashiro | but got some test failures | 19:52 |
ahasenack | what's the one liner to build this? | 19:53 |
ahasenack | i.e., "make" | 19:53 |
kanashiro | in the container I only tried "debuild -us -uc" | 19:54 |
ahasenack | I know how to build the package :) | 19:54 |
ahasenack | I want the "git clone && build" aproach | 19:54 |
kanashiro | I am not teaching you, I just told you what I did :) | 19:54 |
kanashiro | ahasenack, did you run "go build"? | 19:59 |
kanashiro | this command "go build -mod=vendor ./cmd/adsysd/" gives me the adsysd binary | 19:59 |
ahasenack | hm | 20:00 |
kanashiro | in the source tree, not in ~/go/bin | 20:00 |
ahasenack | I did that, but didn't find the binary before. Now I find it, odd | 20:00 |
ahasenack | ah, sorry | 20:01 |
ahasenack | it's a directory, not binary | 20:01 |
kanashiro | https://paste.ubuntu.com/p/bJC2mFXhBv/ | 20:01 |
ahasenack | `find . -name adsysd -type f` is empty after "go build" | 20:01 |
ahasenack | your incantation is what I was looking for (how to find it?) | 20:02 |
ahasenack | with the extra magical parameters to go build | 20:02 |
ahasenack | your command actually failed terribly here, hmm | 20:03 |
kanashiro | if you have the deps in the vendor directory, all you need is "go build -mod=vendor ./cmd/adsysd/" | 20:03 |
ahasenack | https://pastebin.ubuntu.com/p/pHTSzTY4X8/ | 20:03 |
ahasenack | I don't know if I have the deps | 20:03 |
ahasenack | I did "git clone" and now I want to build :) | 20:03 |
kanashiro | run "go mod vendor" | 20:04 |
ahasenack | doesn't go fetch its own deps? | 20:04 |
ahasenack | "go mod vendor" is downloading stuff | 20:04 |
ahasenack | "go build" alone didn't produce a binary | 20:05 |
ahasenack | let me try now that other incantation | 20:05 |
ahasenack | ah, that seems to be the ticket | 20:06 |
kanashiro | there you go | 20:06 |
ahasenack | now I got the failure I was expecting (about LFS_CFLAGS not being used) | 20:06 |
ahasenack | so "go mod vendor && go build -mod=vendor ./cmd/adsysd/" | 20:06 |
ahasenack | piece of cake | 20:06 |
kanashiro | yep | 20:06 |
ahasenack | thx kanashiro | 20:06 |
kanashiro | yw | 20:06 |
=== g4mbit is now known as Guest6134 | ||
giu- | hi to all | 20:21 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!