Ticket #90 (closed defect: invalid)

Opened 2 years ago

Last modified 20 months ago

make check fails on SPARC

Reported by: mloskot Owned by: warmerdam
Priority: major Milestone:
Component: Core Version: Development (trunk)
Keywords: sparc,sunw Cc:

Description

Building

Building current trunk (r1956) on NetBSD 5.0/SPARC using GCC 4.1.3 and make check reports number of test failures:

# make check
Making check in src
Making check in man
Making check in man1
Making check in man3
Making check in nad
make  check-local
./test27 ../src/proj
============================================
Running ./test27 using ../src/proj:
============================================
doing tests into file proj_out27, please wait
diff proj_out27 with pj_out27.dist
TEST OK
test file proj_out27 removed

./test83 ../src/proj
============================================
Running ./test83 using ../src/proj:
============================================
doing tests into file proj_out83, please wait
diff proj_out83 with pj_out83.dist
TEST OK
test file proj_out83 removed

./testvarious ../src/cs2cs
============================================
Running ./testvarious using ../src/cs2cs:
============================================
doing tests into file tv_out, please wait
diff tv_out with tv_out.dist
TEST OK
test file tv_out removed

============================================
Running ./testIGNF using ../src/cs2cs:
============================================
doing tests into file proj_outIGNF, please wait
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
Rel. 4.7.1, 23 September 2009
<cs2cs>: while processing file: <stdin>, line 1
pj_transform(): failed to load datum shift file
diff proj_outIGNF with proj_outIGNF.dist
2c2
<  3.300866856 43.4477976569 0.0000     *       * 0.000
---
>  3.300866856 43.4477976569 0.0000     3d18'0.915"E    43d26'52.077"N 0.000
4,11c4,11
<  600000.0000 2600545.4523  0.0000     *       * 0.000
<  135638.3592 2418760.4094  0.0000     *       * 0.000
<  998137.3947 2413822.2844  0.0000     *       * 0.000
<  600000.0000 2200000.0000  0.0000     *       * 0.000
<  311552.5340 1906457.4840  0.0000     *       * 0.000
<  960488.4138 1910172.8812  0.0000     *       * 0.000
<  600000.0000 1699510.8340  0.0000     *       * 0.000
< 1203792.5981 626873.17210  0.0000     *       * 0.000
---
>  600000.0000 2600545.4523  0.0000     652760.737      7033791.244 0.000
>  135638.3592 2418760.4094  0.0000     187194.062      6855928.882 0.000
>  998137.3947 2413822.2844  0.0000     1049052.258     6843776.562 0.000
>  600000.0000 2200000.0000  0.0000     649398.872      6633524.192 0.000
>  311552.5340 1906457.4840  0.0000     358799.172      6342652.486 0.000
>  960488.4138 1910172.8812  0.0000     1007068.686     6340907.237 0.000
>  600000.0000 1699510.8340  0.0000     645204.279      6133556.746 0.000
> 1203792.5981 626873.17210  0.0000     1238875.764     5057405.017 0.000
13,20c13,20
<  600000.0000 2600545.4523  0.0000     *       * 0.000
<  135638.3592 2418760.4094  0.0000     *       * 0.000
<  998137.3947 2413822.2844  0.0000     *       * 0.000
<  600000.0000 2200000.0000  0.0000     *       * 0.000
<  311552.5340 1906457.4840  0.0000     *       * 0.000
<  960488.4138 1910172.8812  0.0000     *       * 0.000
<  600000.0000 1699510.8340  0.0000     *       * 0.000
< 1203792.5981 626873.17210  0.0000     *       * 0.000
---
>  600000.0000 2600545.4523  0.0000     179040.148      5610495.275 0.000
>  135638.3592 2418760.4094  0.0000     -303729.363     5410118.356 0.000
>  998137.3947 2413822.2844  0.0000     592842.792      5410120.554 0.000
>  600000.0000 2200000.0000  0.0000     179041.670      5209746.080 0.000
>  311552.5340 1906457.4840  0.0000     -96825.465      4909184.136 0.000
>  960488.4138 1910172.8812  0.0000     523880.019      4909191.141 0.000
>  600000.0000 1699510.8340  0.0000     179047.633      4708817.007 0.000
> 1203792.5981 626873.17210  0.0000     658287.395      3623739.237 0.000
22,29c22,29
< 2d20'11.4239243" 50d23'59.7718445" 0.0        *       * -0.000
< -3d57'49.4051448" 48d35'59.7121716" 0.0       *       * -0.000
< 7d44'12.1439796" 48d35'59.7832558" 0.0        *       * -0.000
< 2d20'11.4951975" 46d47'59.8029841" 0.0        *       * -0.000
< -1d15'48.9240599" 44d05'59.8251878" 0.0       *       * -0.000
< 6d50'12.2276489" 44d06'00.0517019" 0.0        *       * -0.000
< 2d20'11.7754730" 42d18'00.0824436" 0.0        *       * -0.000
< 9d32'12.6680218" 41d24'00.3542556" 0.0        *       * -0.000
---
> 2d20'11.4239243" 50d23'59.7718445" 0.0        179040.151      5610495.281 -0.000
> -3d57'49.4051448" 48d35'59.7121716" 0.0       -303729.365     5410118.352 -0.000
> 7d44'12.1439796" 48d35'59.7832558" 0.0        592842.794      5410120.550 -0.000
> 2d20'11.4951975" 46d47'59.8029841" 0.0        179041.668      5209746.077 -0.000
> -1d15'48.9240599" 44d05'59.8251878" 0.0       -96825.467      4909184.138 -0.000
> 6d50'12.2276489" 44d06'00.0517019" 0.0        523880.022      4909191.143 -0.000
> 2d20'11.7754730" 42d18'00.0824436" 0.0        179047.634      4708817.010 -0.000
> 9d32'12.6680218" 41d24'00.3542556" 0.0        730783.054      4608637.873 -0.000

PROBLEMS HAVE OCCURED
test file proj_outIGNF saved

*** Error code 100

Stop.
make: stopped in /home/mloskot/dev/proj/_svn/trunk/nad
*** Error code 1

Stop.
make: stopped in /home/mloskot/dev/proj/_svn/trunk/nad
*** Error code 1

Stop.
make: stopped in /home/mloskot/dev/proj/_svn/trunk

Architecture details:

# sysctl -a | egrep -i hw
hw.machine = sparc
hw.model = SUNW,SPARCstation-5 (MB86907 @ 170 MHz, L64804 FPU)
hw.ncpu = 1
hw.byteorder = 4321
hw.physmem = 267485184
hw.usermem = 267067392
hw.pagesize = 4096
hw.disknames = sd0 cd0
hw.machine_arch = sparc
hw.alignbytes = 7
hw.cnmagic = \x27\x02
hw.physmem64 = 267485184
hw.usermem64 = 267067392
hw.iostatnames = sd0 cd0
hw.ncpuonline = 1

Change History

Changed 22 months ago by warmerdam

  • status changed from new to assigned

Mateusz,

Do you believe you had the datum shift files unpacked in your tree? The ones from  http://download.osgeo.org/proj/proj-datumgrid-1.5.zip? Unfortunately, the test suite is very primitive and doesn't detect whether they are present and operate accordingly. It seems like it is just a lack of these files.

Alternatively, it might be that they were present but things did not work due to endian handling issues. If that is the case, i'd love to fix it.

Changed 20 months ago by mloskot

  • status changed from assigned to closed
  • resolution set to invalid

Frank,

Yes, the problem was lack of datum shift files. False alarm.

Note: See TracTickets for help on using tickets.