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

Stephen Leake <[email protected]>
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
Lapo Luchini <[email protected]> writes:

> 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?

I did not notice that; that is a severe error in cygport.

Is there an easy way to safely test the resulting cygwin package? I
found a way by manually editing setup.ini to point to a local repository
directory, but that seems dangerous.

I could just untar the resulting monotone-1.0-1.tar.bz2, but that also
seems dangerous, since the cygwin installer won't know how to uninstall
it.

> 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.

This is a warning, not an error. Since the files are present, the rest of
the compilation succeeds.

At the same time, I don't get this warning. I'm using
monotone-1.0-1-src.tar.bz2 from http://www.monotone.ca/downloads.php,
repackaged into monotone-1.0.tar.gz

Attached is the complete log of 'cygport monotone-1.0-1 all'

> 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'.
> [...]

Unless the last line output from make says "error", it succeeded. For
example:

make -r one
gnatmake -p -k -C -Pgnat.gpr  c_math 
gcc -c -gnat05 -gnatwa -I- -gnatA C:\Stephe\Ada_Work\c_math.adb
c_math.adb:1:01: compilation unit expected
c_math.adb:2:01: misplaced "with"
gnatmake: "c:\stephe\ada_work\c_math.adb" compilation error
make: *** [c_math.exe] Error 4

> Can you cross-check these?

Note that I'm using nvm/cygwin/*

> % 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.gz"

# cygport adds -g -O2
CXXFLAGS+="-I/usr/include/boost-1_33_1/"


same, except for the comment about -g -O2

> % cygcheck -cd cygwin make gettext
> Cygwin Package Information
> Package              Version
> cygwin               1.7.9-1
> gettext              0.17-11
> make                 3.81-2

Cygwin Package Information
Package              Version
cygwin               1.7.8-1
gettext              0.17-11
make                 3.81-2

Looks like I'm behind on cygwin dll.

> % 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)

same.

-- 
-- Stephe

_______________________________________________
Monotone-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/monotone-devel
cygport-mtn.log (application/octet-stream, 107.1 KB) - not displayed
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.