New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22208 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

xorg-libX11 make: nothing to be done for 'all' on Snow Leopard

Reported by: niels_seidel@… Owned by: jeremyhu@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: xorg-libX11

Description (last modified by macsforever2000@…) (diff)

I don't get xorg-libX11 build on Snow Leopard. Neither as clean build nor by recompiling all dependencies.

Any idea what the reason could be?

Terminal output:

sn:default-icon ab$ port clean xorg-libX11
--->  Cleaning xorg-libX11
sn:default-icon ab$ sudo port -v install xorg-libX11
--->  Computing dependencies for xorg-libX11.
--->  Building xorg-libX11
Making all in include
make[1]: Nothing to be done for `all'.
Making all in modules
Making all in im
Making all in ximcp
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in lc
Making all in Utf8
make[3]: Nothing to be done for `all'.
Making all in def
make[3]: Nothing to be done for `all'.
Making all in gen
make[3]: Nothing to be done for `all'.
Making all in xlocale
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in om
Making all in generic
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
make[2]: Nothing to be done for `all-am'.
Making all in src
cd util && /usr/bin/make
make[2]: Nothing to be done for `all'.
/usr/bin/make  all-recursive
Making all in util
make[3]: Nothing to be done for `all'.
Making all in xcms
make[3]: Nothing to be done for `all'.
Making all in xlibi18n
make[3]: Nothing to be done for `all'.
Making all in xkb
make[3]: Nothing to be done for `all'.
cd util && /usr/bin/make
make[4]: Nothing to be done for `all'.
Making all in nls
Making all in am_ET.UTF-8
make[2]: Nothing to be done for `all'.
Making all in armscii-8
make[2]: Nothing to be done for `all'.
Making all in C
make[2]: Nothing to be done for `all'.
Making all in el_GR.UTF-8
make[2]: Nothing to be done for `all'.
Making all in en_US.UTF-8
make[2]: Nothing to be done for `all'.
Making all in fi_FI.UTF-8
make[2]: Nothing to be done for `all'.
Making all in georgian-academy
make[2]: Nothing to be done for `all'.
Making all in georgian-ps
make[2]: Nothing to be done for `all'.
Making all in ibm-cp1133
make[2]: Nothing to be done for `all'.
Making all in iscii-dev
make[2]: Nothing to be done for `all'.
Making all in isiri-3342
make[2]: Nothing to be done for `all'.
Making all in iso8859-1
make[2]: Nothing to be done for `all'.
Making all in iso8859-10
make[2]: Nothing to be done for `all'.
Making all in iso8859-11
make[2]: Nothing to be done for `all'.
Making all in iso8859-13
make[2]: Nothing to be done for `all'.
Making all in iso8859-14
make[2]: Nothing to be done for `all'.
Making all in iso8859-15
make[2]: Nothing to be done for `all'.
Making all in iso8859-2
make[2]: Nothing to be done for `all'.
Making all in iso8859-3
make[2]: Nothing to be done for `all'.
Making all in iso8859-4
make[2]: Nothing to be done for `all'.
Making all in iso8859-5
make[2]: Nothing to be done for `all'.
Making all in iso8859-6
make[2]: Nothing to be done for `all'.
Making all in iso8859-7
make[2]: Nothing to be done for `all'.
Making all in iso8859-8
make[2]: Nothing to be done for `all'.
Making all in iso8859-9
make[2]: Nothing to be done for `all'.
Making all in iso8859-9e
make[2]: Nothing to be done for `all'.
Making all in ja
make[2]: Nothing to be done for `all'.
Making all in ja.JIS
make[2]: Nothing to be done for `all'.
Making all in ja_JP.UTF-8
make[2]: Nothing to be done for `all'.
Making all in ja.S90
make[2]: Nothing to be done for `all'.
Making all in ja.SJIS
make[2]: Nothing to be done for `all'.
Making all in ja.U90
make[2]: Nothing to be done for `all'.
Making all in ko
make[2]: Nothing to be done for `all'.
Making all in koi8-c
make[2]: Nothing to be done for `all'.
Making all in koi8-r
make[2]: Nothing to be done for `all'.
Making all in koi8-u
make[2]: Nothing to be done for `all'.
Making all in ko_KR.UTF-8
make[2]: Nothing to be done for `all'.
Making all in microsoft-cp1251
make[2]: Nothing to be done for `all'.
Making all in microsoft-cp1255
make[2]: Nothing to be done for `all'.
Making all in microsoft-cp1256
make[2]: Nothing to be done for `all'.
Making all in mulelao-1
make[2]: Nothing to be done for `all'.
Making all in nokhchi-1
make[2]: Nothing to be done for `all'.
Making all in pt_BR.UTF-8
make[2]: Nothing to be done for `all'.
Making all in ru_RU.UTF-8
make[2]: Nothing to be done for `all'.
Making all in tatar-cyr
make[2]: Nothing to be done for `all'.
Making all in th_TH
make[2]: Nothing to be done for `all'.
Making all in th_TH.UTF-8
make[2]: Nothing to be done for `all'.
Making all in tscii-0
make[2]: Nothing to be done for `all'.
Making all in vi_VN.tcvn
make[2]: Nothing to be done for `all'.
Making all in vi_VN.viscii
make[2]: Nothing to be done for `all'.
Making all in zh_CN
make[2]: Nothing to be done for `all'.
Making all in zh_CN.gb18030
make[2]: Nothing to be done for `all'.
Making all in zh_CN.gbk
make[2]: Nothing to be done for `all'.
Making all in zh_CN.UTF-8
make[2]: Nothing to be done for `all'.
Making all in zh_HK.big5
make[2]: Nothing to be done for `all'.
Making all in zh_HK.big5hkscs
make[2]: Nothing to be done for `all'.
Making all in zh_HK.UTF-8
make[2]: Nothing to be done for `all'.
Making all in zh_TW
make[2]: Nothing to be done for `all'.
Making all in zh_TW.big5
make[2]: Nothing to be done for `all'.
Making all in zh_TW.UTF-8
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
Making all in man
Making all in xkb
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
Making all in specs
Making all in libX11
  GEN    libX11.ps
  GEN    libX11.pdf
