[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58689] [MXE Octave] Update mesa to use meson
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #58689] [MXE Octave] Update mesa to use meson as (native) build tool |
Date: |
Sat, 4 Jul 2020 05:00:11 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 Edg/83.0.478.58 |
Follow-up Comment #3, bug #58689 (project octave):
Thank you very much for your help.
I applied your patch on top of hg id e60d29a560ab and tried to test by
building for Windows including binary packages.
The compilation failed at of-tsa with the following error in the build log:
Creating... PKG_ADD
cleaning up
Traceback (most recent call last):
File
"/home/osboxes/Documents/Repositories/Octave/mxe-octave/tools/pkg-install.py",
line 618, in <module>
pkg(sys.argv[1:])
File
"/home/osboxes/Documents/Repositories/Octave/mxe-octave/tools/pkg-install.py",
line 609, in pkg
install_pkg(a, env)
File
"/home/osboxes/Documents/Repositories/Octave/mxe-octave/tools/pkg-install.py",
line 375, in install_pkg
create_pkgadddel (env, packdir, "PKG_ADD");
File
"/home/osboxes/Documents/Repositories/Octave/mxe-octave/tools/pkg-install.py",
line 133, in create_pkgadddel
for a in extract_pkg(f, '^[#%][#%]* *' + nm + ': *(.*)$'):
File
"/home/osboxes/Documents/Repositories/Octave/mxe-octave/tools/pkg-install.py",
line 56, in extract_pkg
lines = f.read().splitlines()
File "/usr/lib/python3.8/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb2 in position 1054:
invalid start byte
make[1]: ***
[/home/osboxes/Documents/Repositories/Octave/mxe-octave/Makefile:941:
build-only-of-tsa] Error 1
make[1]: Leaving directory
'/home/osboxes/Documents/Repositories/Octave/mxe-octave'
This is probably because the file sinvest2.m is encoded in Latin1 and contains
the character "²" (superscript 2).
Should that be considered a bug in of-tsa (wrong encoding, should use UTF-8)?
Or should we change the script pkg-install.py to take whatever encoding it is
fed?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58689>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58689] [MXE Octave] Update mesa to use meson as (native) build tool, Markus Mützel, 2020/07/02
- [Octave-bug-tracker] [bug #58689] [MXE Octave] Update mesa to use meson as (native) build tool, John Donoghue, 2020/07/03
- [Octave-bug-tracker] [bug #58689] [MXE Octave] Update mesa to use meson as (native) build tool, John Donoghue, 2020/07/03
- [Octave-bug-tracker] [bug #58689] [MXE Octave] Update mesa to use meson as (native) build tool,
Markus Mützel <=
- [Octave-bug-tracker] [bug #58689] [MXE Octave] Update mesa to use meson as (native) build tool, John Donoghue, 2020/07/04
- [Octave-bug-tracker] [bug #58689] [MXE Octave] Update mesa to use meson as (native) build tool, Markus Mützel, 2020/07/05
- [Octave-bug-tracker] [bug #58689] [MXE Octave] Update mesa to use meson as (native) build tool, Markus Mützel, 2020/07/05
- [Octave-bug-tracker] [bug #58689] [MXE Octave] Update mesa to use meson as (native) build tool, Markus Mützel, 2020/07/05
- [Octave-bug-tracker] [bug #58689] [MXE Octave] Update mesa to use meson as (native) build tool, John Donoghue, 2020/07/05
- [Octave-bug-tracker] [bug #58689] [MXE Octave] Update mesa to use meson as (native) build tool, John Donoghue, 2020/07/05
- [Octave-bug-tracker] [bug #58689] [MXE Octave] Update mesa to use meson as (native) build tool, Markus Mützel, 2020/07/06
- [Octave-bug-tracker] [bug #58689] [MXE Octave] Update mesa to use meson as (native) build tool, Markus Mützel, 2020/07/06
- [Octave-bug-tracker] [bug #58689] [MXE Octave] Update mesa to use meson as (native) build tool, John Donoghue, 2020/07/06
- [Octave-bug-tracker] [bug #58689] [MXE Octave] Update mesa to use meson as (native) build tool, Markus Mützel, 2020/07/06