OpenJDK: need little help with ObjC

2024-07-09 Thread Sergio Had
Could someone help with one chunk of ObjC code in OpenJDK?

I have finally built the thing and it works, from looks of things, but I get a 
message on startup:
36-25% 
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_java_openjdk8/openjdk8/work/jdk8u-jdk8u372-ga/build/openjdk8/images/j2sdk-image/bin/java
 -version
2024-07-09 18:34:10.587 java[13785:1903] *** __NSAutoreleaseNoPool(): Object 
0x5d12e50 of class NSCFDictionary autoreleased with no pool in place - just 
leaking
2024-07-09 18:34:10.590 java[13785:1903] *** __NSAutoreleaseNoPool(): Object 
0x5d13310 of class NSCFData autoreleased with no pool in place - just leaking
openjdk version "1.8.0_372"
OpenJDK Runtime Environment (build 1.8.0_372-root_2024_07_09_15_56-b00)
OpenJDK Zero VM (build 25.372-b00, interpreted mode)

This seems to be related to the code, which upstream has switched to block 
syntax (it does not build with GCC), so I had to use its earlier version.
>From commit message it seems upstream also had this startup issue:
https://github.com/openjdk/jdk8u/commit/c29d997ca180ba5d812df7745c668cfc906be20b

Can we fix it properly without blocks?

Serge


Re: ports-12_x86_64-watcher out of disk space

2024-07-09 Thread Ryan Carsten Schmidt
On Jul 9, 2024, at 14:36, Ryan Carsten Schmidt wrote:
> 
> 
>> On Jul 9, 2024, at 07:32, Chris Jones wrote:
>> 
>> See
>> 
>> https://build.macports.org/builders/ports-12_x86_64-watcher
>> 
>> error: cannot open '.git/FETCH_HEAD': No space left on device
> 
> Because of nodejs:
> 
> https://trac.macports.org/ticket/69894

And because of fseventsd:

https://trac.macports.org/ticket/60185

Running that cleanup freed almost 1 GB of space. 

After rebooting the builder and deleting the 15 GB failed nodejs20 build 
directory, 21 GB are free which is enough to build nodejs. 

I've rescheduled the failed builds. 

Re: ports-12_x86_64-watcher out of disk space

2024-07-09 Thread Ryan Carsten Schmidt
On Jul 9, 2024, at 07:32, Chris Jones wrote:
> 
> See
> 
> https://build.macports.org/builders/ports-12_x86_64-watcher
> 
> error: cannot open '.git/FETCH_HEAD': No space left on device

Because of nodejs:

https://trac.macports.org/ticket/69894

ports-12_x86_64-watcher out of disk space

2024-07-09 Thread Chris Jones

Hi,

See

https://build.macports.org/builders/ports-12_x86_64-watcher

error: cannot open '.git/FETCH_HEAD': No space left on device

cheers Chris