bugPSPP - Bugs: bug #41004, make check is not working when...

 
 

bug #41004: make check is not working when cross-compiling

Submitted by:  Harry Thijssen <unknown_one>
Submitted on:  Thu 26 Dec 2013 01:07:10 PM UTC  
 
Category: Compilation/PortabilitySeverity: 5 - Average
Status: NoneAssigned to: None
Open/Closed: OpenRelease: None
Effort: 0.00

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sat 09 Apr 2016 02:31:24 PM UTC, comment #25:

For
chart-get-scale-test.exe
chart-get-ticks-format-test.exe
syntax-gen-test.exe
there is no wrapper. I guess it should be.

zip-test has somehow a problem. In the logging I see:
+/home/harry/pspp-master-20160408/pspp-0.10.2-g0603f7/tests/testsuite.dir/at-groups/1044/test-source: line 62: /home/harry/pspp-master-20160408/pspp-0.10.2-g0603f7/tests/libpspp/zip-test: No such file or directory
and in its wrapper I see:
exec wine /home/harry/pspp-master-20160408/pspp-0.10.2-g0603f7/tests/libpspp/zip-test.exe "$@"
which is the correct path and filename. What can be wrong?

The current status is:

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: 1141 tests were run,
253 failed unexpectedly.
16 tests were skipped.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##

Please send `tests/testsuite.log' and all information you think might help:

To: <bug-gnu-pspp@gnu.org>
Subject: [GNU PSPP 0.10.2-g0603f7] testsuite: 2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 22 23 24 25 26 27 34 35 36 38 58 60 61 62 63 64 67 69 70 71 72 75 76 80 81 93 94 95 108 116 118 119 120 121 136 137 146 147 148 149 150 151 152 154 155 156 157 158 159 160 161 162 163 164 165 168 169 170 171 179 197 198 199 200 201 202 211 219 259 261 262 275 276 277 278 279 280 281 282 284 287 288 290 291 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 315 318 329 336 337 345 395 432 433 434 435 470 505 506 507 508 509 511 512 513 514 515 530 649 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 709 728 729 732 746 861 862 863 864 1044 1045 1046 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1067 1071 1072 1073 1074 1075 1076 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1138 1139 1144 1146 failed

Harry Thijssen <unknown_one>
Sun 03 Apr 2016 08:51:39 PM UTC, comment #24:

See my results below. So about 78 % successful. Not bad.

I will see the next days what happens when I use winetricks to install vcrun6

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: 1141 tests were run,
257 failed unexpectedly.
16 tests were skipped.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##

Please send `tests/testsuite.log' and all information you think might help:

To: <bug-gnu-pspp@gnu.org>
Subject: [GNU PSPP 0.10.2-g9136cc] testsuite: 1 2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 22 23 24 25 26 27 34 35 36 38 58 60 61 62 63 64 67 69 70 71 72 75 76 80 81 93 94 95 108 116 118 119 120 121 136 137 146 147 148 149 150 151 152 154 155 156 157 158 159 160 161 162 163 164 165 168 169 170 171 179 197 198 199 200 201 202 211 219 259 261 262 275 276 277 278 279 280 281 282 284 287 288 290 291 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 315 318 329 336 337 345 432 433 434 435 470 505 506 507 508 509 511 512 513 514 515 530 649 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 709 728 729 732 746 861 862 863 864 1044 1045 1046 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1071 1072 1073 1074 1075 1076 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1138 1139 1144 1146 failed

You may investigate any problem if you feel able to do so, in which
case the test suite provides a good starting point. Its output may
be found below `tests/testsuite.dir'.

Harry Thijssen <unknown_one>
Sun 03 Apr 2016 04:21:21 PM UTC, comment #23:

I tried to reproduce your results from the current tarball but where not succesfull. See the start of the run below.

Is there something more I should do to reproduce the results?

XTERM_LOCALE='' /bin/sh './tests/testsuite' -C tests AUTOTEST_PATH=tests/data:tests/language/lexer:tests/libpspp:tests/output:src/ui/terminal:utilities RUNNER='wine'
## ----------------------------------- ##
## GNU PSPP 0.10.2-g9136cc test suite. ##
## ----------------------------------- ##
rm: cannot remove '/home/harry/pspp-master-20160403/pspp-0.10.2-g9136cc/tests/wrappers/*': No such file or directory

calendar

1: epoch FAILED (calendar.at:89)

data input (data-in)

2: numeric input formats FAILED (data-in.at:395)
3: reading big numbers ok
4: DATE input format FAILED (data-in.at:489)
5: ADATE input format FAILED (data-in.at:701)
6: EDATE input format FAILED (data-in.at:913)
7: JDATE input format FAILED (data-in.at:1125)
8: SDATE input format FAILED (data-in.at:1337)
9: QYR input format FAILED (data-in.at:1549)
10: MOYR input format FAILED (data-in.at:1761)
11: WKYR input format FAILED (data-in.at:1973)
12: DATETIME input format FAILED (data-in.at:2185)
13: TIME input format FAILED (data-in.at:2597)
14: DTIME input format FAILED (data-in.at:3009)
15: binary and hexadecimal input (IB, PIB, and PIBHEX formats) FAILED (data-in.at:3431)
16: BCD input (P and PK formats) FAILED (data-in.at:3451)
17: legacy input (N and Z formats) FAILED (data-in.at:3471)
18: WKDAY input format FAILED (data-in.at:3502)
19: MONTH input format FAILED (data-in.at:3597)

Harry Thijssen <unknown_one>
Sat 02 Apr 2016 03:24:58 AM UTC, comment #22:

I pushed Ben's patch with a few minor changes.

The results I get now are below.

The sparse-array tests however take a VERY long time to run,
and all the render-tests fail and popup an annoying dialog box
which needs to be acknowledged manually each time (Why does windows insist on making computer usage so inconvienient?)

A few other tests might be genuine failures, but most seem to
be limitations of wine.

ERROR: 1122 tests were run,
108 failed unexpectedly.
33 tests were skipped.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##

Please send `tests/testsuite.log' and all information you think might help:

To: <bug-gnu-pspp@gnu.org>
Subject: [GNU PSPP 0.10.1] testsuite: 26 27 34 35 36 38 58 61 64 67 69 70 71 72 75 76 80 93 94 95 108 116 118 119 120 121 136 137 146 147 148 149 150 151 152 154 155 156 161 295 297 315 468 707 744 859 860 861 862 1042 1043 1044 1065 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1136 1137 1142 1144 failed

John Darrington <jmd>
Project Administrator
Wed 30 Mar 2016 09:20:28 PM UTC, comment #21:

Thanks for the suggestion, but it is not much better. Then I get

cp tests/testsuite.in tests/testsuite.at
for t in tests/data/calendar.at tests/data/data-in.at tests/data/data-out.at tests/data/datasheet-test.at tests/data/dictionary.at tests/data/file.at tests/data/format-guesser.at tests/data/pc+-file-reader.at tests/data/por-file.at tests/data/sys-file-reader.at tests/data/sys-file.at tests/data/encrypted-file.at tests/language/command.at tests/language/control/do-if.at tests/language/control/do-repeat.at tests/language/control/loop.at tests/language/control/temporary.at tests/language/data-io/add-files.at tests/language/data-io/data-list.at tests/language/data-io/data-reader.at tests/language/data-io/dataset.at tests/language/data-io/file-handle.at tests/language/data-io/get-data-spreadsheet.at tests/language/data-io/get-data-psql.at tests/language/data-io/get-data-txt.at tests/language/data-io/get.at tests/language/data-io/inpt-pgm.at tests/language/data-io/list.at tests/language/data-io/match-files.at tests/language/data-io/print-space.at tests/language/data-io/print.at tests/language/data-io/save.at tests/language/data-io/save-translate.at tests/language/data-io/update.at tests/language/dictionary/attributes.at tests/language/dictionary/delete-variables.at tests/language/dictionary/formats.at tests/language/dictionary/missing-values.at tests/language/dictionary/mrsets.at tests/language/dictionary/rename-variables.at tests/language/dictionary/sort-variables.at tests/language/dictionary/split-file.at tests/language/dictionary/sys-file-info.at tests/language/dictionary/value-labels.at tests/language/dictionary/variable-display.at tests/language/dictionary/vector.at tests/language/dictionary/weight.at tests/language/expressions/evaluate.at tests/language/expressions/parse.at tests/language/lexer/command-name.at tests/language/lexer/lexer.at tests/language/lexer/q2c.at tests/language/lexer/scan.at tests/language/lexer/segment.at tests/language/lexer/variable-parser.at tests/language/stats/aggregate.at tests/language/stats/autorecode.at tests/language/stats/correlations.at tests/language/stats/crosstabs.at tests/language/stats/descriptives.at tests/language/stats/examine.at tests/language/stats/graph.at tests/language/stats/factor.at tests/language/stats/flip.at tests/language/stats/frequencies.at tests/language/stats/glm.at tests/language/stats/logistic.at tests/language/stats/means.at tests/language/stats/npar.at tests/language/stats/oneway.at tests/language/stats/quick-cluster.at tests/language/stats/rank.at tests/language/stats/regression.at tests/language/stats/reliability.at tests/language/stats/roc.at tests/language/stats/sort-cases.at tests/language/stats/t-test.at tests/language/utilities/cache.at tests/language/utilities/cd.at tests/language/utilities/date.at tests/language/utilities/insert.at tests/language/utilities/permissions.at tests/language/utilities/set.at tests/language/utilities/show.at tests/language/utilities/title.at tests/language/xforms/compute.at tests/language/xforms/count.at tests/language/xforms/recode.at tests/language/xforms/sample.at tests/language/xforms/select-if.at tests/libpspp/abt.at tests/libpspp/bt.at tests/libpspp/encoding-guesser.at tests/libpspp/float-format.at tests/libpspp/heap.at tests/libpspp/hmap.at tests/libpspp/hmapx.at tests/libpspp/i18n.at tests/libpspp/line-reader.at tests/libpspp/ll.at tests/libpspp/llx.at tests/libpspp/range-map.at tests/libpspp/range-set.at tests/libpspp/range-tower.at tests/libpspp/sparse-array.at tests/libpspp/sparse-xarray-test.at tests/libpspp/str.at tests/libpspp/string-map.at tests/libpspp/stringi-map.at tests/libpspp/string-set.at tests/libpspp/stringi-set.at tests/libpspp/tower.at tests/libpspp/u8-istream.at tests/libpspp/zip.at tests/math/chart-geometry.at tests/math/moments.at tests/math/randist.at tests/output/ascii.at tests/output/charts.at tests/output/output.at tests/output/paper-size.at tests/output/render.at tests/output/tables.at tests/ui/terminal/main.at tests/ui/syntax-gen.at tests/perl-module.at; do \
echo "m4_include([$t])" >> tests/testsuite.at ;\
done
/bin/sh ./build-aux/missing --run autom4te --language=autotest -I '.' tests/testsuite.at | /usr/bin/sed 's/@<00A0>@/ /g' > tests/testsuite.tmp
mv tests/testsuite.tmp tests/testsuite
make[2]: *** No rule to make target 'tests/valgrind-wrapper.in', needed by 'all-am'. Stop.

Any other suggestion?

Harry Thijssen <unknown_one>
Wed 30 Mar 2016 04:48:19 PM UTC, comment #20:

What I suggest you do in the short term is:

In your Makefile you will see a line similar to:

ALL_LOCAL = $(GMOFILES) $(am__append_19) dist-hook-git

Delete the string "dist-hook-git"

John Darrington <jmd>
Project Administrator
Tue 29 Mar 2016 09:30:59 PM UTC, comment #19:

Hi

I still was not able to get this working.

I clone from git, run make -f Smake, and after that patch the source with patch3.

Further in the proces I then get:

printf '\043 Generated automatically -- do not modify! -- buffer-read-only: t --\n' > tests/testsuite.at
cat tests/testsuite.in >> tests/testsuite.at
for t in tests/data/calendar.at tests/data/data-in.at tests/data/data-out.at tests/data/datasheet-test.at tests/data/dictionary.at tests/data/file.at tests/data/format-guesser.at tests/data/pc+-file-reader.at tests/data/por-file.at tests/data/sys-file-reader.at tests/data/sys-file.at tests/data/encrypted-file.at tests/language/command.at tests/language/control/do-if.at tests/language/control/do-repeat.at tests/language/control/loop.at tests/language/control/temporary.at tests/language/data-io/add-files.at tests/language/data-io/data-list.at tests/language/data-io/data-reader.at tests/language/data-io/dataset.at tests/language/data-io/file-handle.at tests/language/data-io/get-data-spreadsheet.at tests/language/data-io/get-data-psql.at tests/language/data-io/get-data-txt.at tests/language/data-io/get.at tests/language/data-io/inpt-pgm.at tests/language/data-io/list.at tests/language/data-io/match-files.at tests/language/data-io/print-space.at tests/language/data-io/print.at tests/language/data-io/save.at tests/language/data-io/save-translate.at tests/language/data-io/update.at tests/language/dictionary/attributes.at tests/language/dictionary/delete-variables.at tests/language/dictionary/formats.at tests/language/dictionary/missing-values.at tests/language/dictionary/mrsets.at tests/language/dictionary/rename-variables.at tests/language/dictionary/sort-variables.at tests/language/dictionary/split-file.at tests/language/dictionary/sys-file-info.at tests/language/dictionary/value-labels.at tests/language/dictionary/variable-display.at tests/language/dictionary/vector.at tests/language/dictionary/weight.at tests/language/expressions/evaluate.at tests/language/expressions/parse.at tests/language/lexer/command-name.at tests/language/lexer/lexer.at tests/language/lexer/q2c.at tests/language/lexer/scan.at tests/language/lexer/segment.at tests/language/lexer/variable-parser.at tests/language/stats/aggregate.at tests/language/stats/autorecode.at tests/language/stats/correlations.at tests/language/stats/crosstabs.at tests/language/stats/descriptives.at tests/language/stats/examine.at tests/language/stats/graph.at tests/language/stats/factor.at tests/language/stats/flip.at tests/language/stats/frequencies.at tests/language/stats/glm.at tests/language/stats/logistic.at tests/language/stats/means.at tests/language/stats/npar.at tests/language/stats/oneway.at tests/language/stats/quick-cluster.at tests/language/stats/rank.at tests/language/stats/regression.at tests/language/stats/reliability.at tests/language/stats/roc.at tests/language/stats/sort-cases.at tests/language/stats/t-test.at tests/language/utilities/cache.at tests/language/utilities/cd.at tests/language/utilities/date.at tests/language/utilities/insert.at tests/language/utilities/permissions.at tests/language/utilities/set.at tests/language/utilities/show.at tests/language/utilities/title.at tests/language/xforms/compute.at tests/language/xforms/count.at tests/language/xforms/recode.at tests/language/xforms/sample.at tests/language/xforms/select-if.at tests/libpspp/abt.at tests/libpspp/bt.at tests/libpspp/encoding-guesser.at tests/libpspp/float-format.at tests/libpspp/heap.at tests/libpspp/hmap.at tests/libpspp/hmapx.at tests/libpspp/i18n.at tests/libpspp/line-reader.at tests/libpspp/ll.at tests/libpspp/llx.at tests/libpspp/range-map.at tests/libpspp/range-set.at tests/libpspp/range-tower.at tests/libpspp/sparse-array.at tests/libpspp/sparse-xarray-test.at tests/libpspp/str.at tests/libpspp/string-map.at tests/libpspp/stringi-map.at tests/libpspp/string-set.at tests/libpspp/stringi-set.at tests/libpspp/tower.at tests/libpspp/u8-istream.at tests/libpspp/zip.at tests/math/chart-geometry.at tests/math/moments.at tests/math/randist.at tests/output/ascii.at tests/output/charts.at tests/output/output.at tests/output/paper-size.at tests/output/render.at tests/output/tables.at tests/ui/terminal/main.at tests/ui/syntax-gen.at tests/perl-module.at; do \
echo "m4_include([$t])" >> tests/testsuite.at ;\
done
/bin/sh ./build-aux/missing --run autom4te --language=autotest -I '.' tests/testsuite.at | /usr/bin/sed 's/@<00A0>@/ /g' > tests/testsuite.tmp
mv tests/testsuite.tmp tests/testsuite
msgfmt po/ca.po -o po/ca.gmo
msgfmt po/cs.po -o po/cs.gmo
msgfmt po/de.po -o po/de.gmo
msgfmt po/en_GB.po -o po/en_GB.gmo
msgfmt po/es.po -o po/es.gmo
msgfmt po/fr.po -o po/fr.gmo
msgfmt po/gl.po -o po/gl.gmo
msgfmt po/ja.po -o po/ja.gmo
msgfmt po/lt.po -o po/lt.gmo
msgfmt po/nl.po -o po/nl.gmo
msgfmt po/pl.po -o po/pl.gmo
msgfmt po/pt_BR.po -o po/pt_BR.gmo
msgfmt po/ru.po -o po/ru.gmo
msgfmt po/sl.po -o po/sl.gmo
msgfmt po/tr.po -o po/tr.gmo
msgfmt po/uk.po -o po/uk.gmo
msgfmt po/zh_CN.po -o po/zh_CN.gmo
The distribution is missing the following files:
tests/valgrind-wrapper.in
Makefile:12533: recipe for target 'dist-hook-git' failed
make[2]: *** [dist-hook-git] Error 1

Any idea how to solve this?

Harry Thijssen <unknown_one>
Thu 24 Mar 2016 04:19:47 PM UTC, comment #18:

I'm attaching another alternative patch that should wrap every executable instead of just the "pspp" executable.

(file #36748)

Ben Pfaff <blp>
Project Administrator
Sun 20 Mar 2016 12:23:51 AM UTC, comment #17:

> ./atlocal: line 61: syntax error near unexpected token `}'
> ./atlocal: line 61: `}'


Oops. There was an obvious bug in my patch. I've uploaded a fixed patch. Sorry about that.

Ben Pfaff <blp>
Project Administrator
Sat 19 Mar 2016 11:11:39 PM UTC, comment #16:

With Johns patches I get a lot tests completed as ok

But when I use the first patch of John and Ben's path I get:

/bin/sh ./libtool --tag=CC --mode=link i686-w64-mingw32-gcc -Wall -W -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes -O2 -g -pipe -Wall -fexceptions --param=ssp-buffer-size=4 -mms-bitfields -Wl,--exclude-libs=libintl.a -Wl,--exclude-libs=libiconv.a -Wl,--no-keep-memory -o tests/ui/syntax-gen-test.exe tests/ui/syntax-gen-test.o src/ui/libuicommon.la src/libpspp-core.la -L/usr/i686-w64-mingw32/sys-root/mingw/lib -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo /usr/i686-w64-mingw32/sys-root/mingw/lib/libiconv.dll.a -L/usr/i686-w64-mingw32/sys-root/mingw/lib -lreadline -lgslcblas -lz /usr/i686-w64-mingw32/sys-root/mingw/lib/libintl.dll.a -L/usr/i686-w64-mingw32/sys-root/mingw/lib
libtool: link: i686-w64-mingw32-gcc -Wall -W -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes -O2 -g -pipe -Wall -fexceptions --param=ssp-buffer-size=4 -mms-bitfields -Wl,--exclude-libs=libintl.a -Wl,--exclude-libs=libiconv.a -Wl,--no-keep-memory -o tests/ui/.libs/syntax-gen-test.exe tests/ui/syntax-gen-test.o src/ui/.libs/libuicommon.a -L/usr/i686-w64-mingw32/sys-root/mingw/lib src/.libs/libpspp-core.a -lxml2 -lws2_32 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo /usr/i686-w64-mingw32/sys-root/mingw/lib/libiconv.dll.a -lreadline -lgslcblas -lz /usr/i686-w64-mingw32/sys-root/mingw/lib/libintl.dll.a -pthread
make[3]: 'tests/language/lexer/command-name-test.exe' is up to date.
make[3]: 'tests/language/lexer/scan-test.exe' is up to date.
make[3]: 'tests/language/lexer/segment-test.exe' is up to date.
make[3]: 'tests/libpspp/zip-test.exe' is up to date.
make[3]: 'tests/math/chart-get-scale-test.exe' is up to date.
make[3]: 'tests/math/chart-get-ticks-format-test.exe' is up to date.
make[3]: 'tests/output/render-test.exe' is up to date.
make[3]: 'tests/ui/syntax-gen-test.exe' is up to date.
make[3]: Leaving directory '/home/harry/pspp-master-20160319/pspp-0.9.0-gbff93a'
make check-local
make[3]: Entering directory '/home/harry/pspp-master-20160319/pspp-0.9.0-gbff93a'
XTERM_LOCALE='' /bin/sh './tests/testsuite' -C tests AUTOTEST_PATH=tests/data:tests/language/lexer:tests/libpspp:tests/output:src/ui/terminal:utilities
./atlocal: line 61: syntax error near unexpected token `}'
./atlocal: line 61: `}'
testsuite: error: invalid content: atlocal
Makefile:12477: recipe for target 'tests_check' failed
make[3]: *** [tests_check] Error 1

