Re: llvm-9.0 on 10.6.8 shows red -- but it builds

2021-05-18 Thread Ryan Schmidt
On May 18, 2021, at 04:35, Mojca Miklavec wrote:

>>> That probably counts as a bug in the Tcl script that returns the list
>>> of subports to be built.
>> 
>> I'm not aware of a bug in that script.
> 
> Do you have any clue or any alternative explanation why llvm-9.0 would
> be missing on this list?
>https://build.macports.org/builders/ports-10.6_x86_64-watcher/builds/9920
> 
> The port must have been built some time between 9907 and 9920:
>https://build.macports.org/builders/ports-10.6_x86_64-watcher/builds/9907
> 
> The port grepcidr was built in
>https://build.macports.org/builders/ports-10.6_x86_64-watcher/builds/9918
> and the timestamp of the binary from 10.6_x86_64 is 2020-09-07 07:55
> 
> The timestamp of llvm-9.0 is 2020-09-07 07:56.

mpbb was improved in January 2021 so that separate builds would be scheduled 
for any dependencies that had not yet been built:

https://github.com/macports/mpbb/commit/bb4a1f6089ee09fc20d00d3556311c3b0e7d2d99

Prior to that time, we would only schedule separate builds for the 
ports/subports that were modified in the commit (or were specified in the force 
build list) that had not already been built. Any unbuilt dependencies would be 
built coincidentally in the "install dependencies" step and uploaded in the 
"gather archives" step.




Re: llvm-9.0 on 10.6.8 shows red -- but it builds

2021-05-18 Thread Mojca Miklavec
> > That probably counts as a bug in the Tcl script that returns the list
> > of subports to be built.
>
> I'm not aware of a bug in that script.

Do you have any clue or any alternative explanation why llvm-9.0 would
be missing on this list?
https://build.macports.org/builders/ports-10.6_x86_64-watcher/builds/9920

The port must have been built some time between 9907 and 9920:
https://build.macports.org/builders/ports-10.6_x86_64-watcher/builds/9907

The port grepcidr was built in
https://build.macports.org/builders/ports-10.6_x86_64-watcher/builds/9918
and the timestamp of the binary from 10.6_x86_64 is 2020-09-07 07:55

The timestamp of llvm-9.0 is 2020-09-07 07:56.

python38 was probably the first port built in portwatcher 9920.
Its timestamp is 2020-09-07 08:14.

Ports from 9919 are probably not distributable, so we don't have any
timestamps there.

Mojca


Re: llvm-9.0 on 10.6.8 shows red -- but it builds

2021-05-18 Thread Ryan Schmidt
On May 18, 2021, at 00:53, Mojca Miklavec wrote:

> On Tue, 18 May 2021 at 07:15, Ken Cunningham wrote:
>> 
>> People are quoting 
>> 
>>   the lack of llvm-9.0 for SnowLeopard on macports as a sign of the demise 
>> of older systems, and it does for some reason show red here:
>> 
>> https://ports.macports.org/port/llvm-9.0/builds
>> 
>> but it builds fine, along with most later llvms and all of the earlier ones, 
>> and it exists on the packages server in all archs:
> 
> To me it looks like it was broken for a very short period of time on
> all systems from 10.6 to 10.9 (tons of ports were broken).
>https://build.macports.org/builders/ports-10.6_x86_64-watcher/builds/9907
> 
> It must have been fixed some 30 hours later judging from the
> timestamps. I see that Ryan scheduled a rebuild of many failed jobs in
>https://build.macports.org/builders/ports-10.6_x86_64-watcher/builds/9920
> including llvm-9.0, but llvm-9.0 is missing on that list of subports.
> 
> I suspect that's because llvm-9.0 must have been the default compiler
> for one of the ports built somewhere inbetween those two portwatcher
> jobs (logs for portbuilder are gone already, so we cannot investigate
> those any longer), and it was built and uploaded successfully as part
> of building another unrelated ports, but we most likely don't account
> for a broken compiler (as a port dependency) being built explicitly in
> a standalone portbuilder job.
> 
> (There are only 12 portwatcher jobs to investigate if we wanted to
> find which port was that ;)
> 
> That probably counts as a bug in the Tcl script that returns the list
> of subports to be built.

I'm not aware of a bug in that script.


>> If anyone knows how to make the ports.macports.org website show it in green, 
>> that would be appreciated.
> 
> The fastest one would be by revbumping that port ;)

Don't do that.



Re: llvm-9.0 on 10.6.8 shows red -- but it builds

2021-05-17 Thread Joshua Root

On 2021-5-18 15:53 , Mojca Miklavec wrote:

Sure, there's also a problem that Joshua pointed out that needs
addressing, but even that fix wouldn't solve this particular instance.


