IRC channel logs

2022-09-20.log

back to list of logs

<stikonas>fossy, doras: https://github.com/fosslinux/live-bootstrap/pull/204
<stikonas>mihi: can you pull in https://github.com/schierlm/gnu-autogen-bootstrapping/pull/6
<oriansj>stikonas: Nope doing ACCEPT_LICENSE="-* @FREE" in /etc/portage/make.conf still results in media-fonts/font-bh-ttf having a license issue.
<sam_>it would, as FREE is still the default
<sam_>can you show me the output?
<sam_>i.e. setting that is a noop
<oriansj>sam_: sure, just let me build pastebinit and I'll have that uploaded shortly after
<oriansj> https://paste.debian.net/1254430
<oriansj>and as per usual all steps for system setup to thise state is here: https://git.sr.ht/~oriansj/System_setup/tree/main/item/install%20gentoo.txt
<sam_>profiles/license_groups:70:BINARY-REDISTRIBUTABLE @FREE Amazon Atmel AVASYS bh-luxi bonnie Broadcom freedist intel-ucode ipw2100-fw ipw2200-fw ipw3945 ISSL JSON linux-fw-redistributable LSI-tw_cli Mellanox-AS-IS MicroChip-SDCC no-source-code NVIDIA-r1 NVIDIA-r2 qlogic-fibre-channel-firmware shmux SmartLabs unRAR
<sam_>i.e. it's not in @FREE
<sam_>it's in the @BINARY-REDISTRIBUTABLE licence set
<sam_>we have a few options
<sam_>we can:
<sam_>1. always allow @BINARY-REDISTRIBUTABLE (I doubt you want this)
<sam_>2. allow the 'bh-luxi' licence purely for this package
<sam_>3. allow the 'bh-luxi' licence for media-fonts/*
<sam_>4. allow @BINARY-REDISTRIBUTABLE (or any) for media-fonts/*
<sam_>5. something else I'm forgetting
<sam_>which do you prefer?
<oriansj>is there an option of setting an alternate font?
<sam_>good question, was just checking that
<sam_>so x11-base/xorg-x11 is a meta package with a USE=fonts which just tries to pull in a bunch of fonts it thinks you'll want
<sam_>i.e. they're not real dependencies of something per se
<oriansj>so any free font will be fine by me
<oriansj>so how do I strip away the non-free?
<sam_>I suspect best option is: 1. set USE=-fonts on xorg-x11 in package.use, then 2. either see what's broken, if anything, or we proactively look for some alternative font now
<sam_>(this is an interesting issue we should poke at more, I don't have a chance right now, bu we might be able to make xorg-x11 in future depend on default free stuff instead)
<sam_>I suspect you can just live without that font
<sam_>as long as you have a provider of virtual/ttf-fonts
<oriansj>well I haven't setup a virtual/ttf-fonts yet because I didn't know to do so yet
<sam_>sorry, what i mean is
<sam_>something should depend on it so you should be fine
<sam_>so purely setting USE=-fonts on xorg-x11 might be sufficient
<oriansj>so echo "x11-base/xorg-x11 USE=-fonts" >> /etc/portage/package.use/x11
<sam_>s/USE=//
<sam_>so
<sam_>echo "x11-base/xorg-x11 -fonts" >> /etc/portage/package.use/x11
<oriansj>got it, my mistake
<oriansj>and it looks like it solved the issue (the build is starting)
<oriansj>after that I hopefully can make i3 and see a functional GUI
<sam_>\o/
<sam_>(and no, you really stumbled on a real issue anyway: it should be harder for users to hit such a problem immediately)
<sam_>i'll file a bug for it but c an't poke at it properly atm
<oriansj>thank you sam_
***ChanServ sets mode: +o janneke
***Server sets mode: +cnt
<ekaitz>hi! I have a weird instruction that is not supported by M1 appearing when compiling with mes
<ekaitz>mov____(%rax),%si
<ekaitz>it appears when compiling a function from a modified TCC
<ekaitz>this is the function: https://github.com/ekaitz-zarraga/tcc/blob/mes-package/riscv64-asm.c#L575
<ekaitz>stikonas[m]: do you have any idea about what's going on here?
<ekaitz>I have exactly 0 knowledge about i386 and x84, btw
<stikonas[m]>missing M1 define?
<ekaitz>that's one of the options
<stikonas[m]>Though I don't know what si is
<ekaitz>me neither, that's my big problem
<ekaitz>is there any way I can use to track where does that exactly come from?
<ekaitz>mov____%si,(%rdi) <--- this one is the only other wrong instruction it generates
<ekaitz>again %si appears
<ekaitz>oh and also two more with %sil
<ekaitz>but looking the same
<stikonas[m]>Oh si is just 16-bit truncation of rsi
<stikonas[m]>Check if M1 define exists for it
<ekaitz>stikonas[m]: let me take a look (i'm not very used to M1 so it's going to be hard :) )
<ekaitz>the full mov___... is not defined
<ekaitz>but there are some uses of the sil (commented)
<ekaitz>#DEFINE movsbq_%sil,%rsi 480fbef6
<ekaitz>why i don't understand is why is the compilation process generating an instruction it doesn't know, which one is the previous step? why does it do that?
<stikonas[m]>Probably somebody added new instruction in emitted code but did not add how it expands
<stikonas[m]>Check commit where that line was added with git blame
<stikonas[m]>Though I'm a bit confused
<stikonas[m]>Are you using tcc to compile into M1?
<stikonas[m]>Oh maybe not, it's mes building tcc
<stikonas[m]>Anyway, find that instruction is mes
<stikonas[m]>Do git blame
<stikonas[m]>And see if define was forgotten
<ekaitz>yeah it's mes building tcc
<ekaitz>oh I can't find who generated this instruction
<stikonas[m]>But it's not in http://git.savannah.gnu.org/cgit/mes.git/tree/lib/x86_64-mes/x86_64.M1
***Noisytoot_ is now known as Noisytoot
<ekaitz>stikonas[m]: no, it's not there, but i can't either find it in the generator
<ekaitz>maybe it appears parameterized
<stikonas[m]>possibly, search for bits of it, e.g. just %si
<ekaitz>yep