Re: Out-of-tree configure (1.0 regression)

Lapo Luchini <[email protected]>
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
Stephen Leake wrote:
> Lapo Luchini <[email protected]> writes:
> 
>> Creating the Cygwin package, I noticed that 1.0 can't be compiled
>> out-of-tree: it doesn't find the files in the "po" directory.
>>
>> I can tell cygport to first do a recursive symlink of every single file
>> to simulate building in-tree, or is there an easier patch to Makefile to
>> solve the problem at the root? =)
> 
> I build the mtn 1.0 cygwin package [...]; no problems.

Uh? How's that possible?
You have noticed that even after the "compile" phase fails cygport
happily continues with the "install" phase, yes?

As in:

[...]
( sed -e '/^[@]generated-command-list[@]$/,$d' <
/home/Administrator/packages/monotone-1.0-1/src/monotone-1.0/extra/shell/monotone.bash_completion.in;
\
          MTN=./mtn.exe \
            perl
/home/Administrator/packages/monotone-1.0-1/src/monotone-1.0/extra/shell/monotone_gen_bash_completion_table.pl;
\
          sed -e '1,/^[@]generated-command-list[@]$/d' <
/home/Administrator/packages/monotone-1.0-1/src/monotone-1.0/extra/shell/monotone.bash_completion.in
) | \
          sed -e 's,[@]PACKAGE_VERSION[@],1.0,' -e
's,[@]sysconfdir[@],/etc,' > extra/shell/monotone.bash_completion
make[2]: Circular po/sv.gmo <- po/sv.gmo dependency dropped.
make[2]: Circular po/it.gmo <- po/it.gmo dependency dropped.
make[2]: Circular po/de.gmo <- po/de.gmo dependency dropped.
make[2]: Circular po/pt.gmo <- po/pt.gmo dependency dropped.
make[2]: Circular po/fr.gmo <- po/fr.gmo dependency dropped.
make[2]: Leaving directory
`/home/Administrator/packages/monotone-1.0-1/build'
make[1]: Leaving directory
`/home/Administrator/packages/monotone-1.0-1/build'
>>> Installing monotone-1.0-1
make  install-recursive
make[1]: Entering directory
`/home/Administrator/packages/monotone-1.0-1/build'
Making install in doc
make[2]: Entering directory
`/home/Administrator/packages/monotone-1.0-1/build/doc'
make[3]: Entering directory
`/home/Administrator/packages/monotone-1.0-1/build/doc'
make[3]: Nothing to be done for `install-exec-am'.
[...]

> So I can't reproduce your problem.

That's weird. I can reproduce it at will (and always goes away using
lndirs to link source in the build directory)

I'll try on a different hardware maybe, but Cygwin is not a platform
with many flavors it's usually very easy to have consistent results.

Can you cross-check these?

% cat monotone-1.0-1.cygport
DESCRIPTION="A free distributed version control system"
HOMEPAGE="http://monotone.ca/"
SRC_URI="http://monotone.ca/downloads/${PV}/${P}.tar.bz2"

CXXFLAGS+="-I/usr/include/boost-1_33_1/"
% cygcheck -cd cygwin make gettext
Cygwin Package Information
Package              Version
cygwin               1.7.9-1
gettext              0.17-11
make                 3.81-2
% gcc -v
Using built-in specs.
Target: i686-pc-cygwin
Configured with: /gnu/gcc/releases/respins/4.3.4-4/[...]
Thread model: posix
gcc version 4.3.4 20090804 (release) 1 (GCC)

-- 
Lapo Luchini - http://lapo.it/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.