Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7072323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:47:42+00:00 2026-05-28T05:47:42+00:00

I was having some other problems with some ports building for the wrong CPU

  • 0

I was having some other problems with some ports building for the wrong CPU architecture, and I’m trying to rebuild everything as universal.

I’ve done: sudo port upgrade outdated +universal, which ran for a long time, and seemed to install a lot of stuff I didn’t need. But it didn’t fail.

Then I tried with one of the libraries I was previously having problems with:

$ sudo port install cairo  +universal
Password:
--->  Building libpixman
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for libpixman is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpixman/libpixman/main.log
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade libpixman failed
To report a bug, see <http://guide.macports.org/#project.tickets>

Log is here http://hpaste.org/56449
(OSX 10.6.8, Intel Core i5)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:47:42+00:00Added an answer on May 28, 2026 at 5:47 am

    The problem is you’ve specified +universal, so it’s trying to build for both 32 and 64 bit architectures (x86_64 and i386)…

    :info:build --->  Building libpixman for architecture x86_64
    
    ...and then later...
    
    :info:build --->  Building libpixman for architecture i386
    

    but failing in the 32 bit build

    :info:build ld: warning: in /opt/local/lib/libpng14.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
    

    It’s failing in the 32 bit build because libpng is built for 64 bit and can’t link with the 32 bit version.

    If you don’t need a universal build, remove the +universal and the problem should go away!

    If you do need a universal build… well, macports should figure it out. I believe the issue is that libpixman does not declare dependencies on anything (libpng appears to be an optional dep). Macports can’t know it has to build a 32 bit version of libpng. That’s my best guess anyway.

    Here is exactly your bug. Unfortunately the maintainer’s conclusion was that you should manually force recompile libpng as 32 bit. This is a crappy solution as it breaks automated universal builds up to gtk2 and beyond. The real problem is the missing dependency and that Macports can’t know to rebuild libpng without it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So, I'm having some problems with a MySQL query (see other question ), and
I'm having some problems trying to format an If/Then condition in a Wordpress widget.
I'm having some major problems trying to get a ? inside of hrefs that
Is there a way to use the HAVING clause in some other way without
I am having some trouble with aligning two div boxes next to each other;.
I'm having some trouble figuring out to call methods that I have in other
I'm very familiar with using Enums in other languages, but I'm having some difficulty
Hey having some trouble trying to maintain transparency on a png when i create
Currently having some problems- now = datetime.datetime.now() month = now.strftime(%B) site = wikipedia.getSite('en', 'wikiquote')
I am having some problems with memcached and one idea I am having is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.