/srv/irclogs.ubuntu.com/2022/06/02/#ubuntu-server.txt

murmelHow 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 dhcp05:22
murmelhm 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
ahasenackhm, I'm not getting the replies to my emails in this list: https://alioth-lists.debian.net/pipermail/pkg-samba-maint/2022-June/thread.html12:25
ahasenackspecifically, from Michael12:25
ahasenackother posts arrive fine12:25
ahasenackah, found one12:37
ahasenackwas in the spam folder, n/m. I thought I had checked it, but I clearly missed it12:38
ahasenackit didn't come through the list, though, there are no list headers, that's why my filter didn't catch it12:39
ahasenackkanashiro: 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
ahasenackI tried go install -v ./...19:40
ahasenackbut that did not give me the expected binaries in ~/go/bin19:41
ahasenackd/rules is https://github.com/ubuntu/adsys/blob/main/debian/rules19:41
ahasenackI guess it's the "go generate tools ./..." that I'm missing19:42
ahasenack(why is that done in install, not build?)19:42
kanashiroahasenack, let me check19:42
kanashiroahasenack, did you get this error when building it? https://paste.ubuntu.com/p/67JzhN2W9v/19:47
ahasenackkanashiro: no19:47
kanashiroah, this is being executed in my host system, not in the chroot19:48
kanashiroyou need to build it in the same release that is your target19:48
ahasenackI'm doing it in an lxc19:51
kanashiroI am setting up a container to try it again19:51
kanashirogo mod vendor now works with golang 1.1819:52
kanashirobut got some test failures19:52
ahasenackwhat's the one liner to build this?19:53
ahasenacki.e., "make"19:53
kanashiroin the container I only tried "debuild -us -uc"19:54
ahasenackI know how to build the package :)19:54
ahasenackI want the "git clone && build" aproach19:54
kanashiroI am not teaching you, I just told you what I did :)19:54
kanashiroahasenack, did you run "go build"?19:59
kanashirothis command "go build -mod=vendor ./cmd/adsysd/" gives me the adsysd binary19:59
ahasenackhm20:00
kanashiroin the source tree, not in ~/go/bin20:00
ahasenackI did that, but didn't find the binary before. Now I find it, odd20:00
ahasenackah, sorry20:01
ahasenackit's a directory, not binary20:01
kanashirohttps://paste.ubuntu.com/p/bJC2mFXhBv/20:01
ahasenack`find . -name adsysd -type f` is empty after "go build"20:01
ahasenackyour incantation is what I was looking for (how to find it?)20:02
ahasenackwith the extra magical parameters to go build20:02
ahasenackyour command actually failed terribly here, hmm20:03
kanashiroif you have the deps in the vendor directory, all you need is "go build -mod=vendor ./cmd/adsysd/"20:03
ahasenackhttps://pastebin.ubuntu.com/p/pHTSzTY4X8/20:03
ahasenackI don't know if I have the deps20:03
ahasenackI did "git clone" and now I want to build :)20:03
kanashirorun "go mod vendor"20:04
ahasenackdoesn't go fetch its own deps?20:04
ahasenack"go mod vendor" is downloading stuff20:04
ahasenack"go build" alone didn't produce a binary20:05
ahasenacklet me try now that other incantation20:05
ahasenackah, that seems to be the ticket20:06
kanashirothere you go20:06
ahasenacknow I got the failure I was expecting (about LFS_CFLAGS not being used)20:06
ahasenackso "go mod vendor && go build -mod=vendor ./cmd/adsysd/"20:06
ahasenackpiece of cake20:06
kanashiroyep20:06
ahasenackthx kanashiro 20:06
kanashiroyw20:06
=== g4mbit is now known as Guest6134
giu-hi to all20:21

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!