Harry Thijssen <unknown_one>
Fri 18 Mar 2016 07:01:57 PM UTC, comment #15:

I tried but get this error:

mv time.h-t time.h
rm -f unicase.h-t unicase.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat ./unicase.in.h; \
} > unicase.h-t && \
mv -f unicase.h-t unicase.h
gperf -m 10 ./unicase/special-casing-table.gperf > ./unicase/special-casing-table.h-t && \
mv ./unicase/special-casing-table.h-t ./unicase/special-casing-table.h
/bin/sh: gperf: command not found
Makefile:4074: recipe for target 'unicase/special-casing-table.h' failed
make[2]: *** [unicase/special-casing-table.h] Error 127
make[2]: Leaving directory '/home/harry/pspp-master-20160318/pspp/gl'
Makefile:11617: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/harry/pspp-master-20160318/pspp'
Makefile:5250: recipe for target 'all' failed
make: *** [all] Error 2

Is there somewhere a discription what to do when building from a git clone?

Harry Thijssen <unknown_one>
Fri 18 Mar 2016 10:37:29 AM UTC, comment #14:

I think you will have to apply the patch to the checked out git source, then run make -f Smake and then start with ./configure; make ...

John Darrington <jmd>
Project Administrator
Tue 15 Mar 2016 07:30:29 PM UTC, comment #13:

I am afraid I don't understand what you are saying.

I decompress the tarball and patch against the source of PSPP.

What should be done with the patches?

Harry Thijssen <unknown_one>
Mon 14 Mar 2016 06:27:28 PM UTC, comment #12:

I don't think these patches will do anything unless you regenerate the tarball.

Applying them to an existing one wont work.

John Darrington <jmd>
Project Administrator
Mon 14 Mar 2016 08:36:23 AM UTC, comment #11:

Strange

I patched against the tarball of 13-3. Maybe you used another source version?

Harry Thijssen <unknown_one>
Mon 14 Mar 2016 06:17:17 AM UTC, comment #10:

That is odd.

It worked for me (with about half the tests passing).

John Darrington <jmd>
Project Administrator
Sun 13 Mar 2016 09:06:15 PM UTC, comment #9:

