On Fri, 2010-11-19 at 12:49 +0100, Felipe Monteiro de Carvalho wrote: > Now it builds the docs, but then it fails to build the RPM =( > > Processing files: fpc-2.4.2-1 > Finding Provides: /usr/lib/rpm/mandriva/filter.sh ' ' ' ' > '/home/felipe/Programas/fpcbuild/build/rpm/BUILDROOT/fpc-2.4.2-1.i386' > /usr/lib/rpm/mandriva/find-provides > Finding Requires: /usr/lib/rpm/mandriva/filter.sh ' ' ' ' > '/home/felipe/Programas/fpcbuild/build/rpm/BUILDROOT/fpc-2.4.2-1.i386' > /usr/lib/rpm/mandriva/find-requires > /home/felipe/Programas/fpcbuild/build/rpm/BUILDROOT/fpc-2.4.2-1.i386 > i586 > Requires(interp): /bin/sh > Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 > rpmlib(CompressedFileNames) <= 3.0.4-1 > Requires(post): /bin/sh > Requires: bash libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) > libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) > libc.so.6(GLIBC_2.3.4) libdl.so.2 libdl.so.2(GLIBC_2.0) > libdl.so.2(GLIBC_2.1) libm.so.6 libm.so.6(GLIBC_2.0) libncurses.so.5 > Processing files: fpc-debug-2.4.2-1 > Processing files: fpc-docs-2.4.2-1 > error: File not found: > /home/felipe/Programas/fpcbuild/build/rpm/BUILDROOT/fpc-2.4.2-1.i386/usr/share/doc/fpc-2.4.2/examples > error: File not found by glob: > /home/felipe/Programas/fpcbuild/build/rpm/BUILDROOT/fpc-2.4.2-1.i386/usr/share/doc/fpc-2.4.2/examples/* > > > RPM build errors: > File not found: > /home/felipe/Programas/fpcbuild/build/rpm/BUILDROOT/fpc-2.4.2-1.i386/usr/share/doc/fpc-2.4.2/examples > File not found by glob: > /home/felipe/Programas/fpcbuild/build/rpm/BUILDROOT/fpc-2.4.2-1.i386/usr/share/doc/fpc-2.4.2/examples/* > > I am thinking about giving up the docs and uploading only the basic > RPM. The docs are in a separate RPM from what I understood and they > should be compatible across distros.
Yes, I know. Issue is that this is actually your fault. ;) I've tried to fix the building of an rpm with NODOC=1, which you used before. But at the same time I broke the building of the rpm with the docs... I need someone with more bash/makefile/unix-scripting knowledge then me to fix this. Issue is this: I use "if [ -z ${NODOCS} ]; then" to detect if NODOCS=1 is specified. But now I also need the opposite. I tried this: "if [! -z ${NODOCS} ]; then" but that does not work. Also replacing -z with -n didn't do the trick. Anybody knows? (It's in install/fpc.spec) Joost _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel