[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1.2.0RC1 Build test fails



Ok.  Try creating the ledger-smb.conf file first.  This would be done
by copying the ledger-smb.conf.default to that name.  Then edit it to
point to your central database.  The documentation is a little
misleading because you need to do the rest of installation before the
build test will complete successfully.  This will be corrected in rc3
(scheduled for release tonight).

Best Wishes,
Chris Travers

On 3/6/07, John Hasler <..hidden..> wrote:
I downloaded ledger-smb-1.2.0rc1.tar.gz, unpacked it, installed the
dependencies from the Debian archive (Unstable), ran 'perl Build.PL' with no
errors, and then ran './Build test' with the following results:

t/01-load...............Useless use of a variable in void context at /home/john/ledgersmb/ledger-smb/LedgerSMB/Form.pm line 1264.
Useless use of a variable in void context at /home/john/ledgersmb/ledger-smb/LedgerSMB/Form.pm line 1264.
Useless use of private variable in void context at /home/john/ledgersmb/ledger-smb/LedgerSMB/Form.pm line 1597.
Too late to run CHECK block at /usr/local/share/perl/5.8.8/Class/Std.pm line 359.

#   Failed test 'use LedgerSMB::AA;'
#   in t/01-load.t at line 7.
#     Tried to use 'LedgerSMB::AA'.
#     Error:  Can't open config file 'ledger-smb.conf' (no such file or directory) at /home/john/ledgersmb/ledger-smb/LedgerSMB/Sysconfig.pm line 65
# Compilation failed in require at /home/john/ledgersmb/ledger-smb/LedgerSMB/AA.pm line 37.
# BEGIN failed--compilation aborted at t/01-load.t line 7.
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at (eval 3) line 2.
t/01-load...............NOK 1"my" variable $myconfig masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/AM.pm line 1351.
Possible attempt to separate words with commas at /home/john/ledgersmb/ledger-smb/LedgerSMB/AM.pm line 1700.
"my" variable $sth masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/BP.pm line 63.
Useless use of hash element in void context at /home/john/ledgersmb/ledger-smb/LedgerSMB/BP.pm line 112.
t/01-load...............ok 2/30"my" variable $accno masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/CA.pm line 452.
/ / should probably be written as " " at /home/john/ledgersmb/ledger-smb/LedgerSMB/Num2text.pm line 140.
/ / should probably be written as " " at /home/john/ledgersmb/ledger-smb/LedgerSMB/Num2text.pm line 229.
/ / should probably be written as " " at /home/john/ledgersmb/ledger-smb/LedgerSMB/Num2text.pm line 341.
/ / should probably be written as " " at /home/john/ledgersmb/ledger-smb/LedgerSMB/Num2text.pm line 427.
/ / should probably be written as " " at /home/john/ledgersmb/ledger-smb/LedgerSMB/Num2text.pm line 554.
/ / should probably be written as " " at /home/john/ledgersmb/ledger-smb/LedgerSMB/Num2text.pm line 692.
/ / should probably be written as " " at /home/john/ledgersmb/ledger-smb/LedgerSMB/Num2text.pm line 782.
/ / should probably be written as " " at /home/john/ledgersmb/ledger-smb/LedgerSMB/Num2text.pm line 870.
/ / should probably be written as " " at /home/john/ledgersmb/ledger-smb/LedgerSMB/Num2text.pm line 960.
"my" variable $sth masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/CP.pm line 407.
t/01-load...............ok 5/30Unquoted string "id" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/GL.pm line 402.
Unquoted string "transdate" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/GL.pm line 402.
Unquoted string "reference" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/GL.pm line 402.
Unquoted string "source" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/GL.pm line 402.
Unquoted string "description" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/GL.pm line 402.
Unquoted string "accno" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/GL.pm line 402.
"my" variable $query masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/GL.pm line 405.
"my" variable $sth masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/GL.pm line 445.
Unquoted string "dbh" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/IC.pm line 1175.
Unquoted string "so" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/IC.pm line 1722.
Unquoted string "po" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/IC.pm line 1722.
t/01-load...............ok 10/30"my" variable $allocated masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/IR.pm line 153.
"my" variable $sth masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/IR.pm line 922.
"my" variable $sth masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/IR.pm line 930.
"my" variable $sth masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/IR.pm line 943.
"my" variable $tax masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/IS.pm line 77.
Unquoted string "projectnumber" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/IS.pm line 162.
Using a hash as a reference is deprecated at /home/john/ledgersmb/ledger-smb/LedgerSMB/IS.pm line 810.
Useless use of private variable in void context at /home/john/ledgersmb/ledger-smb/LedgerSMB/IS.pm line 1560.
"my" variable $query masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/IS.pm line 1581.
"my" variable $sth masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/IS.pm line 1587.
"my" variable $sth masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/JC.pm line 344.
"my" variable $sth masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/JC.pm line 361.
Useless use of hash element in void context at /home/john/ledgersmb/ledger-smb/LedgerSMB/JC.pm line 373.
Unquoted string "transdate" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/JC.pm line 447.
Unquoted string "projectnumber" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/JC.pm line 447.
"my" variable $query masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/OE.pm line 79.
Unquoted string "transdate" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/OE.pm line 110.
Unquoted string "name" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/OE.pm line 110.
Unquoted string "projectnumber" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/OE.pm line 1109.
"my" variable $null masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/OE.pm line 1766.
Unquoted string "partnumber" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/OE.pm line 2041.
Unquoted string "warehouse" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/OE.pm line 2041.
"my" variable $count masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/PE.pm line 453.
Unquoted string "partsgroup" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/PE.pm line 989.
Unquoted string "pricegroup" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/PE.pm line 1093.
"my" variable $query masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/RC.pm line 60.
"my" variable $sth masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/RC.pm line 65.
Unquoted string "dbh" may clash with future reserved word at /home/john/ledgersmb/ledger-smb/LedgerSMB/RP.pm line 714.
"my" variable $query masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/RP.pm line 1643.
"my" variable $query masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/RP.pm line 1698.
"my" variable $sth masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/RP.pm line 1705.
Possible unintended interpolation of @' in string at /home/john/ledgersmb/ledger-smb/LedgerSMB/Session/DB.pm line 81.
"my" variable $query masks earlier declaration in same scope at /home/john/ledgersmb/ledger-smb/LedgerSMB/User.pm line 871.
# Looks like you failed 1 test of 30.
t/01-load...............dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/30 tests, 96.67% okay
t/02-number-handling....Can't open config file 'ledger-smb.conf' (no such file or directory) at /home/john/ledgersmb/ledger-smb/LedgerSMB/Sysconfig.pm line 65
Compilation failed in require at /home/john/ledgersmb/ledger-smb/LedgerSMB/Form.pm line 37.
BEGIN failed--compilation aborted at /home/john/ledgersmb/ledger-smb/LedgerSMB/Form.pm line 37.
Compilation failed in require at t/02-number-handling.t line 8.
BEGIN failed--compilation aborted at t/02-number-handling.t line 8.
# Looks like your test died before it could output anything.
t/02-number-handling....dubious
        Test returned status 255 (wstat 65280, 0xff00)
Failed Test            Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/01-load.t               1   256    30    1   3.33%  1
t/02-number-handling.t  255 65280    ??   ??       %  ??
Failed 2/2 test scripts, 0.00% okay. 1/30 subtests failed, 96.67% okay.



--
John Hasler
..hidden..
Elmwood, WI USA

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel