[MacPorts] #20215: Universal build of fontconfig broken
MacPorts
noreply at macports.org
Tue Jul 7 21:14:21 PDT 2009
#20215: Universal build of fontconfig broken
-------------------------------------+--------------------------------------
Reporter: dbsgeo@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: libfontconfig,universal | Port: fontconfig
-------------------------------------+--------------------------------------
With the latest Macports (1.7.1) on a fresh install, when trying to get a
universal build of cairo/cairomm the build fails on fontconfig.
First it failed due to odd inability to install in some deep /Applications
folder then (after doing a clean and re-install) due to the inability to
create the right arch libraries.
First:
{{{
$ sudo port -d install cairomm +universal
[...snip..]
Making install in test
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Nothing to be done for `install-exec-am'.
test -z "/opt/local/etc/fonts" ||
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/fontconfig-2.6.0-i386
/install-sh -d
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386/opt/local/etc/fonts"
/usr/bin/install -c -m 644 'fonts.dtd'
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386/opt/local/etc/fonts/fonts.dtd'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/fontconfig-2.6.0-i386
/install-sh -d
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386/opt/local/etc/fonts
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386/opt/local/var/cache/fontconfig
if [ -f
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386/opt/local/etc/fonts/fonts.conf
]; then \
echo "backing up existing
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386/opt/local/etc/fonts/fonts.conf";
\
mv
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386/opt/local/etc/fonts/fonts.conf
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386/opt/local/etc/fonts/fonts.conf.bak;
\
fi
backing up existing
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386/opt/local/etc/fonts/fonts.conf
if [ -f ./fonts.conf ]; then \
echo " /usr/bin/install -c -m 644 ./fonts.conf
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386/opt/local/etc/fonts/fonts.conf";
\
/usr/bin/install -c -m 644 ./fonts.conf
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386/opt/local/etc/fonts/fonts.conf;
\
else if [ -f fonts.conf ]; then \
echo " /usr/bin/install -c -m 644 fonts.conf
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386/opt/local/etc/fonts/fonts.conf";
\
/usr/bin/install -c -m 644 fonts.conf
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386/opt/local/etc/fonts/fonts.conf;
\
fi; fi
/usr/bin/install -c -m 644 ./fonts.conf
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386/opt/local/etc/fonts/fonts.conf
***
*** Warning: fonts.cache not built
***
*** Generate this file manually on host system using fc-cache
***
test -z "/opt/local/lib/pkgconfig" ||
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/fontconfig-2.6.0-i386
/install-sh -d
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386/opt/local/lib/pkgconfig"
/usr/bin/install -c -m 644 'fontconfig.pc'
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386/opt/local/lib/pkgconfig/fontconfig.pc'
DEBUG: delete:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot
DEBUG: universal: merge: /Applications only exists in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work
/destroot-ppc
Error: Target org.macports.destroot returned: error copying
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work
/destroot-ppc//Applications" to
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work
/destroot-powerpc/Applications": file already exists
Warning: the following items did not execute (for fontconfig):
org.macports.activate org.macports.destroot org.macports.install
Error: The following dependencies failed to build: cairo fontconfig
libpixman libpng xrender xorg-libX11 xorg-bigreqsproto xorg-inputproto
xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-xcmiscproto xorg-
xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto libsigcxx2
Error: Status 1 encountered during processing.
}}}
Then after a clean and re-install:
{{{
[...snip...]
DEBUG: universal: merge: merging
/opt/local/include/fontconfig/fontconfig.h from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386
and
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-x86_64
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386//opt/local/include/fontconfig/fontconfig.h
->
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work
/destroot-intel//opt/local/include/fontconfig/fontconfig.h
DEBUG: universal: merge: /opt/local/include/fontconfig/fontconfig.h is
identical in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386
and
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-x86_64
DEBUG: universal: merge: merging /opt/local/lib from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386
and
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-x86_64
xinstall: mkdir
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work
/destroot-intel//opt/local/lib
DEBUG: universal: merge: merging /opt/local/lib/libfontconfig.1.3.0.dylib
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386
and
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-x86_64
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386//opt/local/lib/libfontconfig.1.3.0.dylib
->
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work
/destroot-intel//opt/local/lib/libfontconfig.1.3.0.dylib
DEBUG: universal: merge: /opt/local/lib/libfontconfig.1.3.0.dylib is
identical in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386
and
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-x86_64
DEBUG: universal: merge: merging /opt/local/lib/libfontconfig.1.dylib from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386
and
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-x86_64
DEBUG: universal: merge: /opt/local/lib/libfontconfig.1.dylib is a link
DEBUG: universal: merge: merging /opt/local/lib/libfontconfig.a from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386
and
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-x86_64
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386//opt/local/lib/libfontconfig.a
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-x86_64//opt/local/lib/libfontconfig.a
differ: char 34, line 2
/usr/bin/lipo:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386//opt/local/lib/libfontconfig.a
and
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-x86_64//opt/local/lib/libfontconfig.a
have the same architectures (i386) and can't be in the same fat output
file
DEBUG: delete:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work
/destroot-intel//opt/local/lib/libfontconfig.a
Error: Target org.macports.destroot returned: Can not create
/opt/local/lib/libfontconfig.a from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-i386
and
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/destroot-x86_64
Warning: the following items did not execute (for fontconfig):
org.macports.activate org.macports.destroot org.macports.install
Error: The following dependencies failed to build: cairo fontconfig
libpixman libpng xrender xorg-libX11 xorg-bigreqsproto xorg-inputproto
xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-xcmiscproto xorg-
xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto libsigcxx2
Error: Status 1 encountered during processing.
}}}
--
Ticket URL: <http://trac.macports.org/ticket/20215>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list