Bug#345611: openoffice.org: [64bit] Making OpenOffice src compile
On 1/4/06, Emmanuel Fleury <emmanuel.fleury@labri.fr> wrote:
> It worked really fine. I've never been so far in the building process !
>
> Here is the next problem I got a missing file (debian/scripts/vars.amd64):
If you take a closer look, you will see that there's no such file for
any other arch.
I guess the code that expects the file should be updated.
> # generate maintainer scripts from *.in
> # or generate default script which calls hook in
> openoffice.org-debian-files package
> for PKG in `dh_listpackages`; do \
> for FILE in postinst postrm preinst prerm; do \
> MAINTSCRIPT=debian/$PKG.$FILE ; \
> if [ -e $MAINTSCRIPT.in ]; then \
> sed -n '1,/^#INCLUDE_SHELL_LIB#$/p' < $MAINTSCRIPT.in |
> sed -e '/^#INCLUDE_SHELL_LIB#$/d' > $MAINTSCRIPT; \
> grep LIBSUFFIX debian/scripts/vars.amd64 >> $MAINTSCRIPT; \
> cat debian/shell-lib.sh >> $MAINTSCRIPT; \
> sed -n '/^#INCLUDE_SHELL_LIB#$/,$p' < $MAINTSCRIPT.in |
> sed -e '/^#INCLUDE_SHELL_LIB#$/d' >> $MAINTSCRIPT; \
> else \
> echo '#!/bin/sh' > $MAINTSCRIPT ; \
> echo THIS_PACKAGE=$PKG >> $MAINTSCRIPT ;\
> echo THIS_SCRIPT=$FILE >> $MAINTSCRIPT ;\
> cat debian/shell-lib.sh >> $MAINTSCRIPT; \
> fi; \
> done; \
> done
> grep: debian/scripts/vars.amd64: No such file or directory
> grep: debian/scripts/vars.amd64: No such file or directory
> grep: debian/scripts/vars.amd64: No such file or directory
> grep: debian/scripts/vars.amd64: No such file or directory
> grep: debian/scripts/vars.amd64: No such file or directory
> grep: debian/scripts/vars.amd64: No such file or directory
> grep: debian/scripts/vars.amd64: No such file or directory
> touch debian/stampdir/maintscripts
> /usr/bin/make -f debian/rules DH_OPTIONS="-Npython-uno
> -Nopenoffice.org-gcj -Nopenoffice.org-hunspell
> -Nopenoffice.org-filter-so52 -s" binary-common
> make[1]: Entering directory
> `/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2'
> dh_testdir
> dh_testdir: I have no package to build
> make[1]: *** [binary-common] Error 1
> make[1]: Leaving directory
> `/home/fleury/devel/projects/openoffice/openoffice.org-2.0.1-2'
> make: *** [debian/stampdir/binary-arch] Error 2
Did you set BUILD_AMD64 to y somewhere in debian/rules? If not, do that
and run debian/rules control. </uneducated-guess>
HTH,
Martin
Reply to: