[MacPorts] #24118: xorg-libX11 1.3.3 does not build with +universal when its dependencies aren't universal
MacPorts
noreply at macports.org
Fri Mar 19 07:42:39 PDT 2010
#24118: xorg-libX11 1.3.3 does not build with +universal when its dependencies
aren't universal
-----------------------------------+----------------------------------------
Reporter: andre.david@… | Owner: jeremyhu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: X11 | Port: xorg-libX11
-----------------------------------+----------------------------------------
Comment(by andre.david@…):
Replying to [comment:1 ryandesign@…]:
> It builds fine universal for me. You probably just haven't built its
dependencies universal, which you must first do.
Thanks for looking into this. I was actually aware of #18738 mentioning
the dependencies not being `+universal` and thus rebuilt all of them
before posting this. So I did it again, because you never know:
{{{
silverbullet:~ adavid$ port deps xorg-libX11
Full Name: xorg-libX11 @1.3.3+universal
Build Dependencies: pkgconfig, xorg-util-macros, xorg-xtrans, xorg-
bigreqsproto, xorg-xcmiscproto, xorg-xextproto, xorg-xf86bigfontproto,
xorg-inputproto
Library Dependencies: xorg-libXdmcp, xorg-libXau, xorg-xproto, xorg-
kbproto
silverbullet:~ adavid$ sudo port -f uninstall pkgconfig xorg-util-macros
xorg-xtrans xorg-bigreqsproto xorg-xcmiscproto xorg-xextproto xorg-
xf86bigfontproto xorg-inputproto xorg-libXdmcp xorg-libXau xorg-xproto
xorg-kbproto
---> Deactivating pkgconfig @0.23_1+universal
---> Uninstalling pkgconfig @0.23_1+universal
---> Deactivating xorg-util-macros @1.6.1_0
---> Uninstalling xorg-util-macros @1.6.1_0
---> Deactivating xorg-xtrans @1.2.5_0
---> Uninstalling xorg-xtrans @1.2.5_0
---> Deactivating xorg-bigreqsproto @1.1.0_0
---> Uninstalling xorg-bigreqsproto @1.1.0_0
---> Deactivating xorg-xcmiscproto @1.2.0_0
---> Uninstalling xorg-xcmiscproto @1.2.0_0
---> Deactivating xorg-xextproto @7.1.1_0
---> Uninstalling xorg-xextproto @7.1.1_0
---> Deactivating xorg-xf86bigfontproto @1.2.0_0
---> Uninstalling xorg-xf86bigfontproto @1.2.0_0
---> Deactivating xorg-inputproto @2.0_0
---> Uninstalling xorg-inputproto @2.0_0
---> Deactivating xorg-libXdmcp @1.0.3_0+universal
---> Uninstalling xorg-libXdmcp @1.0.3_0+universal
---> Deactivating xorg-libXau @1.0.5_0+universal
---> Uninstalling xorg-libXau @1.0.5_0+universal
---> Deactivating xorg-xproto @7.0.16_0
---> Uninstalling xorg-xproto @7.0.16_0
---> Deactivating xorg-kbproto @1.0.4_0
---> Uninstalling xorg-kbproto @1.0.4_0
silverbullet:~ adavid$ sudo port clean --work pkgconfig xorg-util-macros
xorg-xtrans xorg-bigreqsproto xorg-xcmiscproto xorg-xextproto xorg-
xf86bigfontproto xorg-inputproto xorg-libXdmcp xorg-libXau xorg-xproto
xorg-kbproto
---> Cleaning pkgconfig
---> Cleaning xorg-util-macros
---> Cleaning xorg-xtrans
---> Cleaning xorg-bigreqsproto
---> Cleaning xorg-xcmiscproto
---> Cleaning xorg-xextproto
---> Cleaning xorg-xf86bigfontproto
---> Cleaning xorg-inputproto
---> Cleaning xorg-libXdmcp
---> Cleaning xorg-libXau
---> Cleaning xorg-xproto
---> Cleaning xorg-kbproto
silverbullet:~ adavid$ sudo port install pkgconfig xorg-util-macros xorg-
xtrans xorg-bigreqsproto xorg-xcmiscproto xorg-xextproto xorg-
xf86bigfontproto xorg-inputproto xorg-libXdmcp xorg-libXau xorg-xproto
xorg-kbproto
---> Computing dependencies for pkgconfig
---> Fetching pkgconfig
---> Verifying checksum(s) for pkgconfig
---> Extracting pkgconfig
---> Configuring pkgconfig
---> Building pkgconfig
---> Staging pkgconfig into destroot
---> Installing pkgconfig @0.23_1+universal
---> Activating pkgconfig @0.23_1+universal
---> Cleaning pkgconfig
---> Computing dependencies for xorg-util-macros
---> Fetching xorg-util-macros
---> Verifying checksum(s) for xorg-util-macros
---> Extracting xorg-util-macros
---> Configuring xorg-util-macros
---> Building xorg-util-macros
---> Staging xorg-util-macros into destroot
---> Installing xorg-util-macros @1.6.1_0
---> Activating xorg-util-macros @1.6.1_0
---> Cleaning xorg-util-macros
---> Computing dependencies for xorg-xtrans
---> Fetching xorg-xtrans
---> Verifying checksum(s) for xorg-xtrans
---> Extracting xorg-xtrans
---> Configuring xorg-xtrans
---> Building xorg-xtrans
---> Staging xorg-xtrans into destroot
---> Installing xorg-xtrans @1.2.5_0
---> Activating xorg-xtrans @1.2.5_0
---> Cleaning xorg-xtrans
---> Computing dependencies for xorg-bigreqsproto
---> Fetching xorg-bigreqsproto
---> Verifying checksum(s) for xorg-bigreqsproto
---> Extracting xorg-bigreqsproto
---> Configuring xorg-bigreqsproto
---> Building xorg-bigreqsproto
---> Staging xorg-bigreqsproto into destroot
---> Installing xorg-bigreqsproto @1.1.0_0
---> Activating xorg-bigreqsproto @1.1.0_0
---> Cleaning xorg-bigreqsproto
---> Computing dependencies for xorg-xcmiscproto
---> Fetching xorg-xcmiscproto
---> Verifying checksum(s) for xorg-xcmiscproto
---> Extracting xorg-xcmiscproto
---> Configuring xorg-xcmiscproto
---> Building xorg-xcmiscproto
---> Staging xorg-xcmiscproto into destroot
---> Installing xorg-xcmiscproto @1.2.0_0
---> Activating xorg-xcmiscproto @1.2.0_0
---> Cleaning xorg-xcmiscproto
---> Computing dependencies for xorg-xextproto
---> Fetching xorg-xextproto
---> Verifying checksum(s) for xorg-xextproto
---> Extracting xorg-xextproto
---> Configuring xorg-xextproto
---> Building xorg-xextproto
---> Staging xorg-xextproto into destroot
---> Installing xorg-xextproto @7.1.1_0
---> Activating xorg-xextproto @7.1.1_0
---> Cleaning xorg-xextproto
---> Computing dependencies for xorg-xf86bigfontproto
---> Fetching xorg-xf86bigfontproto
---> Verifying checksum(s) for xorg-xf86bigfontproto
---> Extracting xorg-xf86bigfontproto
---> Configuring xorg-xf86bigfontproto
---> Building xorg-xf86bigfontproto
---> Staging xorg-xf86bigfontproto into destroot
---> Installing xorg-xf86bigfontproto @1.2.0_0
---> Activating xorg-xf86bigfontproto @1.2.0_0
---> Cleaning xorg-xf86bigfontproto
---> Computing dependencies for xorg-inputproto
---> Fetching xorg-inputproto
---> Verifying checksum(s) for xorg-inputproto
---> Extracting xorg-inputproto
---> Configuring xorg-inputproto
---> Building xorg-inputproto
---> Staging xorg-inputproto into destroot
---> Installing xorg-inputproto @2.0_0
---> Activating xorg-inputproto @2.0_0
---> Cleaning xorg-inputproto
---> Computing dependencies for xorg-libXdmcp
---> Fetching xorg-xproto
---> Verifying checksum(s) for xorg-xproto
---> Extracting xorg-xproto
---> Configuring xorg-xproto
---> Building xorg-xproto
---> Staging xorg-xproto into destroot
---> Installing xorg-xproto @7.0.16_0
---> Activating xorg-xproto @7.0.16_0
---> Cleaning xorg-xproto
---> Fetching xorg-libXdmcp
---> Verifying checksum(s) for xorg-libXdmcp
---> Extracting xorg-libXdmcp
---> Configuring xorg-libXdmcp
---> Building xorg-libXdmcp
---> Staging xorg-libXdmcp into destroot
---> Installing xorg-libXdmcp @1.0.3_0+universal
---> Activating xorg-libXdmcp @1.0.3_0+universal
---> Cleaning xorg-libXdmcp
---> Computing dependencies for xorg-libXau
---> Fetching xorg-libXau
---> Verifying checksum(s) for xorg-libXau
---> Extracting xorg-libXau
---> Configuring xorg-libXau
---> Building xorg-libXau
---> Staging xorg-libXau into destroot
---> Installing xorg-libXau @1.0.5_0+universal
---> Activating xorg-libXau @1.0.5_0+universal
---> Cleaning xorg-libXau
---> Computing dependencies for xorg-xproto
---> Cleaning xorg-xproto
---> Computing dependencies for xorg-kbproto
---> Fetching xorg-kbproto
---> Verifying checksum(s) for xorg-kbproto
---> Extracting xorg-kbproto
---> Configuring xorg-kbproto
---> Building xorg-kbproto
---> Staging xorg-kbproto into destroot
---> Installing xorg-kbproto @1.0.4_0
---> Activating xorg-kbproto @1.0.4_0
---> Cleaning xorg-kbproto
}}}
and I still get
{{{
silverbullet:~ adavid$ sudo port install xorg-libX11---> Computing
dependencies for xorg-libX11
---> Building xorg-libX11
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_x11_xorg-libX11/work/libX11-1.3.3" && /usr/bin/nice -n
10 /usr/bin/make -j2 all V=1 " returned error 2
Command output: __XF86LoadQueryLocaleFont in Font.o
"__XcmsRGB_to_XColor", referenced from:
_XAllocNamedColor in GetColor.o
_XLookupColor in LookupCol.o
_XParseColor in ParseCol.o
_XStoreNamedColor in StNColor.o
"__XCloseLC", referenced from:
_XCloseOM in OMWrap.o
"__XOpenLC", referenced from:
_XOpenOM in OMWrap.o
"__Utf8GetConvByName", referenced from:
__XimGetLocaleCode in imConv.o
__XimGetLocaleCode in imConv.o
"__XlcVaToArgList", referenced from:
_XGetOCValues in OCWrap.o
_XSetOCValues in OCWrap.o
_XCreateOC in OCWrap.o
_XGetOMValues in OMWrap.o
_XSetOMValues in OMWrap.o
"_XkbKeysymToModifiers", referenced from:
_ComputeMaskFromKeytrans in KeyBind.o
"__XUnresolveColor", referenced from:
_XLookupColor in LookupCol.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cc9AFTe0.out (No such file or
directory)
make[3]: *** [libX11.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
}}}
As for r65010 I am not sure it would work for me since:
{{{
silverbullet:~ adavid$ file /opt/local/lib/libXau.6.dylib
/opt/local/lib/libXau.6.dylib: Mach-O universal binary with 2
architectures
/opt/local/lib/libXau.6.dylib (for architecture x86_64): Mach-O
64-bit dynamically linked shared library x86_64
/opt/local/lib/libXau.6.dylib (for architecture i386): Mach-O dynamically
linked shared library i386
silverbullet:~ adavid$ file /opt/local/lib/libXdmcp.dylib
/opt/local/lib/libXdmcp.dylib: symbolic link to libXdmcp.6.dylib
silverbullet:~ adavid$ file /opt/local/lib/libXdmcp.6.dylib
/opt/local/lib/libXdmcp.6.dylib: Mach-O universal binary with 2
architectures
/opt/local/lib/libXdmcp.6.dylib (for architecture x86_64): Mach-O
64-bit dynamically linked shared library x86_64
/opt/local/lib/libXdmcp.6.dylib (for architecture i386): Mach-O
dynamically linked shared library i386
}}}
One thing I do have in my system is XQuartz 2.5.0_beta2. But I thought
MacPorts did its own X11'ing.
Where did I go wrong?
--
Ticket URL: <http://trac.macports.org/ticket/24118#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list