That was just an example of one improvement that could be made. It's 
been discussed before on the mailing list that it would be nice if the 
status indicators also took into account whether binaries are available 
(and other information like known_fail).


- Josh


Re: llvm-9.0 on 10.6.8 shows red -- but it builds

2021-05-17 Thread Mojca Miklavec
On Tue, 18 May 2021 at 07:15, Ken Cunningham wrote:
>
> People are quoting 
> 
>   the lack of llvm-9.0 for SnowLeopard on macports as a sign of the demise of 
> older systems, and it does for some reason show red here:
>
> https://ports.macports.org/port/llvm-9.0/builds
>
> but it builds fine, along with most later llvms and all of the earlier ones, 
> and it exists on the packages server in all archs:

To me it looks like it was broken for a very short period of time on
all systems from 10.6 to 10.9 (tons of ports were broken).
https://build.macports.org/builders/ports-10.6_x86_64-watcher/builds/9907

It must have been fixed some 30 hours later judging from the
timestamps. I see that Ryan scheduled a rebuild of many failed jobs in
https://build.macports.org/builders/ports-10.6_x86_64-watcher/builds/9920
including llvm-9.0, but llvm-9.0 is missing on that list of subports.

I suspect that's because llvm-9.0 must have been the default compiler
for one of the ports built somewhere inbetween those two portwatcher
jobs (logs for portbuilder are gone already, so we cannot investigate
those any longer), and it was built and uploaded successfully as part
of building another unrelated ports, but we most likely don't account
for a broken compiler (as a port dependency) being built explicitly in
a standalone portbuilder job.

(There are only 12 portwatcher jobs to investigate if we wanted to
find which port was that ;)

That probably counts as a bug in the Tcl script that returns the list
of subports to be built.

> If anyone knows how to make the ports.macports.org website show it in green, 
> that would be appreciated.

The fastest one would be by revbumping that port ;)

The whole logic for showing the port as green currently requires
having an entry of a successful port build in a database. But
apparently we never had such a build, and you cannot force build a
port that already exists on the package server either.

Sure, there's also a problem that Joshua pointed out that needs
addressing, but even that fix wouldn't solve this particular instance.

Mojca

(My feature request for the webapp would be to allow an explicit URL
to show older builds of a port. But it makes sense to deploy the new
site first.)


Re: llvm-9.0 on 10.6.8 shows red -- but it builds

2021-05-17 Thread Joshua Root

On 2021-5-18 15:15 , Ken Cunningham wrote:
People are quoting 
> 
  the lack of llvm-9.0 for SnowLeopard on macports as a sign of the 
demise of older systems, and it does for some reason show red here:


https://ports.macports.org/port/llvm-9.0/builds 



but it builds fine, along with most later llvms and all of the earlier 
ones, and it exists on the packages server in all archs:


http://packages.macports.org/llvm-9.0/llvm-9.0-9.0.1_1+emulated_tls.darwin_10.x86_64.tbz2 



http://packages.macports.org/llvm-9.0/llvm-9.0-9.0.1_1+emulated_tls.darwin_10.i386.tbz2 



http://packages.macports.org/llvm-9.0/llvm-9.0-9.0.1_1+emulated_tls+universal.darwin_10.i386-x86_64.tbz2 



If anyone knows how to make the ports.macports.org 
 website show it in green, that would be 
appreciated.


The status indicator isn't very sophisticated, it simply shows the 
success or failure of the last build it knows about for the port on that 
platform. If you click on the Build Information tab, you can see that 
indeed the last known build on 10.6 failed (due to dependencies 
failing). For whatever reason, the later build that obviously succeeded 
is not in the database.


There are a number of improvements to the display that have been 
suggested, e.g. 
, and I think 
some of them are implemented in the updated version of the web app 
which, last I heard, Arjun and Mojca are working to deploy.


- Josh


llvm-9.0 on 10.6.8 shows red -- but it builds

2021-05-17 Thread Ken Cunningham
People are quoting 
>
  the lack of llvm-9.0 for SnowLeopard on macports as a sign of the demise of 
older systems, and it does for some reason show red here:

https://ports.macports.org/port/llvm-9.0/builds 


but it builds fine, along with most later llvms and all of the earlier ones, 
and it exists on the packages server in all archs:

http://packages.macports.org/llvm-9.0/llvm-9.0-9.0.1_1+emulated_tls.darwin_10.x86_64.tbz2
 


http://packages.macports.org/llvm-9.0/llvm-9.0-9.0.1_1+emulated_tls.darwin_10.i386.tbz2
 


http://packages.macports.org/llvm-9.0/llvm-9.0-9.0.1_1+emulated_tls+universal.darwin_10.i386-x86_64.tbz2
 


If anyone knows how to make the ports.macports.org  
website show it in green, that would be appreciated.

Thanks,

Ken