Problem on cyrus-sasl2 +universal

Joshua Root jmr at macports.org
Sat May 22 13:09:23 PDT 2010


On 2010-5-23 05:40 , Michael_google gmail_Gersten wrote:
> As subversion has a bunch of dependents, including some that I need
> +universal, I tried to install it as +universal.
> 
> It fails on Cyrus-sasl2. This attempts to generate a program to
> produce a header file.
> 
> --->  Building cyrus-sasl2 for architecture ppc
> --->  Building cyrus-sasl2 for architecture i386
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cyrus-sasl2/work/cyrus-sasl-2.1.23-i386"
> && /usr/bin/make -j1 all " returned error 2
> Command output: /usr/bin/make  all-recursive
> Making all in include
> rm -f md5global.h
> ./makemd5 md5global.h
> make[2]: execvp: ./makemd5: Bad CPU type in executable
> make[2]: *** [md5global.h] Error 127
> 
> It wants to make md5global.h, from running "makemd5". Works fine on
> the PPC side. Would work fine if I was on x86 and had rosetta.

A lot of stuff just doesn't cross compile properly. Why do you need to
build universal anyway?

> Makes me worry how the final "md5global.h" file will look -- will we
> see a single final header that works in both cases?

We would if the build didn't fail.

- Josh


More information about the macports-users mailing list