Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2018 11:04:16 +0000
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
Message-ID:  <bug-230837-7141-WlFObF1qkH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230837-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230837-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230837

--- Comment #4 from Adrian Bocaniciu <a.bocaniciu@computer.org> ---
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230837-7141-WlFObF1qkH>