[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pbuilder -- chroot and build-dependencies.




Alexander:

You don't show the initial commands that you use to start the build. I usually sit in a directory where there are the *.dsc, the *.orig.tar.gz and the *.diff.gz files. Then I invoke:

pbuilder build fityk_0.5.1-1.dsc

That starts by unpacking the chroot, then moving the source to the chrooted einvironment ant then chrooting, installing the build deps and THEN building the package. I never see the problem of running a make clean before the build deps are installed.

Carlo

On Thu, 1 Sep 2005, Alexander A. Vlasov wrote:

Ok, quick example:
building mldonkey-2.5.28

<skipped>
/usr/bin/make -f Makefile.options clean
make[2]: Entering directory
`/home/zulu/src/mldonkey-2.5.28/debian/utils'
Makefile.options:185: .depend.options: No such file or directory
ocamlyacc parse_options.mly
make[2]: ocamlyacc: Command not found
make[2]: *** [parse_options.ml] Error 127
make[2]: Leaving directory `/home/zulu/src/mldonkey-2.5.28/debian/utils'
make[1]: *** [clean] Error 2
make[1]: Leaving directory `/home/zulu/src/mldonkey-2.5.28/debian/utils'
make: *** [clean] Error 2

As you can see, make clean requires ocaml. But pbuilder invokes `make
clean' before doing chroot (even before unpacking chroot)

--
Carlo U. Segre -- Professor of Physics
Associate Dean for Special Projects, Graduate College
Illinois Institute of Technology
Voice: 312.567.3498            Fax: 312.567.3494
Carlo.Segre@iit.edu    http://www.iit.edu/~segre



Reply to: