Details Ticket 2545


Comment | Reply | Take | Open


Serial Number 2545
Subject vect32 fails to build
Area bug
Queue grass
Requestors kyngchaos@charter.net
Owner none
Status resolved
Last User Contact Thu Jul 22 20:39:11 2004 (4 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Wed Aug 11 15:50:22 2004 (4 yr ago)
Created Sun Jul 18 21:07:46 2004 (4 yr ago)

Transaction History Ticket 2545


Sun, Jul 18 2004 21:07:46    Request created by guest  
Subject: vect32 fails to build

Platform: other
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources

Looks like some changes in the makefiles in libes/vect32 are causing problems.
I get this error:

GISGEN: src/libes/vect32 - Sat Jul 17 21:49:19 CDT 2004

#################################################################
/Users/williamk/Documents/src/unix/GRASS/grass53_exp_2004_07_17/src/libes/vect32
mkdir OBJ.powerpc-apple-darwin7.4.0
  make -f OBJ.powerpc-apple-darwin7.4.0/make.rules

mkdir -p /Users/williamk/Documents/src/unix/GRASS/grass53_exp_2004_07_17/src/libes/vect32/
Vlib
mkdir -p /Users/williamk/Documents/src/unix/GRASS/grass53_exp_2004_07_17/src/libes/vect32/
diglib
make[1]: *** No rule to make target `Vlib/OBJ.powerpc-apple-darwin7.4.0/close.o',
needed by `/
Users/williamk/Documents/src/unix/GRASS/grass53_exp_2004_07_17/src/libes/LIB.powerpc-
apple-darwin7.4.0/libvect_combined.a'.  Stop.
GISGEN failure at STEP: src/libes/vect32

and then a bunch of other vector stuff fails later on.  I guess the snapshot
caught the CVS tree in a 
not-quite-working state.
Sun, Jul 18 2004 21:35:13    Mail sent by paul-grass@stjohnspoint.co.uk  
Return-Path <paul-grass@stjohnspoint.co.uk>
Delivered-To grass-bugs@lists.intevation.de
Date Sun, 18 Jul 2004 20:35:10 +0100 (BST)
From Paul Kelly <paul-grass@stjohnspoint.co.uk>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2545] (grass) vect32 fails to build
In-Reply-To <20040718190747.5B16A139FE@lists.intevation.de>
Message-ID <Pine.LNX.4.60.0407182032380.28131@agrippa.ukshells.co.uk>
References <20040718190747.5B16A139FE@lists.intevation.de>
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Sun, 18 Jul 2004, Request Tracker wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=2545
> -------------------------------------------------------------------------
>
> Subject: vect32 fails to build
>
> Platform: other
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
>
> Looks like some changes in the makefiles in libes/vect32 are causing problems.
I get this error:
>
> GISGEN: src/libes/vect32 - Sat Jul 17 21:49:19 CDT 2004
>
> #################################################################
> /Users/williamk/Documents/src/unix/GRASS/grass53_exp_2004_07_17/src/libes/vect32
>  mkdir OBJ.powerpc-apple-darwin7.4.0
>  make -f OBJ.powerpc-apple-darwin7.4.0/make.rules
>
> mkdir -p /Users/williamk/Documents/src/unix/GRASS/grass53_exp_2004_07_17/src/libes/vect32/
> Vlib
> mkdir -p /Users/williamk/Documents/src/unix/GRASS/grass53_exp_2004_07_17/src/libes/vect32/
> diglib
> make[1]: *** No rule to make target `Vlib/OBJ.powerpc-apple-darwin7.4.0/close.o',
needed by `/
> Users/williamk/Documents/src/unix/GRASS/grass53_exp_2004_07_17/src/libes/LIB.powerpc-
> apple-darwin7.4.0/libvect_combined.a'.  Stop.
> GISGEN failure at STEP: src/libes/vect32
>
> and then a bunch of other vector stuff fails later on.  I guess the snapshot
caught the CVS tree in a
> not-quite-working state.
>

Oh dear- I didn't test the new changes with the old gmake build system. I 
will have a look at it later. Can you use the alternate build system with 
static libraries:
./configure --enable-gmake=no --enable-shared=no
as a workaround?

Paul


Sun, Jul 18 2004 22:48:00    Mail sent by kyngchaos@charter.net  
Return-Path <kyngchaos@charter.net>
Delivered-To grass-bugs@lists.intevation.de
X-Ironport-AV i="3.81R,176,1083556800"; d="scan'208?p7s'208"; a="56782391:sNHT17166584"
Mime-Version 1.0 (Apple Message framework v618)
In-Reply-To <20040718193513.037A1139FE@lists.intevation.de>
References <20040718193513.037A1139FE@lists.intevation.de>
Content-Type multipart/signed; micalg=sha1; boundary=Apple-Mail-3-207314483; protocol="application/pkcs7-signature"
Message-Id <B7E8478B-D8FB-11D8-B261-000A95DB713E@charter.net>
From William Kyngesburye <kyngchaos@charter.net>
Subject Re: [bug #2545] (grass) vect32 fails to build
Date Sun, 18 Jul 2004 15:47:43 -0500
To Paul Kelly via RT <grass-bugs@intevation.de>
X-Mailer Apple Mail (2.618)
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
--Apple-Mail-3-207314483
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

Ack!  doesn't get past man2cat:

man  
/Users/williamk/Documents/src/unix/GRASS/grassalt/dist.powerpc-apple- 
darwin7.4.0/man/man1/ascii_formats.1 >  
/Users/williamk/Documents/src/unix/GRASS/grassalt/dist.powerpc-apple- 
darwin7.4.0/man/cat1/ascii_formats.1
No manual entry for  
/Users/williamk/Documents/src/unix/GRASS/grassalt/dist.powerpc-apple- 
darwin7.4.0/man/man1/ascii_formats.1
make[1]: ***  
[/Users/williamk/Documents/src/unix/GRASS/grassalt/dist.powerpc-apple- 
darwin7.4.0/man/cat1/ascii_formats.1] Error 1


I recall running into something similar before with some other software  
- maybe a Mac thing, but my man doesn't understand a direct reference  
to a manpage file.  It needs a -M path option to point to the top man  
dir (ie $GISBASE/man) and specifying the manpage without the section  
extension.  My makefile knowledge is pretty simple, so I'm not sure  
what exactly I can do to Makefile.docs to fix it.


On Jul 18, 2004, at 2:35 PM, Paul Kelly via RT wrote:

> On Sun, 18 Jul 2004, Request Tracker wrote:
>
>> this bug's URL: http://intevation.de/rt/webrt?serial_num=2545
>> ---------------------------------------------------------------------- 
>> ---
>>
>> Subject: vect32 fails to build
>>
>> Platform: other
>> grass obtained from: Trento Italy site
>> grass binary for platform: Compiled from Sources
>>
>> Looks like some changes in the makefiles in libes/vect32 are causing  
>> problems.  I get this error:
>>
>> GISGEN: src/libes/vect32 - Sat Jul 17 21:49:19 CDT 2004
>>
>> #################################################################
>> /Users/williamk/Documents/src/unix/GRASS/grass53_exp_2004_07_17/src/ 
>> libes/vect32
>>  mkdir OBJ.powerpc-apple-darwin7.4.0
>>  make -f OBJ.powerpc-apple-darwin7.4.0/make.rules
>>
>> mkdir -p  
>> /Users/williamk/Documents/src/unix/GRASS/grass53_exp_2004_07_17/src/ 
>> libes/vect32/
>> Vlib
>> mkdir -p  
>> /Users/williamk/Documents/src/unix/GRASS/grass53_exp_2004_07_17/src/ 
>> libes/vect32/
>> diglib
>> make[1]: *** No rule to make target  
>> `Vlib/OBJ.powerpc-apple-darwin7.4.0/close.o', needed by `/
>> Users/williamk/Documents/src/unix/GRASS/grass53_exp_2004_07_17/src/ 
>> libes/LIB.powerpc-
>> apple-darwin7.4.0/libvect_combined.a'.  Stop.
>> GISGEN failure at STEP: src/libes/vect32
>>
>> and then a bunch of other vector stuff fails later on.  I guess the  
>> snapshot caught the CVS tree in a
>> not-quite-working state.
>>
>
> Oh dear- I didn't test the new changes with the old gmake build  
> system. I
> will have a look at it later. Can you use the alternate build system  
> with
> static libraries:
> ./configure --enable-gmake=no --enable-shared=no
> as a workaround?
>
> Paul
>

-----
William Kyngesburye <kyngchaos@charter.net>
http://webpages.charter.net/kyngchaos/

Theory of the Universe

There is a theory which states that if ever anyone discovers exactly  
what the universe is for and why it is here, it will instantly  
disappear and be replaced by something even more bizarrely  
inexplicable.  There is another theory which states that this has  
already happened.

-Hitchhiker's Guide to the Galaxy 2nd season intro

--Apple-Mail-3-207314483
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Disposition: attachment;
	filename=smime.p7s

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAG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VydCBTaWduaW5nIEF1dGhvcml0eTEhMB8GCSqGSIb3DQEJARYSc3Vw
cG9ydEBjYWNlcnQub3JnAgMAka4wgZMGCyqGSIb3DQEJEAILMYGDoIGAMHkxEDAOBgNVBAoTB1Jv
b3QgQ0ExHjAcBgNVBAsTFWh0dHA6Ly93d3cuY2FjZXJ0Lm9yZzEiMCAGA1UEAxMZQ0EgQ2VydCBT
aWduaW5nIEF1dGhvcml0eTEhMB8GCSqGSIb3DQEJARYSc3VwcG9ydEBjYWNlcnQub3JnAgMAka4w
DQYJKoZIhvcNAQEBBQAEggEAvA3T5iUnGZOc8mysJgn6RoLbl1YXpnzDp+9fXba0ivViJxhjFKo1
v7PtSIgKb8UlVpvzUh7Rq/YMsog+5wIWB6DgzTnNisAJCzfJNPvIIw9hIrekTkNtVSpMx7UU7yEJ
VZl+/bVHijbisrzZ09CKEDiIV8BOreJ7ry60kNL5mBs2NoKqapZ9jRck6YC/ETuK65118PiQJ6IS
j4Pj2TYmGdIRD92vvZ8jDEbkSBvI4nhLyUnluTBQuEsXlYHl3YfobzLV03DBeEsJzOjHU199iDdb
E8x3pe2HMzacJuWvS+ZmhALxgYmze4tntGINRVdbXCmas2ujLuX7a8rGU06MHwAAAAAAAA==

--Apple-Mail-3-207314483--


Mon, Jul 19 2004 16:18:11    Mail sent by kyngchaos@charter.net  
Return-Path <kyngchaos@charter.net>
Delivered-To grass-bugs@lists.intevation.de
X-Ironport-AV i="3.81R,178,1083556800"; d="scan'208"; a="127418289:sNHT13002336"
Mime-Version 1.0 (Apple Message framework v618)
In-Reply-To <20040718193513.037A1139FE@lists.intevation.de>
References <20040718193513.037A1139FE@lists.intevation.de>
Content-Type text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id <679875BA-D98E-11D8-96E5-000A95DB713E@charter.net>
Content-Transfer-Encoding 7bit
From William Kyngesburye <kyngchaos@charter.net>
Subject Re: [bug #2545] (grass) vect32 fails to build
Date Mon, 19 Jul 2004 09:17:45 -0500
To Paul Kelly via RT <grass-bugs@intevation.de>
X-Mailer Apple Mail (2.618)
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
OK, that worked, mostly.  Everything but r.terraflow builds:

make[1]: *** No rule to make target  
`/Users/williamk/Documents/src/unix/GRASS/grassalt/src.contrib/DUKE/ 
r.terraflow/FLOAT/main.o', needed by  
`/Users/williamk/Documents/src/unix/GRASS/grassalt/dist.powerpc-apple- 
darwin7.4.0/etc/bin/cmd/r.terraflow'.  Stop.


no big deal, since I'd probably use that in 5.7 anyways if I ever  
needed it.


On Jul 18, 2004, at 2:35 PM, Paul Kelly via RT wrote:

> Oh dear- I didn't test the new changes with the old gmake build  
> system. I
> will have a look at it later. Can you use the alternate build system  
> with
> static libraries:
> ./configure --enable-gmake=no --enable-shared=no
> as a workaround?
>
> Paul
>

-----
William Kyngesburye <kyngchaos@charter.net>
http://webpages.charter.net/kyngchaos/

"History is an illusion caused by the passage of time, and time is an  
illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy


Wed, Jul 21 2004 00:05:45    Mail sent by paul-grass@stjohnspoint.co.uk  
Return-Path <paul-grass@stjohnspoint.co.uk>
Delivered-To grass-bugs@lists.intevation.de
Date Tue, 20 Jul 2004 23:05:32 +0100 (BST)
From Paul Kelly <paul-grass@stjohnspoint.co.uk>
To grass-bugs@intevation.de
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2545] (grass) vect32 fails to build
In-Reply-To <Pine.LNX.4.60.0407182032380.28131@agrippa.ukshells.co.uk>
Message-ID <Pine.LNX.4.60.0407202140240.7530@agrippa.ukshells.co.uk>
References <20040718190747.5B16A139FE@lists.intevation.de> <Pine.LNX.4.60.0407182032380.28131@agrippa.ukshells.co.uk>
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Sun, 18 Jul 2004, Paul Kelly wrote:

> On Sun, 18 Jul 2004, Request Tracker wrote:
>
>> this bug's URL: http://intevation.de/rt/webrt?serial_num=2545
>> -------------------------------------------------------------------------
>> 
>> Subject: vect32 fails to build
>> 
>> Platform: other
>> grass obtained from: Trento Italy site
>> grass binary for platform: Compiled from Sources
>> 
>> Looks like some changes in the makefiles in libes/vect32 are causing 
>> problems.  I get this error:
>> 
>> GISGEN: src/libes/vect32 - Sat Jul 17 21:49:19 CDT 2004
>> 
>> make[1]: *** No rule to make target 
>> `Vlib/OBJ.powerpc-apple-darwin7.4.0/close.o', needed by `/
>> Users/williamk/Documents/src/unix/GRASS/grass53_exp_2004_07_17/src/libes/LIB.powerpc-
>> apple-darwin7.4.0/libvect_combined.a'.  Stop.
>> GISGEN failure at STEP: src/libes/vect32
>> 
>> and then a bunch of other vector stuff fails later on.  I guess the 
>> snapshot caught the CVS tree in a
>> not-quite-working state.
>> 
>
> Oh dear- I didn't test the new changes with the old gmake build system. I 
> will have a look at it later. Can you use the alternate build system with 
> static libraries:
> ./configure --enable-gmake=no --enable-shared=no
> as a workaround?
>

The patch below shows how I propose to fix this. I think src/CMD/gmake.sh 
should be changed so that $(OBJARCH) is preprended at the beginning of a 
path leading to a .o file rather than immediately preceding the filename.
i.e. Vlib/open.o becomes $(OBJARCH)/Vlib/open.o rather than 
Vlib/$(OBJARCH)/open.o as at present.

This should fix things for both the alternate and gmake systems.
It will also cause problems for badly written or non-standard Gmakefiles. 
The only one I came across is for r3.null and I will fix that by building 
r3.null and r3.mask from the same directory (cf. r.mapcalc and r3.mapcalc 
are built from the same directory).

But there might also be problems with non-standard Gmakefiles in add-on 
modules people have written themselves I suppose. But probably not very 
likely. So I just wanted to post this here for a while for comments before 
committing the changes.

The r.terraflow Gmakefile also needs fixed so it will work with both build 
systems. It has a related but different problem with using 
sub-directories.

Index: src/libes/vect32/Gmakefile
===================================================================
RCS file: /grassrepository/grass/src/libes/vect32/Gmakefile,v
retrieving revision 1.4
diff -u -r1.4 Gmakefile
--- src/libes/vect32/Gmakefile	15 Jul 2004 21:47:03 -0000	1.4
+++ src/libes/vect32/Gmakefile	20 Jul 2004 20:38:19 -0000
@@ -64,5 +64,5 @@
  	$(SLIBRULE)

  mkextradirs:
-	mkdir -p $(DSTDIR)/src/libes/vect32/Vlib
-	mkdir -p $(DSTDIR)/src/libes/vect32/diglib
+	mkdir -p $(OBJARCH)/Vlib
+	mkdir -p $(OBJARCH)/diglib
Index: src/CMD/generic/gmake.sh
===================================================================
RCS file: /grassrepository/grass/src/CMD/generic/gmake.sh,v
retrieving revision 1.16
diff -u -r1.16 gmake.sh
--- src/CMD/generic/gmake.sh	25 Mar 2004 11:47:29 -0000	1.16
+++ src/CMD/generic/gmake.sh	20 Jul 2004 20:38:20 -0000
@@ -262,9 +262,9 @@

  # prepend all .o with $(OBJARCH) and .a files with $(LIBARCH)
  sed \
-    -e 's#[\*0-9a-zA-Z_\.\-\$\(\)]*\.o[ \	]#$(OBJARCH)/&#g' \
-    -e 's#[\*0-9a-zA-Z_\.\-\$\(\)]*\.o:[ \	]#$(OBJARCH)/&#g' \
-    -e 's#[\*0-9a-zA-Z_\.\-\$\(\)]*\.o$#$(OBJARCH)/&#g' \
+    -e 's#[\/\*0-9a-zA-Z_\.\-\$\(\)]*\.o[ \	]#$(OBJARCH)/&#g' \
+    -e 's#[\/\*0-9a-zA-Z_\.\-\$\(\)]*\.o:[ \	]#$(OBJARCH)/&#g' \
+    -e 's#[\/\*0-9a-zA-Z_\.\-\$\(\)]*\.o$#$(OBJARCH)/&#g' \
      -e 's#[\*0-9a-zA-Z_\.\-\$\(\)]*\.a[ \	]#$(LIBARCH)/&#g' \
      -e 's#[\*0-9a-zA-Z_\.\-\$\(\)]*\.a:[ \	]#$(LIBARCH)/&#g' \
      -e 's#[\*0-9a-zA-Z_\.\-\$\(\)]*\.a$#$(LIBARCH)/&#g' \
@@ -280,7 +280,7 @@

  sed -e 's/=/ /' -e 's/\\//' Gmakefile |\
   awk '{for(i=1;i<=NF;i++) \
-    if ($i ~ /^[a-zA-Z0-9_\.\-\$\(\)]*\.o$/) print substr($i,1,length($i)-2)}
' |\
+    if ($i ~ /^[\/a-zA-Z0-9_\.\-\$\(\)]*\.o$/) print substr($i,1,length($i)-2)}
' |\
   sort -u |\
   (
      while read file


Thu, Jul 22 2004 20:39:11    Mail sent by paul-grass@stjohnspoint.co.uk  
Return-Path <paul-grass@stjohnspoint.co.uk>
Delivered-To grass-bugs@lists.intevation.de
Date Thu, 22 Jul 2004 19:39:05 +0100 (BST)
From Paul Kelly <paul-grass@stjohnspoint.co.uk>
To Lorenzo Moretti <lorenzo.moretti@bologna.enea.it>
Cc grass-bugs@intevation.de, grass5@grass.itc.it
Subject Re: [GRASSLIST:3979] Re: [GRASS5] [bug #2545] (grass) vect32 fails to build
In-Reply-To <a06100508bd23f7d2c070@[192.107.62.86]>
Message-ID <Pine.LNX.4.60.0407221937320.1517@agrippa.ukshells.co.uk>
References <20040718190747.5B16A139FE@lists.intevation.de> <Pine.LNX.4.60.0407182032380.28131@agrippa.ukshells.co.uk> <Pine.LNX.4.60.0407202140240.7530@agrippa.ukshells.co.uk> <a06100508bd23f7d2c070@[192.107.62.86]>
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Wed, 21 Jul 2004, Lorenzo Moretti wrote:

>> 
>> The patch below shows how I propose to fix this. I think src/CMD/gmake.sh
>> should be changed so that $(OBJARCH) is preprended at the beginning of a 
>> path leading to a .o file rather than immediately preceding the filename.
>> i.e. Vlib/open.o becomes $(OBJARCH)/Vlib/open.o rather than 
>> Vlib/$(OBJARCH)/open.o as at present.
>
> Paul
>
> Your patch resolve bug #2545 and bug #2547. Now is possible to create 
> libvect_combined.a

OK- I have committed it.

>
>> This should fix things for both the alternate and gmake systems.
>> It will also cause problems for badly written or non-standard Gmakefiles.
>> The only one I came across is for r3.null and I will fix that by building
>> r3.null and r3.mask from the same directory (cf. r.mapcalc and r3.mapcalc
>> are built from the same directory).
>
>
>> But there might also be problems with non-standard Gmakefiles in add-on 
>> modules people have written themselves I suppose. But probably not very 
>> likely. So I just wanted to post this here for a while for comments before
>> committing the changes.
>> 
>> The r.terraflow Gmakefile also needs fixed so it will work with both build
>> systems. It has a related but different problem with using 
>> sub-directories.
>
> Yes the only problem is in r3.null like you say...

I changed it yesterday.
r.terraflow's Gmakefile still needs fixed to work with the alternate build 
system.


Wed, Aug 11 2004 15:50:22    Status changed to resolved by mneteler  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request