/srv/irclogs.ubuntu.com/2023/04/03/#bzr.txt

gegoxaren[m]```11:40
* gegoxaren[m] sent a code block: https://libera.ems.host/_matrix/media/v3/download/libera.chat/59ea79507f168da9d7a2cd5e74ecd3f72a8132fb11:41
gegoxaren[m] * ```... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/6c26e7251eac9b34f9984f2a93b36fc4ed9acf72>)11:41
gegoxaren[m]this is the 3.3 branch.11:43
jelmergegoxaren: yeah, brz is a binary - not a script16:13
jelmereggs won't work - I'm surprised it falls back to that16:13
jelmerbut something like  "python3 setup.py install --user" should I believe16:18
jelmerwhat's the exact command you are running?16:18
gegoxaren[m]I did just that, as it was what was in the INSTALL instructions. python3 setup.py install --user ~18:11
jelmergegoxaren: it says --home here, and that works for me with trunk18:21
gegoxaren[m]Yeah, that is what I meant.21:42
gegoxaren[m]--home requiers an argument.21:43
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:45
jelmer\how are you running brz?21:47
jelmer@gegoxaren if you're just running "brz", what does it resolve to?21:48
jelmerfor me, it installs $HOME/bin/brz, which is a binary file21:48
jelmerin your case it looks like it's being passed through python321:48
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:51
jelmeryeah, I understood you're installing from source - that should still create $HOME/bin/brz as a binary rather than as something that invokes python321:52
gegoxaren[m]it does not.21:53
jelmerwhat are the contents of $HOME/bin/brz in that case?21:54
jelmerand is it indeed changed by setup.py (does the mtime change?) ?21:54
gegoxaren[m]The binary does not appear in ~/bin/21:58
jelmergegoxaren: 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.21:59
jelmerthe error you pasted suggests it's something that reads from $HOME22:00
gegoxaren[m]That error occurs durtin the runnung of setup.py.22:01
gegoxaren[m]durin*22:01
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:02
jelmerhave 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:04
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:07
jelmerI suspect there's a leftover file from an old installation somewhere22:14
jelmerbut it's not entirely clear to me where that file comes in22:15
jelmergoodnight22:15

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