#30329: Error: Failed to install fontconfig ---------------------------------+------------------------------------------ Reporter: pengyu.ut@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: fontconfig ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Replying to [comment:11 pengyu.ut@…]:
Thanks. That is indeed the case. macports.conf was from an old installation before my OS was upgraded from 10.5.8 to 10.6.7. Shall I just manually replace macports.conf with macports.conf.default?
You can do that, if you're sure you've made no changes to macports.conf that you wanted to keep. Otherwise I suggest you compare the two files line by line; for each difference, if you remember a reason for the difference, keep your version, otherwise use the version from the new default file. Repeat this process every time you upgrade MacPorts base.
I probably can make a script to parse the output of 'port -v installed' and 'port -f uninstall' the ones with i386 ppc then reinstall them, but I'm wondering if there is already a way allowing me do so with 'port' or some other tools.
There are some instructions and a script on the [wiki:Migration] page. They're for uninstalling and reinstalling ''all'' ports following the migration from Leopard or earlier to Snow Leopard, so you might have to adjust the instructions or how you use the script for your case of only uninstalling and reinstalling a few select ports.
Do I also need to uninstall and reinstall the ones with 'noarch'?
No need. "noarch" means "no architecture"; these ports build the same on every type of Mac so there would be no benefit to rebuilding them. Replying to [comment:12 pengyu.ut@…]:
I didn't correctly formatted this message and I want to reformat it. But I don't find a way to edit the posted messages. Is there a way to do so?
You cannot edit comments after you've submitted them (only administrators can). Use the Preview button before posting to ensure formatting is correct. -- Ticket URL: <https://trac.macports.org/ticket/30329#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS