Re: Fetching port getmail fails

2024-04-20 Thread Horst Simon via macports-users
Thanks for the explanations
Sent from my iPhone

> On 21 Apr 2024, at 07:08, Ryan Schmidt  wrote:
> 
> On Apr 19, 2024, at 18:24, Horst Simon wrote:
>> 
>> What I tried to explain is that the curl I used in previous installs was 
>> from MacPorts, but when it failed I had only the macOS High Sierra native 
>> curl.
> 
> That's what I thought you meant, but I don't think you've achieved that.
> 
> You wrote:
> 
>> after adding changing
>> the root profile using /usr/local/bin and /usr/local/sbin it worked ok
> 
> I assume you mean that you edited the shell startup file of the root user so 
> that /usr/local/bin and /usr/local/sbin are included in its PATH environment 
> variable.
> 
> I further assume that you either meant /opt/local instead of /usr/local or 
> that you have built MacPorts from source and specified the configure 
> arguments --prefix=/usr/local --with-unsupported-prefix when doing so, since 
> using /usr/local as your MacPorts prefix is not recommended.
> 

Yes /opt/local and not /usr/local

> If that's what you did, then that will affect what commands are available 
> when you use a root shell but it will not affect which curl MacPorts uses.
> 
> MacPorts doesn't use the curl executable. It uses the libcurl library. Which 
> one it uses is determined at configure time. If you use MacPorts installed 
> from our installer, it uses /usr/lib/libcurl.dylib. If you build MacPorts 
> from source, you can have it use whatever curl you like by using the 
> --with-curlprefix configure argument, except that using the libcurl installed 
> by MacPorts is not recommended because if you ever deactivate the curl port, 
> then you would not be able to run MacPorts anymore because it would not be 
> able to find the libcurl library anymore.
> 
> To overcome this, some users who want to have MacPorts use a newer libcurl 
> than their OS provides build curl from source in some other prefix and 
> configure MacPorts to use that, or they install curl in a second copy of 
> MacPorts that they build from source in some other prefix and then build 
> their primary copy of MacPorts from source, using the libcurl from the second 
> copy of MacPorts.
> 
> We try to keep things working so that this is not necessary, e.g. by having a 
> network of mirror servers, making mirror servers available over http for old 
> OS versions whose libcurls can't access https anymore, etc. When you find 
> situations like this one with getmail where it's not working, just report it 
> to us and we'll figure out what needs to be fixed.
> 
> 


Re: Fetching port getmail fails

2024-04-20 Thread Ryan Schmidt
On Apr 19, 2024, at 18:24, Horst Simon wrote:
> 
> What I tried to explain is that the curl I used in previous installs was from 
> MacPorts, but when it failed I had only the macOS High Sierra native curl.

That's what I thought you meant, but I don't think you've achieved that.

You wrote:

> after adding changing
> the root profile using /usr/local/bin and /usr/local/sbin it worked ok

I assume you mean that you edited the shell startup file of the root user so 
that /usr/local/bin and /usr/local/sbin are included in its PATH environment 
variable.

I further assume that you either meant /opt/local instead of /usr/local or that 
you have built MacPorts from source and specified the configure arguments 
--prefix=/usr/local --with-unsupported-prefix when doing so, since using 
/usr/local as your MacPorts prefix is not recommended.

If that's what you did, then that will affect what commands are available when 
you use a root shell but it will not affect which curl MacPorts uses.

MacPorts doesn't use the curl executable. It uses the libcurl library. Which 
one it uses is determined at configure time. If you use MacPorts installed from 
our installer, it uses /usr/lib/libcurl.dylib. If you build MacPorts from 
source, you can have it use whatever curl you like by using the 
--with-curlprefix configure argument, except that using the libcurl installed 
by MacPorts is not recommended because if you ever deactivate the curl port, 
then you would not be able to run MacPorts anymore because it would not be able 
to find the libcurl library anymore.

To overcome this, some users who want to have MacPorts use a newer libcurl than 
their OS provides build curl from source in some other prefix and configure 
MacPorts to use that, or they install curl in a second copy of MacPorts that 
they build from source in some other prefix and then build their primary copy 
of MacPorts from source, using the libcurl from the second copy of MacPorts.

We try to keep things working so that this is not necessary, e.g. by having a 
network of mirror servers, making mirror servers available over http for old OS 
versions whose libcurls can't access https anymore, etc. When you find 
situations like this one with getmail where it's not working, just report it to 
us and we'll figure out what needs to be fixed.




Re[2]: Fetching port getmail fails

2024-04-19 Thread Horst Simon via macports-users

I am sorry misunderstood your last email, but anyway it is working now.

What I tried to explain is that the curl I used in previous installs was 
from MacPorts, but when it failed I had only the macOS High Sierra 
native curl.


Regards,
Horst


-- Original Message --

From "Ryan Schmidt" 

To "Horst Simon" 
Cc macports-users@lists.macports.org
Date 20/4/2024, 09:16:45
Subject Re: Fetching port getmail fails


On Apr 19, 2024, at 17:17, Horst Simon wrote:

 Yes, this was the problem, it used the macOS High Sierra curl, after adding 
changing
 the root profile using /usr/local/bin and /usr/local/sbin it worked ok.


I'm not sure what you're referring to with the root profile. But after writing 
my message to the list I manually put the missing file onto the MacPorts 
distfiles server so that you could fetch it from one of our mirrors, and I 
updated the getmail port to include a second download location.


Re: Fetching port getmail fails

2024-04-19 Thread Ryan Schmidt
On Apr 19, 2024, at 17:17, Horst Simon wrote:
> Yes, this was the problem, it used the macOS High Sierra curl, after adding 
> changing 
> the root profile using /usr/local/bin and /usr/local/sbin it worked ok.

I'm not sure what you're referring to with the root profile. But after writing 
my message to the list I manually put the missing file onto the MacPorts 
distfiles server so that you could fetch it from one of our mirrors, and I 
updated the getmail port to include a second download location. 


Re: Fetching port getmail fails

2024-04-19 Thread Horst Simon via macports-users
Yes, this was the problem, it used the macOS High Sierra curl, after adding 
changing 
the root profile using /usr/local/bin and /usr/local/sbin it worked ok.

Thanks
Horst Simon


> On 20 Apr 2024, at 01:36, Ryan Schmidt  wrote:
> 
> On Apr 19, 2024, at 00:15, contextnerror wrote:
>> The issue is that you’re getting too many redirects for the pyropus.ca url. 
>> I'm not sure why this is happening to you and not me.
> 
> You probably use different versions of macOS and therefore different versions 
> of curl. This is a bug in curl versions released between 2014 and 2022. 
> 
> https://trac.macports.org/ticket/67186


Re: Fetching port getmail fails

2024-04-19 Thread Ryan Schmidt
On Apr 19, 2024, at 00:15, contextnerror wrote:
> 
> The issue is that you’re getting too many redirects for the pyropus.ca url. 
> I'm not sure why this is happening to you and not me.

You probably use different versions of macOS and therefore different versions 
of curl. This is a bug in curl versions released between 2014 and 2022. 

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

Re: Fetching port getmail fails

2024-04-18 Thread contextnerror
The issue is that you’re getting too many redirects for the pyropus.ca url. I'm 
not sure why this is happening to you and not me. The livecheck on 
ports.macports.org also seems to be having this problem.
memtester, another port hosted on pyropus, also seems to have a problem with 
redirects for the livecheck. 

