Re: Issue with installing port

2023-01-30 Thread Ryan Schmidt
On Jan 26, 2023, at 09:07, Will Senn wrote:

> On 1/26/23 1:43 AM, Joshua Root wrote:
>>> I'm trying to get pandoc to install.
>> The ticket for this is , FWIW.
> 
> I promise you I did search :). Thanks for the link though, it confirms it's 
> not just me!
> 
> `sudo port install pandoc -stack` works for now.
> 
> Suppose it didn't though... would I not be able to get the working version 
> that previously existed at all?

https://trac.macports.org/wiki/howto/InstallingOlderPort

> or is this an actual bug  in the recipe for 10.x's that somebody might fix 
> (it not working on MacOS < 11). I'm kind of clueless as to how macports works 
> behind the scenes because it has just pretty much worked for me over the 
> years without my having to worry about it.

The Portfile was deliberately programmed to do something different on macOS 
10.x than on macOS 11 and later. Based on the build failures, that appears to 
have been the wrong thing to do, and the Portfile has since been changed to no 
longer do that.

> I remember somebody way back when telling me that over time, things might 
> eventually stop working, but I thought that was bitrot or something, not this 
> kind of thing.

Most MacPorts contributors test on the latest or at least a recent macOS 
version. Most software developers also upgrade their systems to the latest or 
recent versions. Thus, as time goes on and ports are updated to new versions, 
it becomes increasingly likely that some change is introduced in some OS 
version and that some software starts depending on that change, and that users 
who remain on old OS versions are more likely to experience problems as a 
result. Whenever you find a problem, report it and hopefully someone can figure 
out how to fix it.



Re: Issue with installing port

2023-01-26 Thread Will Senn

On 1/26/23 1:43 AM, Joshua Root wrote:

I'm trying to get pandoc to install.

The ticket for this is , FWIW.


I promise you I did search :). Thanks for the link though, it confirms 
it's not just me!


`sudo port install pandoc -stack` works for now.

Suppose it didn't though... would I not be able to get the working 
version that previously existed at all? or is this an actual bug  in the 
recipe for 10.x's that somebody might fix (it not working on MacOS < 
11). I'm kind of clueless as to how macports works behind the scenes 
because it has just pretty much worked for me over the years without my 
having to worry about it.


I remember somebody way back when telling me that over time, things 
might eventually stop working, but I thought that was bitrot or 
something, not this kind of thing.


Thanks,

Will



Re: Issue with installing port

2023-01-25 Thread Joshua Root

I'm trying to get pandoc to install.

The ticket for this is , FWIW.

- Josh



Re: Issue with installing port

2023-01-25 Thread Will Senn

sudo port install pandoc

is what I was using. It takes forever and then fails. I did a little 
digging and noticed that there was a [+]stack: Use stack to build 
variant. So, I:


sudo port clean pandoc
sudo port install pandoc -stack

to see if that works. It's still building :).

Thanks for the tip on the fetch fails,

Will

On 1/25/23 4:47 PM, chilli.names...@gmail.com wrote:

Hi,

It's unclear if you tried

sudo port install pandoc

or to build it

sudo port -s install pandoc

Should install version 3. Sometimes fetch fails at all the sites, but 
that is rare, and you just try again, and usually it resolves itself.



On Jan 25, 2023, at 16:40, Will Senn  wrote:

 Hi,

I'm trying to get pandoc to install. I get these messages:

:info:archivefetch ---> pandoc-3.0_0+stack.darwin_18.x86_64.tbz2 
doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch 
pandoc-3.0_0+stack.darwin_18.x86_64.tbz2 from 
http://packages.macports.org/pandoc


And, sure enough, that tbz2 file doesn't exist on my filesystem, or 
at the url listed.


So, no pandoc :(.

If it matters, I'm on Mojave and just (re)installed macports on my 
system (cleaned out /opt/local, rm'ed macports, the X11.app, etc). 
It's version 2.8.0...


Is there a way I can work around this or is this an issue that needs 
attention by the macports folks?


Thanks,

Will


Re: Issue with installing port

2023-01-25 Thread Peter Hancock

On 25/01/2023 21:40, Will Senn wrote:

Hi,

I'm trying to get pandoc to install. I get these messages:

:info:archivefetch ---> pandoc-3.0_0+stack.darwin_18.x86_64.tbz2 doesn't seem 
to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch 
pandoc-3.0_0+stack.darwin_18.x86_64.tbz2 from http://packages.macports.org/pandoc

And, sure enough, that tbz2 file doesn't exist on my filesystem, or at the url 
listed.

So, no pandoc :(.


I'm accustomed to install pandoc using ghcup and cabal (outside macports).
In the past few days: it installs a pandoc library, but not an executable,
mentioning an cabal issue (#6481) on the pandoc github. Perhaps the cabal 
infrastructure
of pandoc is going wonky in a way that might affect macports.

P



Re: Issue with installing port

2023-01-25 Thread chilli.names...@gmail.com
Hi,

It's unclear if you tried

sudo port install pandoc

or to build it

sudo port -s install pandoc

Should install version 3. Sometimes fetch fails at all the sites, but that is 
rare, and you just try again, and usually it resolves itself.

> On Jan 25, 2023, at 16:40, Will Senn  wrote:
> 
>  Hi,
> 
> I'm trying to get pandoc to install. I get these messages:
> 
> :info:archivefetch --->  pandoc-3.0_0+stack.darwin_18.x86_64.tbz2 doesn't 
> seem to exist in /opt/local/var/macports/incoming/verified
> :msg:archivefetch --->  Attempting to fetch 
> pandoc-3.0_0+stack.darwin_18.x86_64.tbz2 from 
> http://packages.macports.org/pandoc
> 
> And, sure enough, that tbz2 file doesn't exist on my filesystem, or at the 
> url listed.
> 
> So, no pandoc :(.
> 
> If it matters, I'm on Mojave and just (re)installed macports on my system 
> (cleaned out /opt/local, rm'ed macports, the X11.app, etc). It's version 
> 2.8.0...
> 
> Is there a way I can work around this or is this an issue that needs 
> attention by the macports folks?
> 
> Thanks,
> 
> Will


Issue with installing port

2023-01-25 Thread Will Senn

Hi,

I'm trying to get pandoc to install. I get these messages:

:info:archivefetch ---> pandoc-3.0_0+stack.darwin_18.x86_64.tbz2 doesn't 
seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch 
pandoc-3.0_0+stack.darwin_18.x86_64.tbz2 from 
http://packages.macports.org/pandoc


And, sure enough, that tbz2 file doesn't exist on my filesystem, or at 
the url listed.


So, no pandoc :(.

If it matters, I'm on Mojave and just (re)installed macports on my 
system (cleaned out /opt/local, rm'ed macports, the X11.app, etc). It's 
version 2.8.0...


Is there a way I can work around this or is this an issue that needs 
attention by the macports folks?


Thanks,

Will