Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18738 closed defect (worksforme)

xorg-libX11-1.2.0 Build error with universal variant

Reported by: chairos@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: xorg-libX11

Description

This problem was occurring when attempting to upgrade xorg-libX11, so I removed it and everything that depends on it and tried installing from scratch. Building the universal variant fails, but building the regular version works fine.

jon@euterpe:~$ sudo port install xorg-libX11 @+universal
--->  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.0.2_0
--->  Activating xorg-bigreqsproto @1.0.2_0
--->  Cleaning xorg-bigreqsproto
--->  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 @1.5.0_0
--->  Activating xorg-inputproto @1.5.0_0
--->  Cleaning xorg-inputproto
--->  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.3_0
--->  Activating xorg-kbproto @1.0.3_0
--->  Cleaning xorg-kbproto
--->  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.14_1
--->  Activating xorg-xproto @7.0.14_1
--->  Cleaning xorg-xproto
--->  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.4_0+universal
--->  Activating xorg-libXau @1.0.4_0+universal
--->  Cleaning xorg-libXau
--->  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.2_0+universal
--->  Activating xorg-libXdmcp @1.0.2_0+universal
--->  Cleaning xorg-libXdmcp
--->  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.1.2_0
--->  Activating xorg-xcmiscproto @1.1.2_0
--->  Cleaning xorg-xcmiscproto
--->  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.0.5_0
--->  Activating xorg-xextproto @7.0.5_0
--->  Cleaning xorg-xextproto
--->  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.1.2_0
--->  Activating xorg-xf86bigfontproto @1.1.2_0
--->  Cleaning xorg-xf86bigfontproto
--->  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.3_0
--->  Activating xorg-xtrans @1.2.3_0
--->  Cleaning xorg-xtrans
--->  Fetching xorg-libX11
--->  Verifying checksum(s) for xorg-libX11
--->  Extracting xorg-libX11
--->  Configuring 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.2" && make all " returned error 2
Command output:   "__XCloseLC", referenced from:
      _XCloseOM in OMWrap.o
  "_XkbSetXlibControls", referenced from:
      _lookup_string in imConv.o
      _lookup_string in imConv.o
  "__XlcConvert", referenced from:
      __XimLookupMBText in imConv.o
      __XimLookupMBText in imConv.o
      __XimLookupWCText in imConv.o
referenced       __XimLookupWCText in fromimConv.o:

           _XOpenOM  __XimLookupUTF8Text inin OMWrap.o
  "__XrmInitParseInfo", referenced from:
      _NewDatabase in Xrm.o
ld: symbol(s) not found
 collect2: imConv.o
  "__XcmsCopyCmapRecAndFree", referenced from:
      _XCopyColormapAndFree in CopyCmap.o
  "__XOpenLC", referenced from:
      _XOpenOM ld returned 1 exit status
in OMWrap.o
  "__XrmInitParseInfo", referenced from:
      _NewDatabase in Xrm.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cc3FQ7Kd.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

Error: Status 1 encountered during processing.
jon@euterpe:~$ sudo port clean xorg-libX11
--->  Cleaning xorg-libX11
jon@euterpe:~$ sudo port install xorg-libX11
--->  Fetching xorg-libX11
--->  Verifying checksum(s) for xorg-libX11
--->  Extracting xorg-libX11
--->  Configuring xorg-libX11
--->  Building xorg-libX11
--->  Staging xorg-libX11 into destroot
--->  Installing xorg-libX11 @1.2_0
--->  Activating xorg-libX11 @1.2_0
--->  Cleaning xorg-libX11

Change History (8)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: jeremyhu@… removed
Keywords: xorg-libX11 removed
Owner: changed from macports-tickets@… to jeremyhu@…

comment:2 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Please do a 'sudo port -v upgrade outdated' and 'sudo port -v install xorg-libX11' and provide that output

comment:3 Changed 15 years ago by chairos@…

Well, as I said, I got it installed without the universal variant. Should I remove it and try this? If so, should I try it with or without the universal variant?

comment:4 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: newclosed

I'm guessing you have installed something -universal that it is linking against. We don't support selective universal builds. You need to install all dependencies as universal.

comment:5 Changed 15 years ago by chairos@…

That was my guess too, but it would have been really nice if it could warn me about that... "You are trying to install xorg-libX11 +universal, but it depends on libfoo, which is installed -universal."

comment:6 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

The macports website warns you about that. As far as wanting that in base, that's certainly duplicated somewhere.

comment:7 Changed 15 years ago by blb@…

If ticket #126 were done then all +universal variants would depend on +universal of their dependencies.

comment:8 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.