> On Apr 18, 2024, at 9:49 PM, Horst Simon  wrote:
> 
> I have the main.log file attached, it shows 404 errors.
> 
> -- Original Message --
> From: "contextnerror" 
> To: "Horst Simon" 
> Cc: macports-users@lists.macports.org
> Sent: 19/04/2024 1:38:02 PM
> Subject: Re: Fetching port getmail fails
> 
>> It’s currently working for me right now. Do you have a log?
>> 
>>> On Apr 18, 2024, at 7:32 PM, Horst Simon via macports-users 
>>>  wrote:
>>> 
>>> Tried to install get mail and get following errors, it worked a few days 
>>> ago, any answers why?
>>> 
>>> --->  Computing dependencies for getmail
>>> --->  Fetching archive for getmail
>>> --->  Attempting to fetch getmail-5.16_0.darwin_any.noarch.tbz2 from 
>>> http://packages.macports.org/getmail
>>> --->  Attempting to fetch getmail-5.16_0.darwin_any.noarch.tbz2 from 
>>> http://jog.id.packages.macports.org/macports/packages/getmail
>>> --->  Attempting to fetch getmail-5.16_0.darwin_any.noarch.tbz2 from 
>>> http://mirror.fcix.net/macports/packages/getmail
>>> --->  Fetching distfiles for getmail
>>> --->  Attempting to fetch getmail-5.16.tar.gz from 
>>> http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/getmail
>>> --->  Attempting to fetch getmail-5.16.tar.gz from 
>>> http://distfiles.macports.org/getmail
>>> --->  Attempting to fetch getmail-5.16.tar.gz from 
>>> http://mirror.fcix.net/macports/distfiles/getmail
>>> --->  Attempting to fetch getmail-5.16.tar.gz from 
>>> https://pyropus.ca/software/getmail/old-versions/
>>> --->  Attempting to fetch getmail-5.16.tar.gz from 
>>> http://ywg.ca.distfiles.macports.org/mirror/macports/distfiles/getmail
>>> --->  Attempting to fetch getmail-5.16.tar.gz from 
>>> http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/getmail
>>> --->  Attempting to fetch getmail-5.16.tar.gz from 
>>> http://kmq.jp.distfiles.macports.org/getmail
>>> --->  Attempting to fetch getmail-5.16.tar.gz from 
>>> http://cjj.kr.distfiles.macports.org/getmail
>>> --->  Attempting to fetch getmail-5.16.tar.gz from 
>>> http://mse.uk.distfiles.macports.org/getmail
>>> --->  Attempting to fetch getmail-5.16.tar.gz from 
>>> http://fra.de.distfiles.macports.org/getmail
>>> --->  Attempting to fetch getmail-5.16.tar.gz from 
>>> http://pek.cn.distfiles.macports.org/macports/distfiles/getmail
>>> --->  Attempting to fetch getmail-5.16.tar.gz from 
>>> http://cph.dk.distfiles.macports.org/getmail
>>> --->  Attempting to fetch getmail-5.16.tar.gz from 
>>> http://fco.it.distfiles.macports.org/getmail
>>> --->  Attempting to fetch getmail-5.16.tar.gz from 
>>> http://nue.de.distfiles.macports.org/getmail
>>> --->  Attempting to fetch getmail-5.16.tar.gz from 
>>> http://atl.us.distfiles.macports.org/getmail
>>> --->  Attempting to fetch getmail-5.16.tar.gz from 
>>> http://jog.id.distfiles.macports.org/macports/distfiles/getmail
>>> Error: Failed to fetch getmail: The requested URL returned error: 404 Not 
>>> Found
>>> Error: See 
>>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_getmail/getmail/main.log
>>>  for details.
>>> Error: Follow https://guide.macports.org/#project.tickets if you believe 
>>> there is a bug.
>>> Error: Processing of port getmail failed
>>> 
>>> Horst
> 



Re[2]: Fetching port getmail fails

2024-04-18 Thread Horst Simon via macports-users

I have the main.log file attached, it shows 404 errors.

-- Original Message --
From: "contextnerror" 
To: "Horst Simon" 
Cc: macports-users@lists.macports.org
Sent: 19/04/2024 1:38:02 PM
Subject: Re: Fetching port getmail fails


It’s currently working for me right now. Do you have a log?


 On Apr 18, 2024, at 7:32 PM, Horst Simon via macports-users 
 wrote:

 Tried to install get mail and get following errors, it worked a few days ago, 
any answers why?

 --->  Computing dependencies for getmail
 --->  Fetching archive for getmail
 --->  Attempting to fetch getmail-5.16_0.darwin_any.noarch.tbz2 from 
http://packages.macports.org/getmail
 --->  Attempting to fetch getmail-5.16_0.darwin_any.noarch.tbz2 from 
http://jog.id.packages.macports.org/macports/packages/getmail
 --->  Attempting to fetch getmail-5.16_0.darwin_any.noarch.tbz2 from 
http://mirror.fcix.net/macports/packages/getmail
 --->  Fetching distfiles for getmail
 --->  Attempting to fetch getmail-5.16.tar.gz from 
