Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 1995 13:11:54 +0200
From:      Mark Murray <mark@grondar.za>
To:        asami@freebsd.org
Cc:        bugs@freebsd.org
Subject:   Rebuilding ports woes.
Message-ID:  <199511231112.NAA17263@grumble.grondar.za>

next in thread | raw e-mail | index | archive | help
Hi

Every now-and-then I like to blow away as much of the binaries on my
system as I can and rebuild them. For the core stuff a make world
is sufficient, and for X11R6 I build of the O'Reilly CDROM.

For the rest, I use this makefile (small 'm', so it is found first)
in /usr/ports/:

---------------------8<--------makefile---------------------
USA_RESIDENT=	NO

SUBDIR= \
	security/tcp_wrapper \
	security/pidentd \
	shells/bash \
	shells/pdksh \
	shells/tcsh \
	shells/zsh \
	utils/less \
	mail/mh \
	devel/gmake \
	archivers/unzip \
	archivers/zip \
	editors/emacs \
	graphics/jpeg \
	graphics/tiff \
	graphics/xv \
	net/archie \
	print/a2ps \
	print/ghostscript \
	print/ghostview \
	print/tex \
	print/latex \
	print/makeindex \
	print/texinfo \
	utils/team \
	security/pgp \
	sysutils/top \
	x11/xearth \
	x11/xview-config \
	x11/xview-lib \
	x11/olvwm \
	print/dvips \
	print/xdvi \


.include <bsd.port.subdir.mk>
---------------------8<--------makefile---------------------

If the above ports are already installed, this builds and installs with
no - (well actually one but I'll get to that later) problem.

I did it, and logged the output so if you want to follow what happened,
please look in freefall:~markm/PortLog.tar.gz. This file contains
Ports0.LOG to Ports3.LOG)

The explanation follows:

1) start the build, logging to Ports0.LOG.
2) port breaks at graphics/xv because it cannot find jpeg headers, even
   though it correctly found that graphics/jpeg was in the dependancy
   list. (See the end of Ports0.LOG)
3) manually "make install" in graphics/jpeg
4) restart the build, logging to Ports1.LOG
5) build breaks for same reason as (2), except it did not find tiff headers
   for xv. See end of Ports1.LOG
6) manually "make install" in graphics/tiff
7) restart the build, logging to Ports2.LOG
8) build breaks for similar reason to (2) and (5), except now it is
   x11/olvwm, and it cannot find bits of xview-lib.
9) manually "make install" in x11/xview-lib
10) restart the build, logging to Ports3.LOG
11) port breaks in print/dvips because of a bug in gnu tar(?). It seems that
    gnu tar cannot handle this particular tarball. Gunzip it by hand - no
    problem. Untar the uncompressed tar by hand - no problem. See the end
    of Ports3.LOG (BTW - this was not in 2.1, only -current)
12) touch print/dvips/work/.extract_done
13) build the rest. (not logged).

Hope this helps!

-- 
Mark Murray
46 Harvey Rd, Claremont, Cape Town 7700, South Africa
+27 21 61-3768 GMT+0200
Finger mark@grumble.grondar.za for PGP key



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511231112.NAA17263>