Hi
A while back I asked if anyone could shed any light:

Intermittently all my macports that use X fail to start. This from syslog.

Dec 14 09:50:59 haycorn.home org.macports.startx[699]: xauth:  file /Users/jam/.serverauth.700 does not exist
Dec 14 09:50:59 haycorn.home org.macports.startx[699]: xinit: unable to run server "/opt/local/bin/X": No such file or directory
Dec 14 09:50:59 haycorn.home org.macports.startx[699]: Use the -- option, or make sure that /opt/local/bin is in your path and
Dec 14 09:50:59 haycorn.home org.macports.startx[699]: that "/opt/local/bin/X" is a program or a link to the right type of server
Dec 14 09:50:59 haycorn.home org.macports.startx[699]: for your display.  Possible server names include:
Dec 14 09:50:59 haycorn.home org.macports.startx[699]:     Xquartz     Mac OSX Quartz displays.
Dec 14 09:50:59 haycorn.home org.macports.startx[699]:     Xvfb        Virtual frame buffer
Dec 14 09:50:59 haycorn.home org.macports.startx[699]:     Xfake       kdrive-based virtual frame buffer
Dec 14 09:50:59 haycorn.home org.macports.startx[699]:     Xnest       X server nested in a window on another X server
Dec 14 09:50:59 haycorn.home org.macports.startx[699]:     Xephyr      kdrive-based nested X server
Dec 14 09:50:59 haycorn.home org.macports.startx[699]:     Xvnc        X server accessed over VNC's RFB protocol
Dec 14 09:50:59 haycorn.home org.macports.startx[699]:     Xdmx        Distributed Multi-head X server
Dec 14 09:51:01 haycorn.home org.macports.startx[699]:   xinit: giving up
Dec 14 09:51:01 haycorn.home org.macports.startx[699]: xinit: unable to connect to X server: Connection refused
Dec 14 09:51:01 haycorn.home org.macports.startx[699]:   xinit: server error
Dec 14 09:51:01 haycorn.home org.macports.startx[699]:
Dec 14 09:51:01 haycorn com.apple.xpc.launchd[1] (org.macports.startx[699]): FairPlay decryption failed on binary.
Dec 14 09:51:01 haycorn com.apple.xpc.launchd[1] (org.macports.startx): Service only ran for 2 seconds. Pushing respawn out by 8 seconds.

Irritated by the contiual nagging to update I broke rule #1 and updated. Now X will never start and nothing is logged.

I removed all trace of macports and of Xquartz, then reinstalled. Voila everything works. Nextday after after reboot NO X.
Nothing whatsoever logged.

Previously startx started an undecorated xterm.Now


[haycorn] /Users/jam [521]% startx
font_cache: Scanning user font directories to generate X11 font caches
font_cache: Updating FC cache
expr: syntax error
expr: syntax error
xauth:  file /Users/jam/.serverauth.1323 does not exist

font_cache: Done

waiting for X server to begin accepting connections .
..


until timeout after 5 min or so.
There are no .serverauth files.

I?m somewhat lost. I fiddle my linux boxes very technically but this is all a bit alien. Can anyone help me please?
There is no /opt/local/bin/X but there was none yesterday when all was working (only /opt/X11/bin/X)

First thanks for all the wise words.
My *biggest* problem is that one login all works the next login it does not!

Trying desperate measures I upgraded to el Capitan installed the correct macports dmg.
Many ports eg wget do build. qt5 fails to build. gnuplot fails to build (the latest ticket says do selfupdate all is fixed, but it is not)

Many tries later so the peamble is done:

[Haycorn] /Users/jam [502]% sudo     port install gnuplot
Password:
--->  Computing dependencies for gnuplot
--->  Dependencies to be installed: aquaterm gd2 libvpx yasm xpm xorg-libXt xorg-libsm xorg-libice libcaca freeglut libGLU mesa bison bison-runtime m4 flex indent py27-libxml2 xorg-dri2proto xorg-glproto xorg-libXdamage xorg-damageproto xorg-libXfixes xorg-fixesproto xorg-libXi xorg-libXmu xorg-libXrandr xorg-randrproto xorg-libXxf86vm xorg-xf86vidmodeproto imlib2 giflib libid3tag libcerf lua pango Xft2 gobject-introspection py27-mako py27-beaker py27-setuptools py27-markupsafe wxWidgets-3.0 wxWidgets_select
--->  Building aquaterm
Error: org.macports.build for port aquaterm returned: command execution failed
Error: Failed to install aquaterm
Please see the log file for port aquaterm for details:
   /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_aquaterm/aquaterm/main.log
Error: The following dependencies were not installed: aquaterm gd2 libvpx yasm xpm xorg-libXt xorg-libsm xorg-libice libcaca freeglut libGLU mesa bison bison-runtime m4 flex indent py27-libxml2 xorg-dri2proto xorg-glproto xorg-libXdamage xorg-damageproto xorg-libXfixes xorg-fixesproto xorg-libXi xorg-libXmu xorg-libXrandr xorg-randrproto xorg-libXxf86vm xorg-xf86vidmodeproto imlib2 giflib libid3tag libcerf lua pango Xft2 gobject-introspection py27-mako py27-beaker py27-setuptools py27-markupsafe wxWidgets-3.0 wxWidgets_select
To report a bug, follow the instructions in the guide:
   http://guide.macports.org/#project.tickets
Error: Processing of port gnuplot failed

I executed the command that was logged as failed, everything worked perfectly.

Now I need advise from people here please:

I’ll format the disk and start from scratch (I do have a time machine backup)
If people have made qt5 and gnuplot work with el Capitan I will install that else I’ll do yosemite.

The reply about the SDKs looks right and I will do that (thanks).

Cheers
James
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to