#52605: adwaita-icon-theme @3.22.0 fails building on 10.5.8 PPC ---------------------------------+---------------------- Reporter: braumann@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: adwaita-icon-theme | ---------------------------------+---------------------- Comment (by devans@…): Replying to [comment:20 braumann@…]:
Thanks a lot for your research, I have also thought about looking into the sources of this funny program. Well, I need to postpone my "homework", as I need to travel for a few days, unfortunately without my beloved PowerBook G4. Also, it was decades ago that I was using `gdb`.
BTW, I guess `load_symbolic_svg` is returning NULL in case of any error?
Yes, and that's all they pay attention to. A better approach at this point would be to inspect the error structure to see what the error is before proceeding.
Also, as I will need to rebuild `gtk3` I expect to face trouble. Oh, don't you think I better should use `install` for the two commands recommended above?
I was assuming that you already had a copy of the current version of gtk3 installed without the debugging symbols. In that case, install will build but not install because it thinks, it's all ready installed. So upgrade works in that case. If old version or nothing installed you should use install. The flags are as follows: -n upgrade just this port and not its dependencies -s force a build from source; don't use archived binary if available -k don't clean after install/update if finished; this leaves the source in place for reference from gdb --force update and replace the currently installed version even if it's the same version as what I'm building Of course, -g turns on debug symbols, -O0 disables all optimizations which can get in your way while debugging. You don't want anything optimized out of existence! See you when you get back. Dave -- Ticket URL: <https://trac.macports.org/ticket/52605#comment:21> MacPorts <https://www.macports.org/> Ports system for the Mac operating system