List Info

Thread: Re: Upgrade questions




Re: Upgrade questions
country flaguser name
United States
2008-04-26 19:51:27
In message <18451.35402.312511.326280gromit.timing.com>, you wrote:

>Wow... quite a list.
>
>Most of these questions are more related to the ports
infrastructure
>than specifically x11.

Well, yea, but ya know, it was just one or two of the
(slightly dysfunctional)
packages that are/were _dpendent_ until X, and which I
wanted to upgrade
(thus necessitating an upgrade to X) that started this whole
ball rolling
for me.

>Second, you'll get much better response if you send out
email for one
>issue at a time.  And I'm afraid I think you're going to
have to learn
>something along the way ;).

I ain't afraid to learn.  I'm only afraid that nobody will
be there to teach
me when I _need_ to learn.

> > "Makefile", line 92: Malformed
conditional (${X_WINDOW_SYSTEM:L} != xorg)
> > "Makefile", line 96: if-less endif
>
>That happens if a Makefile or included .mk file tries to
reference
>$ and that var is undefined.  If you
have a ports
>tree that matches the port tree from the 6.3 release
(note: not the
>same as the latest ports tree as of today, the so-called
HEAD) then
>there should be a line in ports/Mk/bsd.port.mk that has
>'X_WINDOW_SYSTEM ?= xorg' which defines that variable.
>
>It seems something is not right with your ports tree. 
Why?  I don't
>know, but fixing that may alleviate lots of your other
problems.

OK, could the real problem possibly be that I did:

	portsnap fetch
	portsnap extract

on a fairly stock 6.2-RELEASE systems that had already been
in use for quite
a long time *and* on which I *did not* first do this?

	# rm -fr /usr/ports

??

The Handbook instructions were really not at all clear about
whether or not
I was supposed to start by wiping out my pre-existing
/usr/ports tree, and
I get the distinct feeling that I perhaps should have done
this because
now it appears that I've got a ports tree that's got a bunch
of _new_ X
stuff in it along side a big bunch of old/stale X stuff. 
Example:

	# cd /usr/ports/x11-servers
	# ls -l
	total 38
	-rw-r--r--  1 root  wheel  410 Mar  7 13:47 Makefile
	drwxr-xr-x  4 root  wheel  512 Jun 15  2007
XFree86-4-FontServer
	drwxr-xr-x  3 root  wheel  512 Jun 15  2007
XFree86-4-NestServer
	drwxr-xr-x  3 root  wheel  512 Jun 15  2007
XFree86-4-PrintServer
	drwxr-xr-x  4 root  wheel  512 Jun 15  2007
XFree86-4-Server
	drwxr-xr-x  3 root  wheel  512 Jun 15  2007
XFree86-4-VirtualFramebufferServer
	drwxr-xr-x  4 root  wheel  512 Apr 26 02:51 Xfstt
	drwxr-xr-x  4 root  wheel  512 Apr 26 02:52 driglide
	drwxr-xr-x  2 root  wheel  512 Apr 25 23:30 mga_hal
	drwxr-xr-x  3 root  wheel  512 Jun 15  2007 synaptics
	drwxr-xr-x  2 root  wheel  512 Apr 25 23:30 x2vnc
	drwxr-xr-x  3 root  wheel  512 Apr 25 23:30 x2x
	drwxr-xr-x  3 root  wheel  512 Apr 25 23:30 xorg-dmx
	drwxr-xr-x  4 root  wheel  512 Jun 15  2007
xorg-fontserver
	drwxr-xr-x  2 root  wheel  512 Apr 25 23:30
xorg-nestserver
	drwxr-xr-x  2 root  wheel  512 Apr 25 23:30
xorg-printserver
	drwxr-xr-x  4 root  wheel  512 Apr 26 03:15 xorg-server
	drwxr-xr-x  3 root  wheel  512 Apr 25 23:30
xorg-server-snap
	drwxr-xr-x  2 root  wheel  512 Apr 25 23:30 xorg-vfbserver

Do I correctly surmise that this is *not* tyhe way my ports
tree should be
looking?

Would it make sense for me to in effect, start over, i.e.
via the following:

	# rm -fr /usr/ports
	# portsnap fetch
	# portsnap extract
_______________________________________________
freebsd-x11freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to
"freebsd-x11-unsubscribefreebsd.org"

Re: Upgrade questions
user name
2008-04-26 23:25:45
Ronald F. Guilmette wrote at 17:51 -0700 on Apr 26, 2008:
 > OK, could the real problem possibly be that I did:
 > 
 > 	portsnap fetch
 > 	portsnap extract
 > 
 > on a fairly stock 6.2-RELEASE systems ...

I don't know.  But the symptoms (e.g., pkg_version failing
due to
undefined X_WINDOW_SYSTEM - that might happen if you have a
newer
bsd.port.mk but older ports Makefiles) point to problems
with your
ports tree.  What's the $FreeBSD$ in your Mk/bsd.port.mk ?
xorg-server/Makefile ?  Compare those to what you see
at http://w
ww.freebsd.org/cgi/cvsweb.cgi/ports/  (teaching you
to fish here as you requested).


 > The Handbook instructions were really not at all clear
about whether or not
 > I was supposed to start by wiping out my pre-existing
/usr/ports tree, and
 > I get the distinct feeling that I perhaps should have
done this because
 > now it appears that I've got a ports tree that's got a
bunch of _new_ X
 > stuff in it along side a big bunch of old/stale X
stuff.  Example:
 > 
 > 	# cd /usr/ports/x11-servers
 > 	# ls -l
 > 	total 38
 > 	-rw-r--r--  1 root  wheel  410 Mar  7 13:47 Makefile
 > 	drwxr-xr-x  4 root  wheel  512 Jun 15  2007
XFree86-4-FontServer
 > 	drwxr-xr-x  3 root  wheel  512 Jun 15  2007
XFree86-4-NestServer
 > 	drwxr-xr-x  3 root  wheel  512 Jun 15  2007
XFree86-4-PrintServer
 > 	drwxr-xr-x  4 root  wheel  512 Jun 15  2007
XFree86-4-Server
 > 	drwxr-xr-x  3 root  wheel  512 Jun 15  2007
XFree86-4-VirtualFramebufferServer
 > 	drwxr-xr-x  4 root  wheel  512 Apr 26 02:51 Xfstt
 > 	drwxr-xr-x  4 root  wheel  512 Apr 26 02:52 driglide
 > 	drwxr-xr-x  2 root  wheel  512 Apr 25 23:30 mga_hal
 > 	drwxr-xr-x  3 root  wheel  512 Jun 15  2007
synaptics
 > 	drwxr-xr-x  2 root  wheel  512 Apr 25 23:30 x2vnc
 > 	drwxr-xr-x  3 root  wheel  512 Apr 25 23:30 x2x
 > 	drwxr-xr-x  3 root  wheel  512 Apr 25 23:30 xorg-dmx
 > 	drwxr-xr-x  4 root  wheel  512 Jun 15  2007
xorg-fontserver
 > 	drwxr-xr-x  2 root  wheel  512 Apr 25 23:30
xorg-nestserver
 > 	drwxr-xr-x  2 root  wheel  512 Apr 25 23:30
xorg-printserver
 > 	drwxr-xr-x  4 root  wheel  512 Apr 26 03:15
xorg-server
 > 	drwxr-xr-x  3 root  wheel  512 Apr 25 23:30
xorg-server-snap
 > 	drwxr-xr-x  2 root  wheel  512 Apr 25 23:30
xorg-vfbserver
 > 
 > Do I correctly surmise that this is *not* tyhe way my
ports tree should be
 > looking?

I have no idea.  Why do you surmise that?  We can't tell by
looking at
that directory listing.  What is the
PORTVERSION/PORTREVISION in
xorg-server/Makefile?

Note that if you want to update to xorg 7.3, you'll not want
the
FreeBSD 6.2 version of the ports tree since xorg was still
at 6.9 for
FreeBSD 6.2


 > Would it make sense for me to in effect, start over,
i.e. via the following:
 > 
 > 	# rm -fr /usr/ports
 > 	# portsnap fetch
 > 	# portsnap extract

If you have nothing that you've done in /usr/ports that you
want to
preserve such as local patches (if you don't know what I'm
talking
about then you haven't), then removing your ports tree will
be fine.

As to the portsnap part, I don't know - I've never used it -
but that
looks reasonable after glancing at the man page.

You could try doing 'mv /usr/ports /usr/ports.mv' then
comparing
the trees (diff -ur) after doing the fresh portsnap.

For me, I use the 'old school' method straight from CVS
(with a local
copy of the repository from cvsup in CVS mode) or
infrequently cvsup
in checkout mode...  see cvsup man page or the cvsup faq for
more.
If you had a local copy of the ports CVS repository, you
could
checkout the ports tree and do a diff to verify everything
is properly
up to date.

Try ports or questions if someone doesn't answer here.
These questions are not really specific to x11.
_______________________________________________
freebsd-x11freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to
"freebsd-x11-unsubscribefreebsd.org"

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )