Age | Commit message (Collapse) | Author | Files | Lines |
|
sh mk/bulk/do-chroot-build restart
|
|
|
|
Add paragraph "Setting up a sandbox for chroot'ed build" to
Packages.txt and xref it from do-sandbox-build script
|
|
OK'd by Dan McMahill
|
|
The primary purpose is so when a package is broken due to broken depends,
there are links to the build logs of the broken dependencies.
Suggested by Brook Milligan on tech-pkg.
|
|
When OBJHOSTNAME is set, the various cache files and log files will include
the hostname in their names. Useful when multiple machines of the same
architecture share pkgsrc.
|
|
the cache files used during a bulk pkgsrc build.
- replace the code in the build script that used to create the cache
files with a 'make bulk-cache' call.
|
|
may not be 100% accurate.
|
|
references of the pkglint package.
_PKGSRCDIR is an internal definition in bsd.pkg.mk, and a few packages
which would like to refer to other packages in the build tree. It should
not be set by users, but neither should it stop a user from building a
package if it is defined, so make it obvious that this is the case.
|
|
|
|
error.
|
|
|
|
to prevent it sitting there for days waiting for input in useless
situations.
|
|
Hubert Feyrer.
|
|
Makes the output a bit long at times but gives a nice concise idea of where
you're at and if the build is moving
|
|
whitespeace, followed by it's required pkgs. Make sure to look for that
whitespace, to not catch any wrong positives, e.g.
egrep "x11/kdebase.*" $DEPENDSFILE
will catch depends for both KDE1 and KDE2 and do weird things then (among
other things, think that kdelibs-2.2.1 is ok as a dependency when building
in x11/kdebase, which is certainly not!)
Eight broken pkgs less in the bulk builds by adding a single space!
(Now if adding some more would help further... :-)
|
|
no need to make "bulk-package" or "clean" after it!
|
|
matches one of the DEPENDS, the bulk-build system looked up the
package in the INDEXFILE, then used the pkgdir returned to check
against the DEPENDS. If for some reason the package was not found
in the index file the package was left installed as 'requires
installed package'.
|
|
GROUP_SPECIFIC_PKGS into a top pkgsrc level call to make. The new way,
uses a shell 'for pkgdir in ....' and then calls a make in each pkg
directory.
This does 2 things. The first thing is that a 'build restart' starts
up _much_ faster because instead of calling 'make' for each package we've
already built and finding out they're already build, we just grep through
the list of already built pkgs. The second item (a side benefit) is that
now a progress meter is simple.
- add a progress meter to the build.
- add even more error checking.
|
|
|
|
the (colored) numbers stand out better, visually.
|
|
This gives this a bit of a chance to fit into 80 columns.
|
|
from the leftovers list - "perl-base" is long gone.
|
|
|
|
- if something fails while extracting the DEPENDS for a particular package,
mark that package as broken and drop the DEPENDS info for it. This allows
the build to continue and properly marks the package as broken.
- if something fails while extracting the PKGNAME, also mark the pkg as broken.
- be more careful about seeing if directories exist before cd'ing to them.
Lack of such a test has caused problems elsewhere, so hopefully this will
make the system more robust.
|
|
latter no longer exists.
Also, use '&&' to separate commands where you don't want the second to
execute if the first fails!
|
|
|
|
even has a file system called /usr or that thats the right one.
|
|
to remove it, then try again with 'pkg_delete -r'. This can happen when
some other out date pacakges are installed and we're trying to bulk build
a single package.
|
|
exist, then spit out a big warning to stderr (since we often capture stdout
for other purposes) and don't try and descend to that directory.
|
|
|
|
directory too.
|
|
them in the right place. For example, a collection of binary packages can
now put uploaded with most going to the major.minor directory and the
OSVERSION_SPECIFIC ones going to the major.minor.patch directory.
still todo: the destination settings should probably be moved out of
build.conf so the same build.conf can be used by multiple machines of
different MACHINE_ARCH's at the same time. Perhaps these should be
a command line option to 'upload' instead.
|
|
|
|
|
|
* remove twice-mentioned resolv.conf
|
|
Nothing fancy, probably needs adjusting to other people's environments.
XXX the list of things that need to be setup in the sandbox should
XXX probably be moved to Packages.txt...
|
|
|
|
then start preparing the bulk build (cvs update, distfile cleanout, ...)
|
|
side effecs
|
|
rebuilt from sources.
|
|
This should fix pkg/12808. Adding the PRECLEAN as a fix was suggested
by Hubert.
Also, while here don't hardcode LOCALBASE and X11BASE.
|
|
|
|
- use the PKGPATH variable instead of getting it indirectly
- don't use `foo` when we only want the return value, not the output.
Also, in the non-cache case, we need to remove un-needed packages as noted
in the most recent non-cached bulk build.
Patches provided by Hubert and slightly modified by me.
|
|
it doesn't exist (doh!).
|
|
then run it at the end of pre-build. This lets users do things like:
echo "I do not have enough disk space to build this pig." \
> games/crafty-book-enormous/$BROKENF
|
|
|
|
printindex works now.
|
|
|
|
even if they are not enabled in the category makefiles. This catches,
in particular, pkgtools/xpkgwedge which was missing before.
Thanks to Christoph Badura for noting this.
|