Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2010 12:23:05 +0400
From:      Anonymous <swell.k@gmail.com>
To:        ashish@FreeBSD.org (Ashish SHUKLA)
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/editors/emacs-devel Makefile distinfo pkg-plist ports/editors/emacs-devel/files patch-Makefile.in patch-configure patch-src-image.c
Message-ID:  <86bp9qpuhi.fsf@gmail.com>
References:  <201007281223.o6SCN2wZ043075@repoman.freebsd.org> <86sk33w8ck.fsf@gmail.com> <8739v24yop.fsf@monte-cristo.france>

next in thread | previous in thread | raw e-mail | index | archive | help
ashish@FreeBSD.org (Ashish SHUKLA) writes:

>>> +.if ${OSVERSION} > 900000
>>> +PLIST_SUB+=	9X=""
>>> +.else
>>> +PLIST_SUB+=	9X="@comment "
>>> .endif
>> [...]
>>> +%%9X%%%%DATADIR%%/%%EMACS_VER%%/etc/DOC-%%EMACS_VER%%.2
>
>> I don't have such a file on
>
>>   $ uname -vm
>>   FreeBSD 9.0-CURRENT #0 r210488=f584a68-dirty: Mon Jul 26 04:27:58 UTC 2010     holo@raphael.local:/a/objdir/a/dirty_build/sys/PHOENIX  amd64
>
>> I guess the transient file sometimes appear when you re-start broken
>> build rather than using `make clean && make all'.
>
> No it gets created during regular build. For details, check out the following
> build log on 9.0 (amd64):
>
> http://people.freebsd.org/~ashish/logs/emacs-24.0.50.100884%2c1.log

Ah, your tinderbox uses default options. OTOH, I'm using same as emacs-nox11.

> Dumping under the name emacs
> 2237645 pure bytes used
> Adding name emacs-24.0.50.1
[...]
> Dumping under the name emacs
> 2237645 pure bytes used
> Adding name emacs-24.0.50.2

It dumps twice and compiles twice (`cc -o temacs...').

> unset CDPATH; \
> 	if [ `(cd ./etc; /bin/pwd)` != `(cd /usr/local/share/emacs/24.0.50/etc; /bin/pwd)` ]; \
> 	then \
> 	   fullversion=`./src/emacs --version | sed -n '1 s/GNU Emacs *//p'`; \

I guess you have 24.0.50.2 for emacs-version. The last digit refers
to build number. Can you figure out when and where build number is added?
Perhaps, we can force it to not increment/rebuild.

> 	   if [ -f "./etc/DOC-${fullversion}" ]; \
> 	   then \
> 	     docfile="DOC-${fullversion}"; \
> 	   else \
> 	     docfile="DOC"; \
> 	   fi; \
> 	   echo "Copying etc/${docfile} to /usr/local/share/emacs/24.0.50/etc ..." ; \
> 	   (cd ./etc; tar -chf - ${docfile}) \
> 	     |(cd /usr/local/share/emacs/24.0.50/etc; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \
> 	   (cd /usr/local/share/emacs/24.0.50/etc; \
> 	    for installuser in ${LOGNAME} ${USERNAME} ${USER} `id -un 2> /dev/null`; do [ -n "${installuser}" ] && break ; done; \
> 	    chown ${installuser} DOC*; chmod a+r DOC*; \
> 	    if test "`echo DOC-*`" != "DOC-*"; then rm -f DOC; fi); \
> 	else true; fi
> Copying etc/DOC-24.0.50.2 to /usr/local/share/emacs/24.0.50/etc ...
> x DOC-24.0.50.2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86bp9qpuhi.fsf>