[11:40] <gegoxaren[m]> ```
[11:41]  * gegoxaren[m] sent a code block: https://libera.ems.host/_matrix/media/v3/download/libera.chat/59ea79507f168da9d7a2cd5e74ecd3f72a8132fb
[11:41] <gegoxaren[m]>  * ```... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/6c26e7251eac9b34f9984f2a93b36fc4ed9acf72>)
[11:43] <gegoxaren[m]> this is the 3.3 branch.
[16:13] <jelmer> gegoxaren: yeah, brz is a binary - not a script
[16:13] <jelmer> eggs won't work - I'm surprised it falls back to that
[16:18] <jelmer> but something like  "python3 setup.py install --user" should I believe
[16:18] <jelmer> what's the exact command you are running?
[18:11] <gegoxaren[m]> I did just that, as it was what was in the INSTALL instructions. python3 setup.py install --user ~
[18:21] <jelmer> gegoxaren: it says --home here, and that works for me with trunk
[21:42] <gegoxaren[m]> Yeah, that is what I meant.
[21:43] <gegoxaren[m]> --home requiers an argument.
[21:45] <gegoxaren[m]> I get the same error with the latet trunk.
[21:45] <gegoxaren[m]> `UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 24: invalid start byte in scripts/brz file at path: /home/gego/lib/python/breezy-3.3.3.dev0-py3.9-linux-i686.egg/EGG-INFO/scripts/brz`
[21:47] <jelmer> \how are you running brz?
[21:48] <jelmer> @gegoxaren if you're just running "brz", what does it resolve to?
[21:48] <jelmer> for me, it installs $HOME/bin/brz, which is a binary file
[21:48] <jelmer> in your case it looks like it's being passed through python3
[21:51] <gegoxaren[m]> Ah, sorry, I need to explain a bit more: This is not running the binary that is provided by Debian 11, that works, but is missing. The version thaht ships is 3.1.0.
[21:51] <gegoxaren[m]> The erroroccurs when I try to buid it from source.
[21:52] <jelmer> yeah, I understood you're installing from source - that should still create $HOME/bin/brz as a binary rather than as something that invokes python3
[21:53] <gegoxaren[m]> it does not.
[21:54] <jelmer> what are the contents of $HOME/bin/brz in that case?
[21:54] <jelmer> and is it indeed changed by setup.py (does the mtime change?) ?
[21:58] <gegoxaren[m]> The binary does not appear in ~/bin/
[21:59] <jelmer> gegoxaren: in that case, what file gets run when you execute brz (i.e. what's output of "which brz") ?
[21:59] <gegoxaren[m]> That is the system version.
[22:00] <jelmer> the error you pasted suggests it's something that reads from $HOME
[22:01] <gegoxaren[m]> That error occurs durtin the runnung of setup.py.
[22:01] <gegoxaren[m]> durin*
[22:02] <gegoxaren[m]> This is in the build log: `Copying rust artifact from /home/gego/dev/breezy/brz/target/release/brz to build/lib.linux-i686-cpython-39/brz`
[22:04] <jelmer> have you tried removing the existing  /home/gego/lib/python/breezy-3.3.3.dev0-py3.9-linux-i686.egg before running setup.py?
[22:04] <gegoxaren[m]> Yes.
[22:07] <gegoxaren[m]> Well, I'm off ot bed. Do not worry to much, it works, as it is... Even if it can have it's quirks that I have to work around.
[22:14] <jelmer> I suspect there's a leftover file from an old installation somewhere
[22:15] <jelmer> but it's not entirely clear to me where that file comes in
[22:15] <jelmer> goodnight