dyld: Library not loaded: /opt/local/lib/libcairo.2.dylib
  Referenced from: /opt/local/bin/gs
  Reason: image not found
/bin/sh: line 1: 34897 Trace/BPT trap          /opt/local/bin/ps2pdf libX11.ps libX11.pdf
make[2]: *** [libX11.pdf] Error 133
rm libX11.ps
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
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.1" && /usr/bin/make -j1 all " returned error 2
Command output: make[2]: Nothing to be done for `all'.
Making all in zh_HK.big5
make[2]: Nothing to be done for `all'.
Making all in zh_HK.big5hkscs
make[2]: Nothing to be done for `all'.
Making all in zh_HK.UTF-8
make[2]: Nothing to be done for `all'.
Making all in zh_TW
make[2]: Nothing to be done for `all'.
Making all in zh_TW.big5
make[2]: Nothing to be done for `all'.
Making all in zh_TW.UTF-8
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
Making all in man
Making all in xkb
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
Making all in specs
Making all in libX11
  GEN    libX11.ps
  GEN    libX11.pdf
dyld: Library not loaded: /opt/local/lib/libcairo.2.dylib
  Referenced from: /opt/local/bin/gs
  Reason: image not found
/bin/sh: line 1: 34897 Trace/BPT trap          /opt/local/bin/ps2pdf libX11.ps libX11.pdf
make[2]: *** [libX11.pdf] Error 133
rm libX11.ps
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Warning: the following items did not execute (for xorg-libX11): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History

comment:1 Changed 4 years ago by macsforever2000@…

  • Owner changed from macports-tickets@… to jeremyhu@…
  • Description modified (diff)
  • Port set to xorg-libX11

comment:2 Changed 4 years ago by jeremyhu@…

  • Status changed from new to closed
  • Resolution set to invalid

This has nothing to do with xorg-libX11. You seem to have deactivated cairo which is needed by ghostscript

dyld: Library not loaded: /opt/local/lib/libcairo.2.dylib
  Referenced from: /opt/local/bin/gs
  Reason: image not found

comment:3 Changed 4 years ago by niels_seidel@…

Thank you for your reply but I am neither able to activate cairo nor to reinstall it because of its dependency on xorg-libX11. Its like a dead lock.

$ sudo port activate cairo ---> Activating cairo Error: port activate failed: Image error: Source file /opt/local/var/macports/software/cairo/1.8.4_1+macosx/opt/local/lib/libcairo.2.dylib does not appear to exist (cannot lstat it). Unable to activate port cairo.

comment:4 Changed 4 years ago by jeremyhu@…

Well, then you should also deactivate ghostscript to prevent X11 from using it to build your pdf.

comment:5 Changed 4 years ago by niels_seidel@…

I tried that but the dead lock is still there. After wasting too much time with all that stuff I decided to uninstall all my ports:

$ sudo port uninstall installed

Then I started my reinstallation with:

$ sudo port install gsed

So far everything worked fine for me but then I wanted to install xorg-libX11:

$ sudo port install xorg-libX11
Password:
--->  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.1" && /usr/bin/make -j1 all " returned error 2
Command output: Making all in zh_CN.gbk
make[2]: Nothing to be done for `all'.
Making all in zh_CN.UTF-8
make[2]: Nothing to be done for `all'.
Making all in zh_HK.big5
make[2]: Nothing to be done for `all'.
Making all in zh_HK.big5hkscs
make[2]: Nothing to be done for `all'.
Making all in zh_HK.UTF-8
make[2]: Nothing to be done for `all'.
Making all in zh_TW
make[2]: Nothing to be done for `all'.
Making all in zh_TW.big5
make[2]: Nothing to be done for `all'.
Making all in zh_TW.UTF-8
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
Making all in man
Making all in xkb
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
Making all in specs
Making all in libX11
  GEN    libX11.ps
  GEN    libX11.pdf
/bin/sh: /opt/local/bin/ps2pdf: No such file or directory
make[2]: *** [libX11.pdf] Error 127
rm libX11.ps
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1



Error: Status 1 encountered during processing.

Again a dead lock because to install ghostscript I do need cairo which depends on xorg-libX11.

What did I do wrong?

comment:6 Changed 4 years ago by niels_seidel@…

To be exact, ghostscript has further dependencies:

cairo xrender xorg-libX11 xorg-renderproto jpeg libtool xorg-libXext xorg-libXt xorg-libsm xorg-libice

Easy going were the following:

$ sudo port install xorg-libice

$ sudo port install xorg-libsm

But then xorg-libXt:

Error: The following dependencies failed to build: xorg-libX11
Error: Status 1 encountered during processing

Is there something wrong with the dependencies? Could I install parts of the needed packages outside of macports?

comment:7 Changed 4 years ago by niels_seidel@…

To summarize the issue about the dependency loop:

If you want to install xorg-libX11 you need ghostscript which depends itself on five ports (cairo xrender xorg-libX11 xorg-libXext xorg-libXt) who are each depending on xorg-libX11.

For me it makes no sense to expect ghostscript at the installation of xorg-libX11.

Could anyone please reopen this ticket?

comment:8 Changed 4 years ago by jeremyhu@…

There is no loop. You borked your install. The reason you're seeing xorg-libX11 fail to build now is because you didn't clean it after nuking all your other ports, so it still thinks ps2pdf is installed (hence the error message which shows it is trying to execute ps2pdf which isn't there)

Note: See TracTickets for help on using tickets.