Harbour Compatibility and Regression Test Suite
Copyright (c) 1999-2017, Viktor Szakats
---------------------------------------------------------------------------
Version: Harbour 3.4.0dev () (2017-03-09 19:43)
Compiler: GNU C 4.9.2 (32-bit)
OS: Linux 4.4.50+ armv6l
Date, Time: 2017-03-10 18:16:37
Shortcut opt.: On
Switches:
===========================================================================
R No. Line TestCall() -> Result | Expected
---------------------------------------------------------------------------
! 1358 MAIN_STR(179) Chr( -10000000.0 )
Result: "" + Chr( 0 ) + ""
Expected: "¦"
===========================================================================
Test calls passed: 5034 ( 99.98 % )
Test calls failed: 1 ( 0.02 % )
----------
Total: 5035 ( Time elapsed: 2.46 seconds )
WARNING: Failures detected
root@raspberrypi:/home/pi/harbour-core-master# sudo fakeroot debian/rules binary
dh_testdir
make: dh_testdir: Command not found
debian/rules:39: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 127
You will need these base packages to build/package/test/use Harbour:
bash git gcc binutils fakeroot debhelper valgrind upx uncrustify p7zip-full
...
find debian/harbour ! -type l -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
find debian/harbour/usr/share/doc -type f ! -regex 'debian/harbour/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
find debian/harbour/usr/share/doc -type d -print0 2>/dev/null | xargs -0r chmod 0755
find debian/harbour/usr/share/man -type f -print0 2>/dev/null | xargs -0r chmod 0644
find debian/harbour/usr/include -type f -print0 2>/dev/null | xargs -0r chmod 0644
find debian/harbour/usr/share/applications -type f -print0 2>/dev/null | xargs -0r chmod 0644
find debian/harbour/usr/lib/arm-linux-gnueabihf/perl5/5.20 debian/harbour/usr/share/perl5 -type f -perm -5 -name '*.pm' -print0 2>/dev/null | xargs -0r chmod a-X
find debian/harbour -perm -5 -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' \) -print0 2>/dev/null | xargs -0r chmod 0644
find debian/harbour/usr/bin -type f -print0 2>/dev/null | xargs -0r chmod a+x
find debian/harbour/usr/lib -type f -name '*.ali' -print0 2>/dev/null | xargs -0r chmod uga-w
find debian/harbour-dbg -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
find debian/harbour-dbg ! -type l -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
find debian/harbour-dbg/usr/share/doc -type f ! -regex 'debian/harbour-dbg/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
find debian/harbour-dbg/usr/share/doc -type d -print0 2>/dev/null | xargs -0r chmod 0755
find debian/harbour-dbg/usr/share/man -type f -print0 2>/dev/null | xargs -0r chmod 0644
find debian/harbour-dbg/usr/include -type f -print0 2>/dev/null | xargs -0r chmod 0644
find debian/harbour-dbg/usr/share/applications -type f -print0 2>/dev/null | xargs -0r chmod 0644
find debian/harbour-dbg/usr/lib/arm-linux-gnueabihf/perl5/5.20 debian/harbour-dbg/usr/share/perl5 -type f -perm -5 -name '*.pm' -print0 2>/dev/null | xargs -0r chmod a-X
find debian/harbour-dbg -perm -5 -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' \) -print0 2>/dev/null | xargs -0r chmod 0644
find debian/harbour-dbg/usr/lib -type f -name '*.ali' -print0 2>/dev/null | xargs -0r chmod uga-w
dh_installdeb
install -d debian/harbour/DEBIAN
sed s/#DEBHELPER#// < debian/postinst > debian/harbour/DEBIAN/postinst
chmod 0755 -- debian/harbour/DEBIAN/postinst
chown 0:0 -- debian/harbour/DEBIAN/postinst
sed s/#DEBHELPER#// < debian/postrm > debian/harbour/DEBIAN/postrm
chmod 0755 -- debian/harbour/DEBIAN/postrm
chown 0:0 -- debian/harbour/DEBIAN/postrm
dh_installdeb: Compatibility levels before 9 are deprecated (level 5 in use)
find debian/harbour/etc -type f -printf '/etc/%P
' | LC_ALL=C sort >> debian/harbour/DEBIAN/conffiles
chmod 0644 -- debian/harbour/DEBIAN/conffiles
chown 0:0 -- debian/harbour/DEBIAN/conffiles
install -d debian/harbour-dbg/DEBIAN
dh_shlibdeps
dpkg-shlibdeps -Tdebian/harbour.substvars debian/harbour/usr/bin/harbour debian/harbour/usr/bin/hbnetio debian/harbour/usr/bin/hbrun debian/harbour/usr/bin/hbmk2 debian/harbour/usr/bin/hbformat debian/harbour/usr/bin/hbtest debian/harbour/usr/bin/hbi18n debian/harbour/usr/bin/hbdoc debian/harbour/usr/bin/hbpp debian/harbour/usr/bin/hbspeed debian/harbour/usr/lib/harbour/libharbour.so.3.4.0
dpkg-shlibdeps: error: syntax error in debian/control at line 25: block lacks the 'Package' field
dh_shlibdeps: dpkg-shlibdeps -Tdebian/harbour.substvars debian/harbour/usr/bin/harbour debian/harbour/usr/bin/hbnetio debian/harbour/usr/bin/hbrun debian/harbour/usr/bin/hbmk2 debian/harbour/usr/bin/hbformat debian/harbour/usr/bin/hbtest debian/harbour/usr/bin/hbi18n debian/harbour/usr/bin/hbdoc debian/harbour/usr/bin/hbpp debian/harbour/usr/bin/hbspeed debian/harbour/usr/lib/harbour/libharbour.so.3.4.0 returned exit code 25
debian/rules:69: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 25...
hbmk2: Target up to date: ../lib/linux/gcc/libhbhpdf.a/home/pi/harbour-core/bin/linux/gcc/hbmk2 -lang=en -quiet -width=0 -autohbm- @../config/hbpre -inc ./sddfb/sddfb.hbp @../config/hbposthbmk2: Processing: ../contrib/rddsql/rddsql.hbchbmk2: Compilation threads: 1hbmk2 [sddfb]: Error: Missing dependency: firebirdhbmk2 [sddfb]: Hint: Install deb package: firebird2.5-devhbmk2 [sddfb]: Exit code: 10: dependency missing or disabled/home/pi/harbour-core/bin/linux/gcc/hbmk2 -lang=en -quiet -width=0 -autohbm- @../config/hbpre -inc ./hbrun/hbrun.hbp @../config/hbposthbmk2: Processing: ../package/harbour.hbchbmk2: Processing: ../contrib/hbcrypto/hbcrypto.hbchbmk2: Processing: ../contrib/hbcrypto/3rd/ed25519/ed25519.hbchbmk2: Processing: ../contrib/hbcrypto/3rd/scrypt/scrypt.hbchbmk2: Processing: ../contrib/hbct/hbct.hbchbmk2: Processing: ../contrib/hbexpat/hbexpat.hbchbmk2: Processing: ../contrib/hbexpat/3rd/expat/expat.hbchbmk2: Processing: ../contrib/hbmzip/hbmzip.hbchbmk2: Processing: ../contrib/hbmzip/3rd/minizip/minizip.hbchbmk2: Processing: ../contrib/hbtip/hbtip.hbchbmk2: Processing: ../contrib/hbbz2io/hbbz2io.hbchbmk2: Processing: ../contrib/hbbz2/hbbz2.hbchbmk2: Processing: ../contrib/hbbz2/3rd/bz2/bz2.hbchbmk2: Processing: ../contrib/hbcomio/hbcomio.hbchbmk2: Processing: ../contrib/hbgzio/hbgzio.hbchbmk2: Processing: ../contrib/hbmemio/hbmemio.hbchbmk2: Processing: ../contrib/hbnetio/hbnetio.hbchbmk2: Processing: ../contrib/hbpipeio/hbpipeio.hbchbmk2: Processing: ../contrib/hbtcpio/hbtcpio.hbchbmk2: Processing: ../contrib/hbunix/hbunix.hbchbmk2: Compilation threads: 1hbmk2: Linking... ../bin/linux/gcc/hbrunhbmk2: Linker command:gcc ../bin/linux/gcc/.hbmk/hbrun/hbmk2.o '../bin/linux/gcc/.hbmk/hbrun/_hbmkaut_hbmk2.o' -Wl,-z,relro,-z,now -Wl,--start-group -lhbcrypto -led25519 -lscrypt -lhbct -lhbexpat -lexpat -lhbmzip -lminizip -lhbtip -lhbbz2io -lhbbz2 -lbz2 -lhbcomio -lhbgzio -lhbmemio -lhbnetio -lhbpipeio -lhbtcpio -lhbunix -lhbcplr -lhbdebug -lharbour -Wl,--end-group -o../bin/linux/gcc/hbrun -L../lib/linux/gcc/usr/bin/ld: ../lib/linux/gcc/libminizip.a(unzip.o): undefined reference to symbol 'inflateInit2_'//lib/arm-linux-gnueabihf/libz.so.1: error adding symbols: DSO missing from command linecollect2: error: ld returned 1 exit statushbmk2 [hbrun]: Error: Running linker. 1gcc ../bin/linux/gcc/.hbmk/hbrun/hbmk2.o '../bin/linux/gcc/.hbmk/hbrun/_hbmkaut_hbmk2.o' -Wl,-z,relro,-z,now -Wl,--start-group -lhbcrypto -led25519 -lscrypt -lhbct -lhbexpat -lexpat -lhbmzip -lminizip -lhbtip -lhbbz2io -lhbbz2 -lbz2 -lhbcomio -lhbgzio -lhbmemio -lhbnetio -lhbpipeio -lhbtcpio -lhbunix -lhbcplr -lhbdebug -lharbour -Wl,--end-group -o../bin/linux/gcc/hbrun -L../lib/linux/gcchbmk2 [hbrun]: Exit code: 7: failed in final assembly (linker or library manager)! Finished build...Makefile:8: recipe for target 'first' failedmake[2]: *** [first] Error 7make[2]: Leaving directory '/home/pi/harbour-core/contrib'config/dir.mk:71: recipe for target 'contrib' failedmake[1]: *** [contrib] Error 2make[1]: Leaving directory '/home/pi/harbour-core'debian/rules:39: recipe for target 'build-stamp' failedmake: *** [build-stamp] Error 2
fakeroot debian/rules binaryThanks Viktor, i don't suspect any bug, is (much) more probable that i'm doing something wrong :)
Harbour Compatibility and Regression Test Suite
Copyright (c) 1999-2017, Viktor Szakats
---------------------------------------------------------------------------
Version: Harbour 3.4.0dev (aed913a) (2017-03-12 19:55)
Compiler: GNU C 4.9.2 (32-bit)
OS: Linux 4.9.13+ armv6l
Date, Time: 2017-03-13 14:59:28
Shortcut opt.: On
Switches:
===========================================================================
R No. Line TestCall() -> Result | Expected
---------------------------------------------------------------------------
! 2 MAIN_HVM(55) Asc( Chr( -100000.0 ) )
Result: 0
Expected: 96
! 4 MAIN_HVM(57) Asc( Chr( dNegHigh ) )
Result: 0
Expected: 96
! 6 MAIN_HVM(60) Asc( hb_BChar( -100000.0 ) )
Result: 0
Expected: 96
! 8 MAIN_HVM(62) Asc( hb_BChar( dNegHigh ) )
Result: 0
Expected: 96
! 10 MAIN_HVM(64) hb_SToD( "20170310" ) - -100000.0
Result: hb_SToD("20170310")
Expected: hb_SToD("22901224")
! 12 MAIN_HVM(67) hb_SToD( "20170310" ) + -100000.0
Result: hb_SToD("20170310")
Expected: hb_SToD("17430526")
! 14 MAIN_HVM(69) -100000.0 + hb_SToD( "20170310" )
Result: hb_SToD("20170310")
Expected: hb_SToD("17430526")
! 16 MAIN_HVM(72) hb_SToD( "20170310" ) - dNegHigh
Result: hb_SToD("20170310")
Expected: hb_SToD("22901224")
! 18 MAIN_HVM(75) hb_SToD( "20170310" ) + dNegHigh
Result: hb_SToD("20170310")
Expected: hb_SToD("17430526")
! 20 MAIN_HVM(77) dNegHigh + hb_SToD( "20170310" )
Result: hb_SToD("20170310")
Expected: hb_SToD("17430526")
! 1378 MAIN_STR(179) Chr( -10000000.0 )
Result: "" + Chr( 0 ) + ""
Expected: "▒"
===========================================================================
Test calls passed: 5045 ( 99.78 % )
Test calls failed: 11 ( 0.22 % )
----------
Total: 5056 ( Time elapsed: 1.49 seconds )
WARNING: Failures detected
We can close here... :)After a bunch of tests the build works pretty well after a simple:"sudo make clean install"I have abandoned the idea of using the deb toolchain, and now it works great.
With the lastest "git pull" i have a few more errors on "hbtest" but i know is transitory.The project changes hour by hour...