Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
folly: strange error, ad hoc.

Could you please attach the log for folly? Maybe it can be seen what goes wrong there.
Since it fails at configure, this is easy even if you have wiped out the build.

onetbb: error log attached

Could you try adding to the portfile (after other portgroups):
Code:
PortGroup legacysupport 1.1
This should fix `posix_memalign` issue for 10.4–10.5. This will require building `onetbb` from scratch, unfortunately (MacPorts will automatically handle it once portfile is modified and port build is invoked).


To track the issue: https://github.com/mackron/miniaudio/issues/898
This will likely be fixed more or less soon.
It is very helpful that you ran the build here, we can finally deal with this.
 
folly: there is no error log. only the message I posted.
atm I'm compiling onetbb with edited portfile.

failed again. log attached.
 

Attachments

  • onetbb.txt
    295.7 KB · Views: 24
  • Like
Reactions: barracuda156
folly: there is no error log. only the message I posted.
atm I'm compiling onetbb with edited portfile.

failed again. log attached.

Thank you very much. I will deal with that in a while.

P. S. onetbb is probably of little interest on its own for a common user, but one fundamental R package relies on it now, so as a consequence a broken onetbb translates into defunct R on 10.5, which is an undesirable state of things.
 
I've been trying to build either gcc11 or gcc12 on a new Leopard installation, and I was able to gcc10-bootstrap installed with no problems, but after applying the fixes from the above pull request to my local Portfiles, both newer gcc versions seem to be wanting to install gcc7 as a dependency. Do you happen to know if something has changed with other dependencies such that there's now an unwanted gcc7 requirement?

Just in case you haven’t seen: https://github.com/macports/macports-ports/pull/26655
 

Anyone who may want to make it build:

1. First build and install this branch of gcc10 using Apple native gcc42: https://github.com/iains/gcc-10-branch/tree/gcc-10-3-ppc
2. Using newly built gcc10, build gcc11: https://github.com/iains/gcc-11-branch

P. S. The process could be replicated on 10.6 PPC too, but needs adjustments. As of now, I tried to rebuild gcc10 as ppc32 on 10.5.8 and used that to install it on 10.6 PPC. It did install and apparently works. I have not yet tried it with gcc11. (Building gcc10 directly on 10.6 PPC failed, but should be possible. And unless 10.6 PPC is modified to re-introduce support for ppc64, m64 will not work.)


Are there any PPC binaries (which are typically named as "gcc-11-darwin-ppc-bin.tar.xz") which I could download and extract (typically into the /usr/local/ folder and start using right away w.o. installing any other thing such as MacPorts, gcc10, etc ?
 

Anyone who may want to make it build:

1. First build and install this branch of gcc10 using Apple native gcc42: https://github.com/iains/gcc-10-branch/tree/gcc-10-3-ppc
2. Using newly built gcc10, build gcc11: https://github.com/iains/gcc-11-branch

P. S. The process could be replicated on 10.6 PPC too, but needs adjustments. As of now, I tried to rebuild gcc10 as ppc32 on 10.5.8 and used that to install it on 10.6 PPC. It did install and apparently works. I have not yet tried it with gcc11. (Building gcc10 directly on 10.6 PPC failed, but should be possible. And unless 10.6 PPC is modified to re-introduce support for ppc64, m64 will not work.)


Are there any PPC binaries (which are typically named as "gcc-11-darwin-ppc-bin.tar.xz") which I could download and extract (typically into the /usr/local/ folder and start using right away w.o. installing any other thing such as MacPorts, gcc10, etc ?

For which OS?

I had a relatively recent (this summer?) standalone build of gcc15 on 10.6.8, it should work on 10.6.8, but not 10a190.
I have gcc10-bootstrap, obviously, but it has no Fortran, if that matters (for 10.5.8, 10a190 and Rosetta, the latter two are supposed to work in 10.6.8 ppc too, but untested).

While I do not see a completely standalone setup as too useful (sure enough, one can build everything by hand, but what is the gain), I can probably do a one-time build of gcc14 in this fashion just to have it available.

If you have a G5 machine, you may be better off running the build on your end though (and enabling optimizations for the CPU).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.