http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/getmail
 --->  Attempting to fetch getmail-5.16.tar.gz from 
http://distfiles.macports.org/getmail
 --->  Attempting to fetch getmail-5.16.tar.gz from 
http://mirror.fcix.net/macports/distfiles/getmail
 --->  Attempting to fetch getmail-5.16.tar.gz from 
https://pyropus.ca/software/getmail/old-versions/
 --->  Attempting to fetch getmail-5.16.tar.gz from 
http://ywg.ca.distfiles.macports.org/mirror/macports/distfiles/getmail
 --->  Attempting to fetch getmail-5.16.tar.gz from 
http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/getmail
 --->  Attempting to fetch getmail-5.16.tar.gz from 
http://kmq.jp.distfiles.macports.org/getmail
 --->  Attempting to fetch getmail-5.16.tar.gz from 
http://cjj.kr.distfiles.macports.org/getmail
 --->  Attempting to fetch getmail-5.16.tar.gz from 
http://mse.uk.distfiles.macports.org/getmail
 --->  Attempting to fetch getmail-5.16.tar.gz from 
http://fra.de.distfiles.macports.org/getmail
 --->  Attempting to fetch getmail-5.16.tar.gz from 
http://pek.cn.distfiles.macports.org/macports/distfiles/getmail
 --->  Attempting to fetch getmail-5.16.tar.gz from 
http://cph.dk.distfiles.macports.org/getmail
 --->  Attempting to fetch getmail-5.16.tar.gz from 
http://fco.it.distfiles.macports.org/getmail
 --->  Attempting to fetch getmail-5.16.tar.gz from 
http://nue.de.distfiles.macports.org/getmail
 --->  Attempting to fetch getmail-5.16.tar.gz from 
http://atl.us.distfiles.macports.org/getmail
 --->  Attempting to fetch getmail-5.16.tar.gz from 
http://jog.id.distfiles.macports.org/macports/distfiles/getmail
 Error: Failed to fetch getmail: The requested URL returned error: 404 Not Found
 Error: See 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_getmail/getmail/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe there 
is a bug.
 Error: Processing of port getmail failed

 Horst


main.log.gz
Description: GNU Zip compressed data


Re: Fetching port getmail fails

2024-04-18 Thread contextnerror
It’s currently working for me right now. Do you have a log?

> On Apr 18, 2024, at 7:32 PM, Horst Simon via macports-users 
>  wrote:
> 
> Tried to install get mail and get following errors, it worked a few days ago, 
> any answers why?
> 
> --->  Computing dependencies for getmail
> --->  Fetching archive for getmail
> --->  Attempting to fetch getmail-5.16_0.darwin_any.noarch.tbz2 from 
> http://packages.macports.org/getmail
> --->  Attempting to fetch getmail-5.16_0.darwin_any.noarch.tbz2 from 
> http://jog.id.packages.macports.org/macports/packages/getmail
> --->  Attempting to fetch getmail-5.16_0.darwin_any.noarch.tbz2 from 
> http://mirror.fcix.net/macports/packages/getmail
> --->  Fetching distfiles for getmail
> --->  Attempting to fetch getmail-5.16.tar.gz from 
> http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/getmail
> --->  Attempting to fetch getmail-5.16.tar.gz from 
> http://distfiles.macports.org/getmail
> --->  Attempting to fetch getmail-5.16.tar.gz from 
> http://mirror.fcix.net/macports/distfiles/getmail
> --->  Attempting to fetch getmail-5.16.tar.gz from 
> https://pyropus.ca/software/getmail/old-versions/
> --->  Attempting to fetch getmail-5.16.tar.gz from 
> http://ywg.ca.distfiles.macports.org/mirror/macports/distfiles/getmail
> --->  Attempting to fetch getmail-5.16.tar.gz from 
> http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/getmail
> --->  Attempting to fetch getmail-5.16.tar.gz from 
> http://kmq.jp.distfiles.macports.org/getmail
> --->  Attempting to fetch getmail-5.16.tar.gz from 
> http://cjj.kr.distfiles.macports.org/getmail
> --->  Attempting to fetch getmail-5.16.tar.gz from 
> http://mse.uk.distfiles.macports.org/getmail
> --->  Attempting to fetch getmail-5.16.tar.gz from 
> http://fra.de.distfiles.macports.org/getmail
> --->  Attempting to fetch getmail-5.16.tar.gz from 
> http://pek.cn.distfiles.macports.org/macports/distfiles/getmail
> --->  Attempting to fetch getmail-5.16.tar.gz from 
> http://cph.dk.distfiles.macports.org/getmail
> --->  Attempting to fetch getmail-5.16.tar.gz from 
> http://fco.it.distfiles.macports.org/getmail
> --->  Attempting to fetch getmail-5.16.tar.gz from 
> http://nue.de.distfiles.macports.org/getmail
> --->  Attempting to fetch getmail-5.16.tar.gz from 
> http://atl.us.distfiles.macports.org/getmail
> --->  Attempting to fetch getmail-5.16.tar.gz from 
> http://jog.id.distfiles.macports.org/macports/distfiles/getmail
> Error: Failed to fetch getmail: The requested URL returned error: 404 Not 
> Found
> Error: See 
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_getmail/getmail/main.log
>  for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe 
> there is a bug.
> Error: Processing of port getmail failed
> 
> Horst



Fetching port getmail fails

2024-04-18 Thread Horst Simon via macports-users
Tried to install get mail and get following errors, it worked a few days 
ago, any answers why?




--->  Computing dependencies for getmail

--->  Fetching archive for getmail

--->  Attempting to fetch getmail-5.16_0.darwin_any.noarch.tbz2 from 
http://packages.macports.org/getmail


--->  Attempting to fetch getmail-5.16_0.darwin_any.noarch.tbz2 from 
http://jog.id.packages.macports.org/macports/packages/getmail


--->  Attempting to fetch getmail-5.16_0.darwin_any.noarch.tbz2 from 
http://mirror.fcix.net/macports/packages/getmail


--->  Fetching distfiles for getmail

--->  Attempting to fetch getmail-5.16.tar.gz from 
http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/getmail


--->  Attempting to fetch getmail-5.16.tar.gz from 
http://distfiles.macports.org/getmail


--->  Attempting to fetch getmail-5.16.tar.gz from 
http://mirror.fcix.net/macports/distfiles/getmail


--->  Attempting to fetch getmail-5.16.tar.gz from 
https://pyropus.ca/software/getmail/old-versions/


--->  Attempting to fetch getmail-5.16.tar.gz from 
http://ywg.ca.distfiles.macports.org/mirror/macports/distfiles/getmail


--->  Attempting to fetch getmail-5.16.tar.gz from 
http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/getmail


--->  Attempting to fetch getmail-5.16.tar.gz from 
http://kmq.jp.distfiles.macports.org/getmail


--->  Attempting to fetch getmail-5.16.tar.gz from 
http://cjj.kr.distfiles.macports.org/getmail


--->  Attempting to fetch getmail-5.16.tar.gz from 
http://mse.uk.distfiles.macports.org/getmail


--->  Attempting to fetch getmail-5.16.tar.gz from 
http://fra.de.distfiles.macports.org/getmail


--->  Attempting to fetch getmail-5.16.tar.gz from 
http://pek.cn.distfiles.macports.org/macports/distfiles/getmail


--->  Attempting to fetch getmail-5.16.tar.gz from 
http://cph.dk.distfiles.macports.org/getmail


--->  Attempting to fetch getmail-5.16.tar.gz from 
http://fco.it.distfiles.macports.org/getmail


--->  Attempting to fetch getmail-5.16.tar.gz from 
http://nue.de.distfiles.macports.org/getmail


--->  Attempting to fetch getmail-5.16.tar.gz from 
http://atl.us.distfiles.macports.org/getmail


--->  Attempting to fetch getmail-5.16.tar.gz from 
http://jog.id.distfiles.macports.org/macports/distfiles/getmail


Error: Failed to fetch getmail: The requested URL returned error: 404 
Not Found


Error: See 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_getmail/getmail/main.log 
for details.


Error: Follow https://guide.macports.org/#project.tickets if you believe 
there is a bug.


Error: Processing of port getmail failed



Horst