gegoxaren[m] | ``` | 11:40 |
---|---|---|
* 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:41 |
gegoxaren[m] | this is the 3.3 branch. | 11:43 |
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:13 |
jelmer | but something like "python3 setup.py install --user" should I believe | 16:18 |
jelmer | what'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 |
jelmer | gegoxaren: it says --home here, and that works for me with trunk | 18: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 |
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: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 |
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:52 |
gegoxaren[m] | it does not. | 21:53 |
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:54 |
gegoxaren[m] | The binary does not appear in ~/bin/ | 21:58 |
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. | 21:59 |
jelmer | the error you pasted suggests it's something that reads from $HOME | 22: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 |
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: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 |
jelmer | I suspect there's a leftover file from an old installation somewhere | 22:14 |
jelmer | but it's not entirely clear to me where that file comes in | 22:15 |
jelmer | goodnight | 22:15 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!