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

Re: Build on arm failed due permissions



18.11.2004 о 01:17 -0500 Rudy Godoy написав(-ла):
> I've checked the latest log, actually the first one, since this
> package just hited unstable. And for arm[0] it has failed due the
> following error:
> 
> dh_testdir
> # Add here commands to compile the package.
> /usr/bin/make
> make[1]: Entering directory `/build/buildd/torcs-1.2.2'
> /bin/sh: /home/buildd/.torcs.rc: Permission denied
> make[1]: *** [restart] Error 1
> make[1]: Leaving directory `/build/buildd/torcs-1.2.2'
> make: *** [build-stamp] Error 2
> 
> Now, I can't figure out what's the cause of the permission issue. I
> wonder if its something reladted buildd scripts or my package's fault,
> which I found unlikely since it has build well on other arches.
> 
> 0-
> http://buildd.debian.org/fetch.php?&pkg=torcs&ver=1.2.2-5&arch=arm&stamp=1100596609&file=log&as=raw
> 
> So, can someone point me out where to look for information on such
> issues?

Makefile for torcs contsins:

TORCS_RC = ${HOME}/.torcs.rc

-include Make-config

restart:
        @echo "TORCS_BASE = ${TORCS_BASE}" > ${TORCS_RC}
        @echo "MAKE_DEFAULT = ${MAKE_DEFAULT}" >> ${TORCS_RC}
        ${MAKE} TORCS_BASE=${TORCS_BASE} MAKE_DEFAULT=${MAKE_DEFAULT}


As you can see it writes to file in ${HOME} and it also uses it for
build-time (!) configuration(in Makefile-config). This should be fixed.

Regards,
-- 
Eugeniy Meshcheryakov

Kyiv National Taras Shevchenko University
Information and Computing Centre
http://icc.univ.kiev.ua

Attachment: signature.asc
Description: Digital signature


Reply to: