X11 no longer working

Christoph Kukulies kuku at kukulies.org
Sat May 9 12:21:15 UTC 2020


The port install xorg-server went through and as a result I have XQuartz working again.

Now you say I should revert this (japanes sites’) hack. I removed the symbolic link that this hack suggested, ran
sudo uninstall xorg-server and then sudo install xorg-server. It ran much faster now as if it didn’t compile anything.

So I didn’t run into this error below again.

Thanks to all. 


X11 working again.

—
Christoph


> Am 09.05.2020 um 14:09 schrieb Christopher Jones <jonesc at hep.phy.cam.ac.uk>:
> 
> 
> Thats not what I am referring to. There was likely a warning earlier on directing you to the macports problem hot list.
> 
>> On 9 May 2020, at 1:07 pm, Christoph Kukulies <kuku at kukulies.org <mailto:kuku at kukulies.org>> wrote:
>> 
>> 
>> 
>>> Am 09.05.2020 um 13:51 schrieb Christopher Jones <jonesc at hep.phy.cam.ac.uk <mailto:jonesc at hep.phy.cam.ac.uk>>:
>>> 
>>> 
>>> then you need to figure out what is failing for you with ossp-uuid ...
>>> 
>> 
>> 
>> 
>> The error was this one:
>> 
>> 
>> :info:build ../uuid.h:39:10: fatal error: 'sys/types.h' file not found
>> 
>> 
>> see below in context:
>> 
>> :info:build /usr/bin/clang -c  -I. -I.. -fno-common -DPERL_DARWIN -mmacosx-version-min=10.15 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV -O3   -DVERSION=\"1.0602\" -DXS_VERSION=\"1.0602\"  "-I/opt/local/lib/perl5/5.26/darwin-thread-multi-2level/CORE"   uuid.c
>> :info:build clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk' [-Wmissing-sysroot]
>> :info:build In file included from uuid.xs:30:
>> :info:build ../uuid.h:39:10: fatal error: 'sys/types.h' file not found
>> :info:build #include <sys/types.h>
>> :info:build          ^~~~~~~~~~~~~
>> :info:build 1 error generated.
>> :info:build make[1]: *** [uuid.o] Error 1
>> :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ossp-uuid/ossp-uuid/work/uuid-1.6.2/perl'
>> :info:build make: *** [perl/blib/lib/OSSP/uuid.pm] Error 2
>> :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ossp-uuid/ossp-uuid/work/uuid-1.6.2'
>> :info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ossp-uuid/ossp-uuid/work/uuid-1.6.2" && /usr/bin/make -j8 -w all
>> :info:build Exit code: 2
>> :error:build Failed to build ossp-uuid: command execution failed
>> :debug:build Error code: CHILDSTATUS 19252 2
>> :debug:build Backtrace: command execution failed
>> :debug:build     while executing
>> :debug:build "system {*}$notty {*}$nice $fullcmdstring"
>> :debug:build     invoked from within
>> :debug:build "command_exec build"
>> :debug:build     (procedure "portbuild::build_main" line 8)
>> :debug:build     invoked from within
>> :debug:build "$procedure $targetname"
>> :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ossp-uuid/ossp-uuid/main.log for details.
>> version:1
>> :debug:sysinfo macOS 10.15 (darwin/19.4.0) arch i386
>> :debug:sysinfo MacPorts 2.6.2
>> :debug:sysinfo Xcode 11.4.1
>> :debug:sysinfo SDK 10.15
>> :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.15
>> :debug:clean dropping privileges: euid changed to 502, egid changed to 501.
>> :debug:main Executing org.macports.main (ossp-uuid)
>> 
>> 
>>>> On 9 May 2020, at 12:48 pm, Christoph Kukulies <kuku at kukulies.org <mailto:kuku at kukulies.org>> wrote:
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>>> Am 09.05.2020 um 13:41 schrieb Christopher Jones <jonesc at hep.phy.cam.ac.uk <mailto:jonesc at hep.phy.cam.ac.uk>>:
>>>>> 
>>>>> looks like your xorg-server installation is not working. Try removing it, reinstall, then log out and back in again.
>>>> 
>>>> 
>>>> 
>>>> 
>>>> That’s what I tried already and failed on that (see other post subject „Building xorg fails“):
>>>> 
>>>> 
>>>> kuku at Christophs-MBP ~ % sudo port install xorg-server
>>>> --->  Computing dependencies for xorg-server
>>>> The following dependencies will be installed: 
>>>>  font-adobe-100dpi
>>>>  font-adobe-75dpi
>>>>  font-adobe-utopia-100dpi
>>>>  font-adobe-utopia-75dpi
>>>>  font-adobe-utopia-type1
>>>>  font-arabic-misc
>>>>  font-bh-100dpi
>>>>  font-bh-75dpi
>>>>  font-bh-lucidatypewriter-100dpi
>>>>  font-bh-lucidatypewriter-75dpi
>>>>  font-bh-ttf
>>>>  font-bh-type1
>>>>  font-bitstream-100dpi
>>>>  font-bitstream-75dpi
>>>>  font-bitstream-speedo
>>>>  font-bitstream-type1
>>>>  font-cronyx-cyrillic
>>>>  font-cursor-misc
>>>>  font-daewoo-misc
>>>>  font-dec-misc
>>>>  font-ibm-type1
>>>>  font-isas-misc
>>>>  font-jis-misc
>>>>  font-micro-misc
>>>>  font-misc-cyrillic
>>>>  font-misc-meltho
>>>>  font-misc-misc
>>>>  font-mutt-misc
>>>>  font-schumacher-misc
>>>>  font-screen-cyrillic
>>>>  font-sony-misc
>>>>  font-sun-misc
>>>>  font-winitzki-cyrillic
>>>>  font-xfree86-type1
>>>>  fontconfig
>>>>  ossp-uuid
>>>>  xorg-fonts
>>>> Continue? [Y/n]: Y
>>>> --->  Fetching archive for ossp-uuid
>>>> --->  Attempting to fetch ossp-uuid-1.6.2_11+perl5_26.darwin_19.x86_64.tbz2 from https://packages.macports.org/ossp-uuid <https://packages.macports.org/ossp-uuid>
>>>> --->  Attempting to fetch ossp-uuid-1.6.2_11+perl5_26.darwin_19.x86_64.tbz2 from http://nue.de.packages.macports.org/ossp-uuid <http://nue.de.packages.macports.org/ossp-uuid>
>>>> --->  Attempting to fetch ossp-uuid-1.6.2_11+perl5_26.darwin_19.x86_64.tbz2 from http://lil.fr.packages.macports.org/ossp-uuid <http://lil.fr.packages.macports.org/ossp-uuid>
>>>> --->  Building ossp-uuid
>>>> Error: Failed to build ossp-uuid: command execution failed
>>>> Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ossp-uuid/ossp-uuid/main.log for details.
>>>> Error: Follow https://guide.macports.org/#project.tickets <https://guide.macports.org/#project.tickets> to report a bug.
>>>> Error: Processing of port xorg-server failed
>>>> kuku at Christophs-MBP ~ % 
>>>> 
>>>>> 
>>>>>> On 9 May 2020, at 12:39 pm, Christoph Kukulies <kuku at kukulies.org <mailto:kuku at kukulies.org>> wrote:
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>> Am 09.05.2020 um 13:22 schrieb Richard Tobin <richard at inf.ed.ac.uk <mailto:richard at inf.ed.ac.uk>>:
>>>>>>> 
>>>>>>> 
>>>>>>>>>> Does running xclock or other X clients locally work?
>>>>>>> 
>>>>>>>> No. xclock also hangs locally.
>>>>>>> 
>>>>>>> So it's not an ssh problem.
>>>>>>> 
>>>>>>>>> Also, do ssh -v -Y and see what it says about X11 forwarding.
>>>>>>> 
>>>>>>>> Have gone through the ssh connection already in previous posts.
>>>>>>> 
>>>>>>> So you did, I missed that.
>>>>>>> 
>>>>>>>> What make me wonder is, when I'm looking at the process command 
>>>>>>>> line of the Xquartz process that there is a -nolisten tcp (?!)
>>>>>>>> 
>>>>>>>> 6306 s003  S<     0:00.00 /opt/X11/bin/Xquartz :0 -nolisten tcp -iglx
>>>>>>>> -auth /var/root/.serverauth.6258
>>>>>>> 
>>>>>>> That's ok, you're not trying to connect to X by TCP, but through
>>>>>>> the unix socket :0.  (Just to be sure, try "xclock -display :0")
>>>>>> 
>>>>>> kuku at Christophs-MBP ~ % xclock -display :0
>>>>>> Error: Can't open display: :0
>>>>>> kuku at Christophs-MBP ~ % xclock -display \:0
>>>>>> Error: Can't open display: :0
>>>>>> kuku at Christophs-MBP ~ % echo $DISPLAY
>>>>>> /private/tmp/com.apple.launchd.vabAbiJezH/org.macports:0
>>>>>> kuku at Christophs-MBP ~ % 
>>>>>> 
>>>>>>> 
>>>>>>> Is there a quartz-wm process running?
>>>>>>> 
>>>>>> 
>>>>>> Not directy. WHat I see is:
>>>>>> 
>>>>>>  % ps ax | grep -i quartz
>>>>>>   419   ??  Ss     0:00.09 /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.framework/Versions/A/XPCServices/QuickLookUIService.xpc/Contents/MacOS/QuickLookUIService
>>>>>> 13030 s008  R+     0:00.00 grep -i quartz
>>>>>> 
>>>>>> 
>>>>>>> -- Richard
>>>>>>> 
>>>>>>> -- 
>>>>>>> The University of Edinburgh is a charitable body, registered in
>>>>>>> Scotland, with registration number SC005336.
>>>>> 
>>>> 
>>> 
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20200509/eac5e84e/attachment.html>


More information about the macports-users mailing list