If I use the 2 tests of John, no tests are executed

If I use the first patch of John and the patch of Ben, also no tests are executed.

If I just run make RUNNER=wine check
all tests are executed and fail.

Harry Thijssen <unknown_one>
Sun 13 Mar 2016 07:23:28 PM UTC, comment #8:

Sorry.

It was so small I missed it.

If this patch works, I think it is a better solution.

Has Harry tried any of these?

John Darrington <jmd>
Project Administrator
Sun 13 Mar 2016 06:00:01 PM UTC, comment #7:

> Do you have a better suggestion?

Yes, I attached it, please see the attachment.

Ben Pfaff <blp>
Project Administrator
Sun 13 Mar 2016 05:58:06 PM UTC, comment #6:

I understand your concern.

Do you have a better suggestion?

John Darrington <jmd>
Project Administrator
Sun 13 Mar 2016 05:16:19 PM UTC, comment #5:

I really don't like the patch that adds $RUNNER everywhere. It looks bad and it's going to be hard to maintain.

How about this instead...

(file #36620)

Ben Pfaff <blp>
Project Administrator
Sun 13 Mar 2016 06:50:04 AM UTC, comment #4:

Try adding these two attached patches, and running
make RUNNER=wine check

(file #36616, file #36617)

John Darrington <jmd>
Project Administrator
Sun 29 Dec 2013 06:54:46 PM UTC, comment #3:

> make check does not and cannot work when cross compiling; not for w32 nor any target.


With an older version of PSPP, "make check" worked OK for me cross-compiling for mingw32, because I had wine installed in a way that Windows .exes could run directly. This is what I've asked Harry to do too, but he's had trouble and I haven't been able to help him so far.

Ben Pfaff <blp>
Project Administrator
Sat 28 Dec 2013 05:41:17 PM UTC, comment #2:

No, you understood it right.

Ben asked me in comment 11 of the referred bug to use the check.

When cross-compiling for MSWindows wine could be used for checking I guess.

It might also be a good idea to have a regression.sps or so which can run several tests and check the results. This could even help when an end-user encounters a problem.

This all seems not urgent to me as I am building without check for years now. But if it is easy to implement it could be useful.

Maybe somebody of the users can build a regression syntax file.

Harry Thijssen <unknown_one>
Sat 28 Dec 2013 09:43:52 AM UTC, comment #1:

I'm not sure that I understand the issue.

make check does not and cannot work when cross compiling; not for w32 nor any target. This is true not only for PSPP but for all Gnu packages (that I know of).

Have I misunderstood the issue?

John Darrington <jmd>
Project Administrator
Thu 26 Dec 2013 01:07:10 PM UTC, original submission:

Filed so it will not be forgotten;

The issue of not being possible to run make check when cross-compiling for MSWindows, raised in bug #33250 is still present.

So the attachment for the testsuite.log

Harry Thijssen <unknown_one>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #36748:  patch3 added by blp (6kB - application/octet-stream - another wrapper alternative for cross-compiling)
file #36697:  patch2 added by blp (340B - application/octet-stream - Fixed version of patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by blp (Posted a comment)
  • -unavailable- added by jmd (Posted a comment)
  • -unavailable- added by unknown_one (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 24 Mar 2016 04:19:47 PM UTCblpAttached File-=>Added patch3, #36748
    Sun 20 Mar 2016 12:25:20 AM UTCblpAttached File-=>Added patch2, #36697
    Sun 20 Mar 2016 12:22:46 AM UTCblpAttached File#36620=>Removed
    Sun 13 Mar 2016 05:16:19 PM UTCblpAttached File-=>Added patch, #36620
    Sun 13 Mar 2016 06:50:04 AM UTCjmdAttached File-=>Added 0001-Testsuite-Make-more-friendly-running-under-wine.patch, #36616
      Attached File-=>Added 0002-Testsuite-Ignore-whitespace-when-running-tests-under.patch, #36617

    Back to the top


    Powered by Savane 3.1-cleanup