Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
@barracuda156, as always, you are a fountain of knowledge. That beats deleting gstreamer1 or trying an earlier version. MUCH more elegant. Elegant and effective is ALWAYS better than brute force and kludgey.

It will be tomorrow before I can give this a whirl, but I will do so at that time and get back to this group with the results.

This is a "dumb ass question", and I freely admit I have done no research on this yet, but is there a reasonably concise overview of how MacPorts is structured, and how it works? Rather than just use it, but with very limited knowledge, I would like to learn more about it.

I *could* grind through everything Google would turn up on it, or I could be more efficient and go right to an expert .. you! Any thoughts on where I could start to educate myself most efficiently? As I have always said, work hard, but work smart. Inspiration often goes much farther, much faster, than perspiration.
 
I tried to compile 3.7.x versions of Smultron (strictly speaking it’s a fork of it), both failed: https://github.com/jfmoy/Fraise/issues/53
There may be a chance of building this on 10.6.8 with 10.5 target, need to try.

If you contact the developer, that would be nice. Ideally we want this compileable on 10.5 and 10.6 both, with gcc (without blocks).
One more thing... I have not forgotten about Fraise. I will also try this out tomorrow and get back to the group here.THANK YOU for surfacing this!
 
@barracuda156, as always, you are a fountain of knowledge. That beats deleting gstreamer1 or trying an earlier version. MUCH more elegant. Elegant and effective is ALWAYS better than brute force and kludgey.

It will be tomorrow before I can give this a whirl, but I will do so at that time and get back to this group with the results.

This is a "dumb ass question", and I freely admit I have done no research on this yet, but is there a reasonably concise overview of how MacPorts is structured, and how it works? Rather than just use it, but with very limited knowledge, I would like to learn more about it.

I *could* grind through everything Google would turn up on it, or I could be more efficient and go right to an expert .. you! Any thoughts on where I could start to educate myself most efficiently? As I have always said, work hard, but work smart. Inspiration often goes much farther, much faster, than perspiration.

Doesn’t this satisfy the need?


It won’t cover some unofficial tweaks, admittedly, but on 10.5 you should not need those anyway.
 
Well, the battle to get the Geeqie port to install continues. Using the above, I was able to get past gstreamer1, and then progressed ahead quite a number of additional dependencies before getting hopelessly stuck on openal-soft, and a dependency of its, coreaudio.cpp. I have ultimately isolated out the compile command for coreaudio.cpp and ran it manually. It produces lots of warnings, but no errors... but no coreaudio.cpp.o file either.

After it complained that it could not create the output file, I changed that file to be in simply whatever directory was being used for building. Still no result. Lots of warnings, no errors, but no .o file. After most of an afternoon working on this, I am completely stuck again.

I have attached the log file just in case that may help. Perhaps, just perhaps, both Geeqie and Smultron have hard 10.6 (or later) dependencies?
 

Attachments

  • geeqie.log.txt
    2.2 MB · Views: 44
Well, the battle to get the Geeqie port to install continues. Using the above, I was able to get past gstreamer1, and then progressed ahead quite a number of additional dependencies before getting hopelessly stuck on openal-soft, and a dependency of its, coreaudio.cpp. I have ultimately isolated out the compile command for coreaudio.cpp and ran it manually. It produces lots of warnings, but no errors... but no coreaudio.cpp.o file either.

After it complained that it could not create the output file, I changed that file to be in simply whatever directory was being used for building. Still no result. Lots of warnings, no errors, but no .o file. After most of an afternoon working on this, I am completely stuck again.

I have attached the log file just in case that may help. Perhaps, just perhaps, both Geeqie and Smultron have hard 10.6 (or later) dependencies?

Please open a ticket on Trac for openal-soft – that it fails to build on 10.5.
 
Yup, last course of action here. After that, I guess I have to admit defeat on Geeqie.

Meantime, I tried the GQView port; not as elaborate as Geeqie, but a fast and easily understood image viewer. That port went right through, despite having to build GTK2+ as a dependency, and works beautifully.

Now I am working on turning all of the GUI ports (AbiWord, gnumeric, GQView, etc ) into Automator apps, so they can be placed into the /Applications folder and used in the same way as a Mac-native app. You can even assign the program's icon to the "script app", making it indistinguishable from a native app.

This was easy on macOS Monterey; less so on Sorbet, where the included version of Automator is too early to support saving workflows as apps. I am trying AppleScript as an alternative. I've never used AppleScript before, but the dedicated ScriptEditor app DOES support saving scripts as apps, so this looks like a promising path.

Of course, having not used AppleScript before, I am doing a lot of reading to figure out how to do this best. I have tried several approaches, all of which have worked, but continue to experiment, wanting to get to the most seamless and elegant solution. I will post it here when I finish.
 
Now I am working on turning all of the GUI ports (AbiWord, gnumeric, GQView, etc ) into Automator apps, so they can be placed into the /Applications folder and used in the same way as a Mac-native app. You can even assign the program's icon to the "script app", making it indistinguishable from a native app.

