Re: OS Platform mismatch - while installing stm32flash

2021-03-12 Thread Christoph Kukulies
You (Chris) may be right on this point. I might have overseen to do a migration 
when I went from Catalina to BigSur. 

Thanks anyway for commenting.

—
Christoph




> Am 11.03.2021 um 19:19 schrieb Chris Jones :
> 
> Hi,
> 
>> On 11 Mar 2021, at 6:16 pm, James Secan  wrote:
>> 
>> Not sure I understand this.  Do we now need to “migrate” when we update 
>> from x.x.y to x.x.y+1?  Has Apple fouled things up that badly?  I thought 
>> migration was only needed in a major OS upgrade, which I would consider to 
>> be from macOS x to maxOS x+1.
> 
> You are correct, for a minor update it is not required.
> 
> The issue is the OP must not have followed the migration instructions 
> correctly when updating from Darwin19 to Darwin20 (macOS 10.15 to 11.0), as I 
> don’t see any other way he could have got those errors messages.
> 
> Chris
> 
>> 
>> Jim
>> 3222 NE 89th St
>> Seattle, WA 98115
>> (206) 430-0109
>> 
>>> On Mar 11, 2021, at 6:44 AM, Chris Jones  wrote:
>>> 
>>> Hi,
>>> 
>>> Looks like at some point you did not follow the migration instructions 
>>> correctly. You should do so now.
>>> 
>>> Chris
>>> 
> On 11 Mar 2021, at 2:41 pm, Christoph P.U. Kukulies  
> wrote:
 
 Of course the error (OS platform mismatch) occurs on every command I'm
 running on port,
 
 like
 
 port info
 
> Am 11.03.2021 um 14:20 schrieb Christoph Kukulies:
> Tried to do
> 
> 
> $ sudo port install stm32flash
> Password:
> Error: Current platform "darwin 20" does not match expected platform 
> "darwin 19"
> Error: If you upgraded your OS, please follow the migration instructions: 
> https://trac.macports.org/wiki/Migration
> OS platform mismatch
> while executing
> "mportinit ui_options global_options global_variations"
> Error: /opt/local/bin/port: Failed to initialize MacPorts, OS platform 
> mismatch
> 
> 
> Did an os update from macOS 12.2.2 to 12.2.3 right before.
> 
> 
> —
> Christoph
> 
> 
 
>>> 
>> 
> 



smime.p7s
Description: S/MIME cryptographic signature


Re: Gnome, Glade, GNUStep

2021-03-12 Thread Ryan Schmidt



On Mar 12, 2021, at 12:45, Tom wrote:

> Gnome, Glade and GNUStep are not building.
> Can somebody fix that?

Please file bug reports in the issue tracker as usual.



Gnome, Glade, GNUStep

2021-03-12 Thread Tom
Gnome, Glade and GNUStep are not building.
Can somebody fix that?


Re: Forcing python39 on M1

2021-03-12 Thread Peter West
Attached please find the end of the log.
—
p...@ehealth.id.au
“But if it is by the finger of God that I cast out demons, then the kingdom of 
God has come upon you.”

> On 12 Mar 2021, at 7:36 pm, Peter West  wrote:
> 
> Having heard that python39 is the only one (so far) to compile natively on 
> M1, I’m trying to force the python ports I use to python39, by creating a 
> local repo and modifying the Portfiles.
> 
> I ran intoa brick wall with gexiv2, which was because the g-ir-* python files 
> were specifying python38. I tried building gobject-introspection with 39, but 
> fails. I don’t know whether I can classify this as a bug and make a report. 
> In any case, has anyone else been tinkering with python39 builds on M1?

:info:build g-ir-scanner: GLib: warning: 627 warnings suppressed (use 
--warn-all to see them)
:info:build Traceback (most recent call last):
:info:build   File 
"/opt/local/var/macports/build/_Users_pbw_Software_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-1.60.2/./g-ir-scanner",
 line 99, in 
:info:build sys.exit(scanner_main(sys.argv))
:info:build   File "./giscanner/scannermain.py", line 615, in scanner_main
:info:build write_output(data, options)
:info:build   File "./giscanner/scannermain.py", line 469, in write_output
:info:build passthrough_gir(main_f_name, temp_f)
:info:build   File "./giscanner/scannermain.py", line 260, in passthrough_gir
:info:build parser.parse(path)
:info:build   File "./giscanner/girparser.py", line 60, in parse
:info:build self.parse_tree(tree)
:info:build   File "./giscanner/girparser.py", line 69, in parse_tree
:info:build self._parse_api(tree.getroot())
:info:build   File "./giscanner/girparser.py", line 106, in _parse_api
:info:build for node in root.getchildren():
:info:build AttributeError: 'xml.etree.ElementTree.Element' object has no 
attribute 'getchildren'
:info:build make[2]: *** [GLib-2.0.gir] Error 1
:info:build make[2]: Leaving directory 
`/opt/local/var/macports/build/_Users_pbw_Software_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-1.60.2'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory 
`/opt/local/var/macports/build/_Users_pbw_Software_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-1.60.2'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory 
`/opt/local/var/macports/build/_Users_pbw_Software_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-1.60.2'
:info:build Command failed:  cd 
"/opt/local/var/macports/build/_Users_pbw_Software_ports_gnome_gobject-introspection/gobject-introspection/work/gobject-introspection-1.60.2"
 && /usr/bin/make -j8 -w all CC="/usr/bin/clang -arch arm64" V=1
:info:build Exit code: 2
:error:build Failed to build gobject-introspection: command execution failed
:debug:build Error code: CHILDSTATUS 35231 2
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec build"
:debug:build (procedure "portbuild::build_main" line 8)
:debug:build invoked from within
:debug:build "$procedure $targetname"
:error:build See 
/opt/local/var/macports/logs/_Users_pbw_Software_ports_gnome_gobject-introspection/gobject-introspection/main.log
 for details.



Forcing python39 on M1

2021-03-12 Thread Peter West
Having heard that python39 is the only one (so far) to compile natively on M1, 
I’m trying to force the python ports I use to python39, by creating a local 
repo and modifying the Portfiles.

I ran intoa brick wall with gexiv2, which was because the g-ir-* python files 
were specifying python38. I tried building gobject-introspection with 39, but 
fails. I don’t know whether I can classify this as a bug and make a report. In 
any case, has anyone else been tinkering with python39 builds on M1?




—
p...@ehealth.id.au
“But if it is by the finger of God that I cast out demons, then the kingdom of 
God has come upon you.”