From owner-freebsd-x11@freebsd.org Fri Aug 24 11:04:18 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9DC31086D7A for ; Fri, 24 Aug 2018 11:04:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3C41081B8D for ; Fri, 24 Aug 2018 11:04:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id F218B1086D79; Fri, 24 Aug 2018 11:04:17 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CFEA91086D78 for ; Fri, 24 Aug 2018 11:04:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 57EBB81B8C for ; Fri, 24 Aug 2018 11:04:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A3408DA8A for ; Fri, 24 Aug 2018 11:04:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w7OB4GWs011446 for ; Fri, 24 Aug 2018 11:04:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w7OB4G5T011445 for x11@FreeBSD.org; Fri, 24 Aug 2018 11:04:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 230837] x11-servers/xorg-server: make install fails for xorg-server-1.18.4_9,1 Date: Fri, 24 Aug 2018 11:04:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: a.bocaniciu@computer.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2018 11:04:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230837 --- Comment #4 from Adrian Bocaniciu --- The sequence of events leading to this failure was the following: 1. Soon after installing FreeBSD 11-RELEASE some time in 2016, I have insta= lled xorg-server, I believe it was 1.17.something and I have used with an NVIDIA card and with XFCE. 2. Some time ago the NVIDIA card was removed. Now I needed again to connect= a monitor and I tried to install x11-drivers/xf86-video-ast 3. Attempting to install a new video driver failed with an error message sa= ying that the installed xorg-server is no longer supported and that I must updat= e it ASAP 4. Attempting to install the current xorg-server failed and the previous xorg-server was deinstalled 5. Now, after deinstalling the previous xorg-server, its dependencies are orphaned and I see a lot of *proto ports The *proto ports no longer exist in /usr/ports so I cannot do "make deinsta= ll'. "pkg autoremove" also failed to remove most of the *proto orphaned ports. I seldom use pkg, so I have been surprised by its behavior. Doing "pkg dele= te" on one of the *proto also removed some ports that do not depend on xorg-ser= ver, e.g. firefox, which was used over VNC, without xorg-server. Now I will have= to reinstall those. After deleting the orphaned ports and after a few other hiccups, e.g. having from time to time to deinstall various ports and/or having to delete their options from /var/db/ports, I have eventually succeeded to install xorg-ser= ver. I have been using FreeBSD for more than 20 years, since 2.0, but I have nev= er paid much attention to how the dependencies are checked, because usually it just works. Now I have noticed that in FreeBSD the presence of some files belonging to = the required ports is checked, unlike in all the other operating systems which = I am using, where what is checked is the presence of the ports listed as dependencies (in the installed ports database). It is debatable which method is better. I believe that with the FreeBSD met= hod it is more difficult to handle dependencies of certain versions of some por= t or to handle the case when you need to have simultaneously installed many vers= ions of the same port. In any case, this particular bug could not happen in a system where the presence of xorgproto would have been checked, instead of checking the pres= ence of some files which were also provided by obsolete ports which do not exist= any more in /usr/ports. I believe that in this special case, the Makefile for xorg-server should do some check for the presence of xorgproto, to avoid the confusion of the use= rs. There was no way for me to guess which might have been the reason why xorg-server fails to be installed. I do not know which is the UPDATING referred by you. "/usr/src/UPDATING" do= es not contain any information about xorg-server. --=20 You are receiving this mail because: You are the assignee for the bug.=