You rather check with one or two apps if that works at all. Not building bundles, that will work, of course, but actually using them. I have not had a good experience with bundles. In many cases binaries themselves work perfectly, but launching a bundle with them fails, they just crash on start. (That could be something wrong with the way MacPorts makes them, no idea.)

Yup, last course of action here. After that, I guess I have to admit defeat on Geeqie.

Why don’t you try building a minimal thing first? Delete all dependencies from its portfile and all configure args enabling something, just let configure script pick whatever it can find. (Yes, that violates reproducibility, but it makes sense to determine if the app is usable prior to spending a week on its dependencies.)
Make sure you made a change to zenity portfile by the way, otherwise you may be building endless unnecessary stuff which is pulled in by WebKit2GTK (which itself will not build in any case).
 
This has to be a stupid question (I must be missing something) but why would you want MacPorts on Linux or OpenBSD? Each distro typically comes with it's own package manager and a whole set of supported packages. Are you just trying to add packages that are missing from the distro itself?

Still a pain to use, but some progress is there:

IMG_9608.jpg
 
Agreed @barracuda156. I was going to do just that, but suspecting that it just won't work (I am guessing that there are hard 10.6 dependencies) I didn't bother to say. In fact, I will keep "playing" with this in the background, but you've been SO helpful that I hate to keep grinding up your time while I obsessively try to get this app going! I really DO appreciate the effort you have or into this.

IF I get anywhere ultimately, I will post back in this thread.

Assuming success in the "turn MacPorts apps into "regular" apps" via Automator or AppleScript (or a small hand crafted C program to do the same thing - I will write one if nothing else works), I will post a new thread to make the topic more easily found during searches.
 
Agreed @barracuda156. I was going to do just that, but suspecting that it just won't work (I am guessing that there are hard 10.6 dependencies) I didn't bother to say. In fact, I will keep "playing" with this in the background, but you've been SO helpful that I hate to keep grinding up your time while I obsessively try to get this app going! I really DO appreciate the effort you have or into this.

IF I get anywhere ultimately, I will post back in this thread.

Assuming success in the "turn MacPorts apps into "regular" apps" via Automator or AppleScript (or a small hand crafted C program to do the same thing - I will write one if nothing else works), I will post a new thread to make the topic more easily found during searches.

Take a look also at app PortGroup.

Though it is not too inconvenient IMO to launch apps from terminal. It is actually faster: just type the name and hit return (assuming /opt/local/bin is in the path).
 
Well, persistence, determination and the tireless help of @barracuda156 finally prevailed. The Geeqie port finally succeeded!

In this case, it was @barracuda156 who pointed the way to success:

"Make sure you made a change to zenity portfile by the way, otherwise you may be building endless unnecessary stuff which is pulled in by WebKit2GTK (which itself will not build in any case)."

It was the "endless unnecessary stuff" part of that comment that turned the tide. I read the earlier comments about fixing zenity's portfile, but figured I would do that when the build encountered it and it failed. This of course never happened... all those dependencies being pulled in by zenity preceed it in the build process and if was THOSE that the build was failing on.

After reading the "endless unnecessary stuff" comment, I decided to tackle zenity right away, figuring it might move me a few more steps ahead in the build process, before it failed somewhere else. I applied the zenity portfile changes and build it by itself (sudo port install zenity). This took a while, but the build of zenity succeeded.

Then I restarted the geeqie build, but instead of returning to building dependencies, it went right to geeqie itself and successfully built it! In this case, zenity's dependencies had been the problem all along.

The built geeqie runs successfully and is a great program. It looks VERY similar to GQView; I suspect a little digging will reveal that they are forks of one another, or some such... rather like Fraise and Smultron.

So, mission accomplished! ... and I can't thank @barracuda156 enough for hanging in there with me as we ground through one problem after another. @barracuda156, you are a true credit to these forums!
 
  • Like
Reactions: barracuda156
Glad that it worked finally.

BTW, zenity fix is merged to MacPorts now, so no need for manual tweaking of it anymore.
 
Finally, success! ... the pointers from @barracuda156 were right on the mark. I had to install TextWrangler, and hunt for a long time to find the portfile for libjxl, but in the end all was well, and when I made the port file change suggested by @barracuda156 , the port went right through and the install of fastfetch *finally* succeeded.

[drum roll please]

... and the output of fastfetch appears below:
View attachment 2406099
MANY, MANY thanks @barracuda156 !

FastFetch updated to 2.22.0

Could someone try it on Tiger or Leopard? If something fails, I will fix that ASAP.

On my side I tested it on 10.6 ppc, that builds fine and works as before.
 
@barracuda156: I hope this could be a acceptable place for some quirks regarding 10.5 and macports cause @mac57mac57 (I like your blog "Quadras" since years!) had also problems with compiling stuff via MP.


Every time I'm close to building stuff I want (abiword, fast fetch , openjdk8 etc.) one or two decencies won't build. as I told you in another thread I use the unofficial repo from @doctor_dog and configured MP as he did describe it.

Last Lines from Log, building abiword-X11:

