[fpc-devel] make deb fails on trunk
Rob van der Linde
robvdl at paradise.net.nz
Sun Jan 7 11:21:02 CET 2007
Sorry, I think I sent from the wrong email address before, you may get
this message twice, sorry....
Hi, I tried building the trunk today on Ubuntu Linux 32 bit, using these
instructions:
http://www.freepascal.org/wiki/index.php/Release_engineering
I followed the OS specific section for Linux, got the trunk via svn,
made sure there were no libiberty.a, libopcode.a and libbfd.a files on
my system, downloaded the latest libgdb and extracted
into /fpcbuild/fpcsrc as directed, downloaded doc-pdf.tar.gz and placed
it in /fpsbuild (by the way, I think there's a spelling mistake on the
above page, it says "docs-pdf.tar.gz" but the file on the FTP is called
"doc-pdf.tar.gz" without the "s"), anyway.. I ran:
install/makepack
everything's OK so far, I then ran:
make deb NODOCS=1
This actually goes through ok for quite some time, then fails here:
/usr/bin/make -C fpcres exampleinstall
make[4]: Entering directory
`/home/rob/fpcbuild/build/fpc-2.1.1/utils/fpcres'
make[4]: Nothing to be done for `exampleinstall'.
make[4]: Leaving directory
`/home/rob/fpcbuild/build/fpc-2.1.1/utils/fpcres'
make[3]: Leaving directory `/home/rob/fpcbuild/build/fpc-2.1.1/utils'
make[2]: Leaving directory `/home/rob/fpcbuild/build/fpc-2.1.1'
bash
debian/moveexamples /home/rob/fpcbuild/build/fpc-2.1.1/debian/tmp/usr/share/doc/fpc-2.1.1 /home/rob/fpcbuild/build/fpc-2.1.1/debian/tmp/usr/share/doc
Moving examples of fcl
Moving examples of fv
Moving examples of gtk
Moving examples of gtk2
Moving examples of zvt
Moving examples of gconf
Moving examples of paszlib
Moving examples of pasjpeg
Moving examples of regexpr
Moving examples of ncurses
Moving examples of hash
Moving examples of uuid
Moving examples of forms
Moving examples of ggi
Moving examples of libgd
Moving examples of svgalib
Moving examples of opengl
Moving examples of ibase
Moving examples of mysql
Moving examples of oracle
Moving examples of postgres
Moving examples of gdbm
Moving examples of odbc
Moving examples of gdbint
Moving examples of utmp
Moving examples of syslog
Moving examples of cdrom
Moving examples of tcl
Moving examples of newt
Moving examples of netdb
rmdir: /home/rob/fpcbuild/build/fpc-2.1.1/debian/tmp/usr/share/doc/fpc-2.1.1: Directory not empty
make[1]: *** [install-arch-stamp] Error 1
make[1]: Leaving directory `/home/rob/fpcbuild/build/fpc-2.1.1'
make: *** [debbuild] Error 2
It appears it is trying to delete a directory, where there are still sub
directories inside:
"/home/rob/fpcbuild/build/fpc-2.1.1/debian/tmp/usr/share/doc/fpc-2.1.1"
contains 3 folders, at the time it is trying to delete it: "dbus",
"libcurl", and "openal", this is why the "rmdir" command fails... I
think.
Is this a bug in one of the makefiles?
More information about the fpc-devel
mailing list