Code:
info:build xap_UnixDlg_Image.cpp: In member function 'virtual GtkWidget* XAP_UnixDialog_Image::_constructWindow()':
:info:build xap_UnixDlg_Image.cpp:512:28: error: 'newDialggBuilder' was not declared in this scope
:info:build      GtkBuilder * builder = newDialggBuilder(ui_file);
:info:build                             ^~~~~~~~~~~~~~~~
:info:build xap_UnixDlg_Image.cpp:512:28: note: suggested alternative: 'newDialogBuilder'
:info:build      GtkBuilder * builder = newDialggBuilder(ui_file);
:info:build                             ^~~~~~~~~~~~~~~~
:info:build                             newDialogBuilder
:info:build xap_UnixDlg_Image.cpp:515:2: error: 'm_wHeighdSpin' was not declared in this scope
:info:build   m_wHeighdSpin = GTK_WIDGET(gtk_builder_get_object(builder, "sbHeight"));
:info:build   ^~~~~~~~~~~~~
:info:build xap_UnixDlg_Image.cpp:515:2: note: suggested alternative: 'm_wHeightSpin'
:info:build   m_wHeighdSpin = GTK_WIDGET(gtk_builder_get_object(builder, "sbHeight"));
:info:build   ^~~~~~~~~~~~~
:info:build   m_wHeightSpin
:info:build xap_UnixDlg_Image.cpp:518:2: error: 'm_wWidthEntby' was not declared in this scope
:info:build   m_wWidthEntby = GTK_WIDGET(gtk_builder_get_object(builder, "edWidth"));
:info:build   ^~~~~~~~~~~~~
:info:build xap_UnixDlg_Image.cpp:518:2: note: suggested alternative: 'm_wWidthEntry'
:info:build   m_wWidthEntby = GTK_WIDGET(gtk_builder_get_object(builder, "edWidth"));
:info:build   ^~~~~~~~~~~~~
:info:build   m_wWidthEntry
:info:build xap_UnixDlg_Image.cpp:525:2: error: 'gtk_toggle_button_setWactive' was not declared in this scope
:info:build   gtk_toggle_button_setWactive (GTK_TOGGLE_BUTTON (m_wAspectCheck), m_bAspect);
:info:build   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build xap_UnixDlg_Image.cpp:525:2: note: suggested alternative: 'gtk_toggle_button_set_active'
:info:build   gtk_toggle_button_setWactive (GTK_TOGGLE_BUTTON (m_wAspectCheck), m_bAspect);
:info:build   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build   gtk_toggle_button_set_active
:info:build xap_UnixDlg_Image.cpp:533:2: error: 'gtk_spin_butpon_set_adjustment' was not declared in this scope
:info:build   gtk_spin_butpon_set_adjustment (GTK_SPIN_BUTTON(m_wWidthSpin), GTK_ADJUSTMENT(m_oWidthSpin_adj));
:info:build   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build xap_UnixDlg_Image.cpp:533:2: note: suggested alternative: 'gtk_spin_button_set_adjustment'
:info:build   gtk_spin_butpon_set_adjustment (GTK_SPIN_BUTTON(m_wWidthSpin), GTK_ADJUSTMENT(m_oWidthSpin_adj));
:info:build   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build   gtk_spin_button_set_adjustment
:info:build make[6]: *** [xap_UnixDlg_Image.lo] Error 1
:info:build make[6]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_abiword-x11/abiword-x11/work/AbiWord-3.0.5/src/af/xap/gtk'
:info:build make[5]: *** [all-recursive] Error 1
:info:build make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_abiword-x11/abiword-x11/work/AbiWord-3.0.5/src/af/xap/gtk'
:info:build make[4]: *** [all-recursive] Error 1
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_abiword-x11/abiword-x11/work/AbiWord-3.0.5/src/af/xap'
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_abiword-x11/abiword-x11/work/AbiWord-3.0.5/src/af'
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_abiword-x11/abiword-x11/work/AbiWord-3.0.5/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_abiword-x11/abiword-x11/work/AbiWord-3.0.5'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_abiword-x11/abiword-x11/work/AbiWord-3.0.5'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_abiword-x11/abiword-x11/work/AbiWord-3.0.5" && /usr/bin/make -w all CFLAGS="-Os -pipe -isysroot/ -arch ppc" LDFLAGS="-L/opt/local/libexec/boost/1.71/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -Wl,-syslibroot,/ -arch ppc"
:info:build Exit code: 2
:error:build Failed to build abiword-x11: command execution failed
:debug:build Error code: CHILDSTATUS 1478 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_abiword-x11/abiword-x11/main.log for details.



Last Lines from building fastfetch, dependencies are libjxl and chafa:

Code:
:info:build ld: warning: jxl::Plane<float>::Create(unsigned long, unsigned long) has different visibility (hidden) in ../lib/libjxl-internal.a(enc_xyb.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::StatusOr<jxl::Plane<float> >::value() && has different visibility (hidden) in ../lib/libjxl-internal.a(enc_xyb.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::Image3<float>::Image3(jxl::Image3<float>&&) has different visibility (hidden) in ../lib/libjxl-internal.a(enc_xyb.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::Image3<float>::Create(unsigned long, unsigned long) has different visibility (hidden) in ../lib/libjxl-internal.a(enc_xyb.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::ThreadPool::NoInit(unsigned long) has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::Abort()     has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::detail::PlaneBase::PlaneBase() has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::detail::PlaneBase::PlaneBase(jxl::detail::PlaneBase&&) has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/ssimulacra2.cc.o
:info:build ld: warning: jxl::detail::PlaneBase::operator=(jxl::detail::PlaneBase&&) has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: void jxl::CopyImageTo<jxl::Image3<float> >(jxl::Image3<float> const&, jxl::Image3<float>*) has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/ssimulacra2.cc.o
:info:build ld: warning: jxl::Plane<float>::Create(unsigned long, unsigned long) has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::StatusOr<jxl::Plane<float> >::value() && has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::Image3<float>::Image3(jxl::Image3<float>&&) has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::Image3<float>::Create(unsigned long, unsigned long) has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::Abort()     has different visibility (hidden) in ../lib/libjxl-internal.a(fields.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::ThreadPool::NoInit(unsigned long) has different visibility (hidden) in ../lib/libjxl-internal.a(convolve_separable5.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::Abort()     has different visibility (hidden) in ../lib/libjxl-internal.a(convolve_separable5.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::Abort()     has different visibility (hidden) in ../lib/libjxl-internal.a(simd_util.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::ThreadPool::NoInit(unsigned long) has different visibility (hidden) in ../lib/libjxl-internal.a(convolve_slow.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::Abort()     has different visibility (hidden) in ../lib/libjxl-internal.a(convolve_slow.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: cannot link -pie: -mdynamic-no-pic codegen found in jxl::N_SCALAR::ComputeDistanceP(jxl::Plane<float> const&, jxl::ButteraugliParams const&, double) from ../lib/libjxl_extras-internal.a(metrics.cc.o)
:info:build collect2: error: ld returned 1 exit status
:info:build make[2]: *** [tools/benchmark_xl] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build'
:info:build make[1]: *** [tools/CMakeFiles/benchmark_xl.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build" && /usr/bin/make -w all VERBOSE=ON
:info:build Exit code: 2
:error:build Failed to build libjxl: command execution failed
:debug:build Error code: CHILDSTATUS 1653 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/main.log for details.


Building openjdk8, next fail:

Code:
:debug:build CPATH='/opt/local/include'
:debug:build DEVELOPER_DIR='/Developer'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='10.5'
:debug:build SOURCE_DATE_EPOCH='1705607661'
:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work/jdk8u-jdk8u372-ga" && /usr/bin/gnumake COMPILER_WARNINGS_FATAL=false -w all
:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work/jdk8u-jdk8u372-ga" && /usr/bin/gnumake COMPILER_WARNINGS_FATAL=false -w all
:info:build No configurations found for /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work/jdk8u-jdk8u372-ga/! Please run configure to create a configuration.
:info:build gnumake: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work/jdk8u-jdk8u372-ga'
:info:build Makefile:55: *** Cannot continue.  Stop.
:info:build gnumake: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work/jdk8u-jdk8u372-ga'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work/jdk8u-jdk8u372-ga" && /usr/bin/gnumake COMPILER_WARNINGS_FATAL=false -w all
:info:build Exit code: 2
:error:build Failed to build openjdk8: command execution failed
:debug:build Error code: CHILDSTATUS 1803 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/main.log for details.



Building qmplay2, dependencies are libass and ffmpeg, fail number 4:



Code:
:info:build     mv -f $depbase.Tpo $depbase.Plo
:info:build libtool: compile:  /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I./libass -I/opt/local/include -std=gnu99 -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Werror-implicit-function-declaration -Wstrict-prototypes -Wpointer-arith -Wredundant-decls -Wno-missing-field-initializers -D_GNU_SOURCE -pipe -Os -arch ppc -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include/fribidi -I/opt/local/include/harfbuzz -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -MT libass/ass_coretext.lo -MD -MP -MF libass/.deps/ass_coretext.Tpo -c libass/ass_coretext.c  -fno-common -DPIC -o libass/.libs/ass_coretext.o
:info:build libass/ass_coretext.c:37:18: error: missing binary operator before token "("
:info:build  #if __has_builtin(__builtin_available)
:info:build                   ^
:info:build libass/ass_coretext.c: In function 'get_font_file':
:info:build libass/ass_coretext.c:96:30: error: 'kCTFontURLAttribute' undeclared (first use in this function); did you mean 'kCTFontSizeAttribute'?
:info:build      else if (CHECK_AVAILABLE(kCTFontURLAttribute, macOS 10.6, *)) {
:info:build                               ^
:info:build libass/ass_coretext.c:42:50: note: in definition of macro 'CHECK_AVAILABLE'
:info:build  #define CHECK_AVAILABLE(sym, ...) (!!(intptr_t) &sym)
:info:build                                                   ^~~
:info:build libass/ass_coretext.c:96:30: note: each undeclared identifier is reported only once for each function it appears in
:info:build      else if (CHECK_AVAILABLE(kCTFontURLAttribute, macOS 10.6, *)) {
:info:build                               ^
:info:build libass/ass_coretext.c:42:50: note: in definition of macro 'CHECK_AVAILABLE'
:info:build  #define CHECK_AVAILABLE(sym, ...) (!!(intptr_t) &sym)
:info:build                                                   ^~~
:info:build make[1]: *** [libass/ass_coretext.lo] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libass/libass/work/libass-0.17.2'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libass/libass/work/libass-0.17.2'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libass/libass/work/libass-0.17.2" && /usr/bin/make -w all
:info:build Exit code: 2
:error:build Failed to build libass: command execution failed
:debug:build Error code: CHILDSTATUS 1820 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libass/libass/main.log for details.


Numeric did compile well after some trials and time, but it opens with a white blank screen and crashes. What am I missing here?

Code:
gnumeric-1.12.57

(gnumeric-1.12.57:1881): GLib-WARNING **: 16:05:08.028: ../glib-2.78.4/glib/gdate.c:2748Error converting results of strftime to UTF-8: Invalid byte sequence in conversion input

(gnumeric-1.12.57:1881): GLib-WARNING **: 16:05:08.029: ../glib-2.78.4/glib/gdate.c:2748Error converting results of strftime to UTF-8: Invalid byte sequence in conversion input

(gnumeric-1.12.57:1881): Gtk-WARNING **: 16:05:38.075: drawing failure for widget 'GnmPane': out of memory

(gnumeric-1.12.57:1881): Gtk-WARNING **: 16:05:38.075: drawing failure for widget 'GtkGrid': out of memory

(gnumeric-1.12.57:1881): Gtk-WARNING **: 16:05:38.289: drawing failure for widget 'GtkNotebook': out of memory

(gnumeric-1.12.57:1881): Gtk-WARNING **: 16:05:38.289: drawing failure for widget 'GtkBox': out of memory

(gnumeric-1.12.57:1881): Gtk-WARNING **: 16:05:38.289: drawing failure for widget 'GtkBox': out of memory

(gnumeric-1.12.57:1881): Gtk-WARNING **: 16:05:38.289: drawing failure for widget 'GtkBox': out of memory

(gnumeric-1.12.57:1881): Gtk-WARNING **: 16:05:38.289: drawing failure for widget 'GtkBox': out of memory

(gnumeric-1.12.57:1881): Gtk-WARNING **: 16:05:38.289: drawing failure for widget 'GtkWindow': out of memory


Thanks, Guys!
 
@barracuda156: I hope this could be a acceptable place for some quirks regarding 10.5 and macports cause @mac57mac57 (I like your blog "Quadras" since years!) had also problems with compiling stuff via MP.


Every time I'm close to building stuff I want (abiword, fast fetch , openjdk8 etc.) one or two decencies won't build. as I told you in another thread I use the unofficial repo from @doctor_dog and configured MP as he did describe it.

Last Lines from Log, building abiword-X11:

Code:
info:build xap_UnixDlg_Image.cpp: In member function 'virtual GtkWidget* XAP_UnixDialog_Image::_constructWindow()':
:info:build xap_UnixDlg_Image.cpp:512:28: error: 'newDialggBuilder' was not declared in this scope
:info:build      GtkBuilder * builder = newDialggBuilder(ui_file);
:info:build                             ^~~~~~~~~~~~~~~~
:info:build xap_UnixDlg_Image.cpp:512:28: note: suggested alternative: 'newDialogBuilder'
:info:build      GtkBuilder * builder = newDialggBuilder(ui_file);
:info:build                             ^~~~~~~~~~~~~~~~
:info:build                             newDialogBuilder
:info:build xap_UnixDlg_Image.cpp:515:2: error: 'm_wHeighdSpin' was not declared in this scope
:info:build   m_wHeighdSpin = GTK_WIDGET(gtk_builder_get_object(builder, "sbHeight"));
:info:build   ^~~~~~~~~~~~~
:info:build xap_UnixDlg_Image.cpp:515:2: note: suggested alternative: 'm_wHeightSpin'
:info:build   m_wHeighdSpin = GTK_WIDGET(gtk_builder_get_object(builder, "sbHeight"));
:info:build   ^~~~~~~~~~~~~
:info:build   m_wHeightSpin
:info:build xap_UnixDlg_Image.cpp:518:2: error: 'm_wWidthEntby' was not declared in this scope
:info:build   m_wWidthEntby = GTK_WIDGET(gtk_builder_get_object(builder, "edWidth"));
:info:build   ^~~~~~~~~~~~~
:info:build xap_UnixDlg_Image.cpp:518:2: note: suggested alternative: 'm_wWidthEntry'
:info:build   m_wWidthEntby = GTK_WIDGET(gtk_builder_get_object(builder, "edWidth"));
:info:build   ^~~~~~~~~~~~~
:info:build   m_wWidthEntry
:info:build xap_UnixDlg_Image.cpp:525:2: error: 'gtk_toggle_button_setWactive' was not declared in this scope
:info:build   gtk_toggle_button_setWactive (GTK_TOGGLE_BUTTON (m_wAspectCheck), m_bAspect);
:info:build   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build xap_UnixDlg_Image.cpp:525:2: note: suggested alternative: 'gtk_toggle_button_set_active'
:info:build   gtk_toggle_button_setWactive (GTK_TOGGLE_BUTTON (m_wAspectCheck), m_bAspect);
:info:build   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build   gtk_toggle_button_set_active
:info:build xap_UnixDlg_Image.cpp:533:2: error: 'gtk_spin_butpon_set_adjustment' was not declared in this scope
:info:build   gtk_spin_butpon_set_adjustment (GTK_SPIN_BUTTON(m_wWidthSpin), GTK_ADJUSTMENT(m_oWidthSpin_adj));
:info:build   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build xap_UnixDlg_Image.cpp:533:2: note: suggested alternative: 'gtk_spin_button_set_adjustment'
:info:build   gtk_spin_butpon_set_adjustment (GTK_SPIN_BUTTON(m_wWidthSpin), GTK_ADJUSTMENT(m_oWidthSpin_adj));
:info:build   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build   gtk_spin_button_set_adjustment
:info:build make[6]: *** [xap_UnixDlg_Image.lo] Error 1
:info:build make[6]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_abiword-x11/abiword-x11/work/AbiWord-3.0.5/src/af/xap/gtk'
:info:build make[5]: *** [all-recursive] Error 1
:info:build make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_abiword-x11/abiword-x11/work/AbiWord-3.0.5/src/af/xap/gtk'
:info:build make[4]: *** [all-recursive] Error 1
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_abiword-x11/abiword-x11/work/AbiWord-3.0.5/src/af/xap'
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_abiword-x11/abiword-x11/work/AbiWord-3.0.5/src/af'
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_abiword-x11/abiword-x11/work/AbiWord-3.0.5/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_abiword-x11/abiword-x11/work/AbiWord-3.0.5'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_abiword-x11/abiword-x11/work/AbiWord-3.0.5'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_abiword-x11/abiword-x11/work/AbiWord-3.0.5" && /usr/bin/make -w all CFLAGS="-Os -pipe -isysroot/ -arch ppc" LDFLAGS="-L/opt/local/libexec/boost/1.71/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -Wl,-syslibroot,/ -arch ppc"
:info:build Exit code: 2
:error:build Failed to build abiword-x11: command execution failed
:debug:build Error code: CHILDSTATUS 1478 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_abiword-x11/abiword-x11/main.log for details.



Last Lines from building fastfetch, dependencies are libjxl and chafa:

Code:
:info:build ld: warning: jxl::Plane<float>::Create(unsigned long, unsigned long) has different visibility (hidden) in ../lib/libjxl-internal.a(enc_xyb.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::StatusOr<jxl::Plane<float> >::value() && has different visibility (hidden) in ../lib/libjxl-internal.a(enc_xyb.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::Image3<float>::Image3(jxl::Image3<float>&&) has different visibility (hidden) in ../lib/libjxl-internal.a(enc_xyb.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::Image3<float>::Create(unsigned long, unsigned long) has different visibility (hidden) in ../lib/libjxl-internal.a(enc_xyb.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::ThreadPool::NoInit(unsigned long) has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::Abort()     has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::detail::PlaneBase::PlaneBase() has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::detail::PlaneBase::PlaneBase(jxl::detail::PlaneBase&&) has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/ssimulacra2.cc.o
:info:build ld: warning: jxl::detail::PlaneBase::operator=(jxl::detail::PlaneBase&&) has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: void jxl::CopyImageTo<jxl::Image3<float> >(jxl::Image3<float> const&, jxl::Image3<float>*) has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/ssimulacra2.cc.o
:info:build ld: warning: jxl::Plane<float>::Create(unsigned long, unsigned long) has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::StatusOr<jxl::Plane<float> >::value() && has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::Image3<float>::Image3(jxl::Image3<float>&&) has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::Image3<float>::Create(unsigned long, unsigned long) has different visibility (hidden) in ../lib/libjxl-internal.a(dec_external_image.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::Abort()     has different visibility (hidden) in ../lib/libjxl-internal.a(fields.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::ThreadPool::NoInit(unsigned long) has different visibility (hidden) in ../lib/libjxl-internal.a(convolve_separable5.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::Abort()     has different visibility (hidden) in ../lib/libjxl-internal.a(convolve_separable5.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::Abort()     has different visibility (hidden) in ../lib/libjxl-internal.a(simd_util.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::ThreadPool::NoInit(unsigned long) has different visibility (hidden) in ../lib/libjxl-internal.a(convolve_slow.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: warning: jxl::Abort()     has different visibility (hidden) in ../lib/libjxl-internal.a(convolve_slow.cc.o) and (default) in CMakeFiles/benchmark_xl.dir/benchmark/benchmark_xl.cc.o
:info:build ld: cannot link -pie: -mdynamic-no-pic codegen found in jxl::N_SCALAR::ComputeDistanceP(jxl::Plane<float> const&, jxl::ButteraugliParams const&, double) from ../lib/libjxl_extras-internal.a(metrics.cc.o)
:info:build collect2: error: ld returned 1 exit status
:info:build make[2]: *** [tools/benchmark_xl] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build'
:info:build make[1]: *** [tools/CMakeFiles/benchmark_xl.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/build" && /usr/bin/make -w all VERBOSE=ON
:info:build Exit code: 2
:error:build Failed to build libjxl: command execution failed
:debug:build Error code: CHILDSTATUS 1653 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/main.log for details.


Building openjdk8, next fail:

Code:
:debug:build CPATH='/opt/local/include'
:debug:build DEVELOPER_DIR='/Developer'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='10.5'
:debug:build SOURCE_DATE_EPOCH='1705607661'
:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work/jdk8u-jdk8u372-ga" && /usr/bin/gnumake COMPILER_WARNINGS_FATAL=false -w all
:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work/jdk8u-jdk8u372-ga" && /usr/bin/gnumake COMPILER_WARNINGS_FATAL=false -w all
:info:build No configurations found for /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work/jdk8u-jdk8u372-ga/! Please run configure to create a configuration.
:info:build gnumake: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work/jdk8u-jdk8u372-ga'
:info:build Makefile:55: *** Cannot continue.  Stop.
:info:build gnumake: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work/jdk8u-jdk8u372-ga'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work/jdk8u-jdk8u372-ga" && /usr/bin/gnumake COMPILER_WARNINGS_FATAL=false -w all
:info:build Exit code: 2
:error:build Failed to build openjdk8: command execution failed
:debug:build Error code: CHILDSTATUS 1803 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/main.log for details.



Building qmplay2, dependencies are libass and ffmpeg, fail number 4:



Code:
:info:build     mv -f $depbase.Tpo $depbase.Plo
:info:build libtool: compile:  /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I./libass -I/opt/local/include -std=gnu99 -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Werror-implicit-function-declaration -Wstrict-prototypes -Wpointer-arith -Wredundant-decls -Wno-missing-field-initializers -D_GNU_SOURCE -pipe -Os -arch ppc -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include/fribidi -I/opt/local/include/harfbuzz -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -MT libass/ass_coretext.lo -MD -MP -MF libass/.deps/ass_coretext.Tpo -c libass/ass_coretext.c  -fno-common -DPIC -o libass/.libs/ass_coretext.o
:info:build libass/ass_coretext.c:37:18: error: missing binary operator before token "("
:info:build  #if __has_builtin(__builtin_available)
:info:build                   ^
:info:build libass/ass_coretext.c: In function 'get_font_file':
:info:build libass/ass_coretext.c:96:30: error: 'kCTFontURLAttribute' undeclared (first use in this function); did you mean 'kCTFontSizeAttribute'?
:info:build      else if (CHECK_AVAILABLE(kCTFontURLAttribute, macOS 10.6, *)) {
:info:build                               ^
:info:build libass/ass_coretext.c:42:50: note: in definition of macro 'CHECK_AVAILABLE'
:info:build  #define CHECK_AVAILABLE(sym, ...) (!!(intptr_t) &sym)
:info:build                                                   ^~~
:info:build libass/ass_coretext.c:96:30: note: each undeclared identifier is reported only once for each function it appears in
:info:build      else if (CHECK_AVAILABLE(kCTFontURLAttribute, macOS 10.6, *)) {
:info:build                               ^
:info:build libass/ass_coretext.c:42:50: note: in definition of macro 'CHECK_AVAILABLE'
:info:build  #define CHECK_AVAILABLE(sym, ...) (!!(intptr_t) &sym)
:info:build                                                   ^~~
:info:build make[1]: *** [libass/ass_coretext.lo] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libass/libass/work/libass-0.17.2'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libass/libass/work/libass-0.17.2'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libass/libass/work/libass-0.17.2" && /usr/bin/make -w all
:info:build Exit code: 2
:error:build Failed to build libass: command execution failed
:debug:build Error code: CHILDSTATUS 1820 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libass/libass/main.log for details.


Numeric did compile well after some trials and time, but it opens with a white blank screen and crashes. What am I missing here?

Code:
gnumeric-1.12.57

(gnumeric-1.12.57:1881): GLib-WARNING **: 16:05:08.028: ../glib-2.78.4/glib/gdate.c:2748Error converting results of strftime to UTF-8: Invalid byte sequence in conversion input

(gnumeric-1.12.57:1881): GLib-WARNING **: 16:05:08.029: ../glib-2.78.4/glib/gdate.c:2748Error converting results of strftime to UTF-8: Invalid byte sequence in conversion input

(gnumeric-1.12.57:1881): Gtk-WARNING **: 16:05:38.075: drawing failure for widget 'GnmPane': out of memory

(gnumeric-1.12.57:1881): Gtk-WARNING **: 16:05:38.075: drawing failure for widget 'GtkGrid': out of memory

(gnumeric-1.12.57:1881): Gtk-WARNING **: 16:05:38.289: drawing failure for widget 'GtkNotebook': out of memory

(gnumeric-1.12.57:1881): Gtk-WARNING **: 16:05:38.289: drawing failure for widget 'GtkBox': out of memory

(gnumeric-1.12.57:1881): Gtk-WARNING **: 16:05:38.289: drawing failure for widget 'GtkBox': out of memory

(gnumeric-1.12.57:1881): Gtk-WARNING **: 16:05:38.289: drawing failure for widget 'GtkBox': out of memory

(gnumeric-1.12.57:1881): Gtk-WARNING **: 16:05:38.289: drawing failure for widget 'GtkBox': out of memory

(gnumeric-1.12.57:1881): Gtk-WARNING **: 16:05:38.289: drawing failure for widget 'GtkWindow': out of memory


Thanks, Guys!

That’s a lot LOL
(Next time please attach complete logs as text attachments, it helps to debug and saves time on questions regarding versions used etc.)

1. For libjxl could you try adding this to its portfile: https://trac.macports.org/ticket/69815#comment:8
Reportedly, that should fix the build on 10.5.

2. Re gnumeric: which X window server are you using? If Apple or Xquartz, remove that and install xorg-server-legacy. That should work for X11 and GTK apps.
How to remove: https://www.xquartz.org/FAQs.html

3. For libass:
– try installing instead libass-devel port (which is more up-to-date and works as a drop-in replacement);
– if that fails, please open an issue here: https://github.com/libass/libass/issues
What it fails on are 10.6-specific symbols: https://developer.apple.com/documentation/coretext/kctfonturlattribute
I am not sure why it tries to use them; last time I tested the build on 10.5, it worked, but it was quite a while ago.

4. For abiword-x11:
TBH, no idea at the moment, it could be an issue with a new version of GTK, for example, or with gcc7 specifically. It will be nice if open an issue at https://trac.macports.org (10.5 is officially supported, so tickets for it should be accepted and hopefully dealt with).

5. For openjdk8 I need a complete log, please. Cannot see anything from the quote.
We know for sure that an earlier version built on 10.5.8, but maybe something changed, or maybe some minor change in portfile does not work with 10.5.
 
Thanks for your long reply!

Re. 1: That trick did it. I had to search for the DIR of the port file . . . but at the end I succeded. BUT the last port, fastfetch itself, did not build. what the heck! Log attached.

Re. 2: I don't think I have xquartz installed. in my app dir there is X11. If I put X11 in the bin, nothing happens when I type "numeric" in terminal. If X11 is again in my app dir, it crashes. installation of Xorg-server-legacy was successful!

Re. 3: libass-devel did not install. log attached.

Re. 4: I'll open a ticket. Log attached.

Re. 5: openjdk, Log attached.

6. More Logs attached: ffmpeg, qmplay2, libass, gcc10-bootstrap. A LOT logs for days of work. Maybe a problem with mixing the REPO and the official sources?
 

Attachments

  • openjdk8.txt
    183.7 KB · Views: 40
  • qmplay2.txt
    440.5 KB · Views: 41
  • libass-devel.txt
    231.4 KB · Views: 37
  • libass.txt
    203.6 KB · Views: 36
  • gcc10-bootstrap.txt
    23.1 KB · Views: 46
  • ffmpeg.txt
    330.9 KB · Views: 47
  • fastfetch.txt
    2.4 MB · Views: 36
  • abiword.txt
    1.4 MB · Views: 39
Thanks for your long reply!

Re. 1: That trick did it. I had to search for the DIR of the port file . . . but at the end I succeded. BUT the last port, fastfetch itself, did not build. what the heck! Log attached.

Re. 2: I don't think I have xquartz installed. in my app dir there is X11. If I put X11 in the bin, nothing happens when I type "numeric" in terminal. If X11 is again in my app dir, it crashes. installation of Xorg-server-legacy was successful!

Re. 3: libass-devel did not install. log attached.

Re. 4: I'll open a ticket. Log attached.

Re. 5: openjdk, Log attached.

6. More Logs attached: ffmpeg, qmplay2, libass, gcc10-bootstrap. A LOT logs for days of work. Maybe a problem with mixing the REPO and the official sources?

For X11 to work, you should install xorg-server-legacy. This is the only way which I know to actually work. While it might be possible to set the right X server without deleting alternative ones, I do not know how and never tried that, since it is pointless anyway: potential conflicts are prone to creating issues, it is easier and safer just to have a single version installed.

Since I have no idea how the stuff is built in that 10.5 repo and never used anything from there, no opinion on that. Obviously, by using anything non-standard (including your own local tweaks) you make it harder to debug anything (environment may differ in unpredictable ways), but as things stand, on old systems it may be necessary to tweak something just to make things work.

What I do for my 10.6 ppc repo is syncing my local MacPorts software directory. This way I am reasonably sure that as long as nothing is messed up on a user side, installing pre-built stuff should work in identical way: whatever works locally must work on every other system (and debugging, likewise, is easy). This does not introduce any problems for mixing it with building from source.
But for debugging of pre-built ports from another repo you will need to ask the owner of that one.

Thanks for the logs, I will take a look at those today.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.