Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2016-06

fpc svn trunk building fails

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Sandro Cumerlato

Hello,
fpc svn trunk version 33910 building fails with error:

Start compiling package fcl-db for target i386-win32. Warning: Circular dependency detected when compiling target dbf_fields with target dbf_dbffile
Warning: Circular dependency detected when compiling target dbf_memo with target dbf_dbffile
Warning: Circular dependency detected when compiling target dbf_parser with target dbf
Warning: Circular dependency detected when compiling target dbf_parser with target dbf_dbffile
Warning: Circular dependency detected when compiling target dbf_idxfile with target dbf_dbffile
Compiling fcl-db\BuildUnit_fcl_db.pp
Compiling .\fcl-db\src\base\dbconst.pas
Compiling .\fcl-db\src\base\db.pas
Compiling .\fcl-db\src\dbase\dbf_prssupp.pas
Compiling .\fcl-db\src\dbase\dbf_prsdef.pas
Compiling .\fcl-db\src\dbase\dbf_prscore.pas
Compiling .\fcl-db\src\base\bufdataset_parser.pp
Compiling .\fcl-db\src\base\bufdataset.pas
Compiling .\fcl-db\src\base\sqlscript.pp
Compiling .\fcl-db\src\base\sqltypes.pp
Compiling .\fcl-db\src\sqldb\sqldb.pp
Compiling .\fcl-db\src\base\csvdataset.pp
Compiling .\fcl-db\src\base\dbcoll.pp
Compiling .\fcl-db\src\base\dbwhtml.pp
Compiling .\fcl-db\src\base\xmldatapacketreader.pp Compiling .\fcl-db\src\dbase\dbf_wtil.pas
Compiling .\fcl-db\src\dbase\dbf_common.pas
Compiling .\fcl-db\src\dbase\dbf_str.pas
Compiling .\fcl-db\src\dbase\dbf_pgfile.pas
Compiling .\fcl-db\src\dbase\dbf_cursor.pas
Compiling .\fcl-db\src\dbase\dbf_fields.pas
Compiling .\fcl-db\src\dbase\dbf_dbffile.pas
Compiling .\fcl-db\src\dbase\dbf_memo.pas
Compiling .\fcl-db\src\dbase\dbf_dbffile.pas
Compiling .\fcl-db\src\dbase\dbf_idxfile.pas
Compiling .\fcl-db\src\dbase\dbf_parser.pas
Compiling .\fcl-db\src\dbase\dbf.pas
Compiling .\fcl-db\src\dbase\dbf_dbffile.pas
Compiling .\fcl-db\src\dbase\dbf_idxfile.pas
Compiling .\fcl-db\src\dbase\dbf_collate.pas
Compiling .\fcl-db\src\dbase\dbf_lang.pas
Compiling .\fcl-db\src\dbase\dbf_dbffile.pas
Compiling .\fcl-db\src\dbase\dbf_idxcur.pas
Compiling .\fcl-db\src\datadict\fpdatadict.pp
Compiling .\fcl-db\src\codegen\fpddcodegen.pp
Compiling .\fcl-db\src\codegen\fpcgcreatedbf.pp
Compiling .\fcl-db\src\codegen\fpcgdbcoll.pp
Compiling .\fcl-db\src\codegen\fpcgsqlconst.pp
Compiling .\fcl-db\src\codegen\fpcgtiopf.pp
Compiling .\fcl-db\src\export\fpdbexport.pp
Compiling .\fcl-db\src\export\fpcsvexport.pp
Compiling .\fcl-db\src\export\fpdbfexport.pp
Compiling .\fcl-db\src\codegen\fpddpopcode.pp
Compiling .\fcl-db\src\datadict\fpdddiff.pp
Compiling .\fcl-db\src\datadict\fpdddbf.pp
Compiling .\fcl-db\src\datadict\fpddsqldb.pp
Compiling .\fcl-db\src\sqldb\interbase\ibconnection.pp Compiling .\fcl-db\src\datadict\fpddfb.pp
Compiling .\fcl-db\src\sqldb\mysql\mysql40conn.pas Compiling .\fcl-db\src\datadict\fpddmysql40.pp
Compiling .\fcl-db\src\sqldb\mysql\mysql41conn.pas Compiling .\fcl-db\src\datadict\fpddmysql41.pp
Compiling .\fcl-db\src\sqldb\mysql\mysql50conn.pas Compiling .\fcl-db\src\datadict\fpddmysql50.pp
Compiling .\fcl-db\src\sqldb\mysql\mysql51conn.pas Compiling .\fcl-db\src\datadict\fpddmysql51.pp
Compiling .\fcl-db\src\sqldb\mysql\mysql55conn.pas Compiling .\fcl-db\src\datadict\fpddmysql55.pp
Compiling .\fcl-db\src\sqldb\odbc\odbcconn.pas
Compiling .\fcl-db\src\datadict\fpddodbc.pp
Compiling .\fcl-db\src\sqldb\oracle\oracleconnection.pp Compiling .\fcl-db\src\datadict\fpddoracle.pp
Compiling .\fcl-db\src\sqldb\postgres\pqconnection.pp Compiling .\fcl-db\src\datadict\fpddpq.pp
Compiling .\fcl-db\src\sqldb\mssql\mssqlconn.pp
Compiling .\fcl-db\src\datadict\fpddmssql.pp
Compiling .\fcl-db\src\sqldb\sqlite\sqlite3conn.pp Compiling .\fcl-db\src\datadict\fpddsqlite3.pp
Compiling .\fcl-db\src\datadict\fpddregstd.pp
Compiling .\fcl-db\src\sqlite\customsqliteds.pas
Compiling .\fcl-db\src\export\fpfixedexport.pp
Compiling .\fcl-db\src\export\fprtfexport.pp
Compiling .\fcl-db\src\export\fpsimplejsonexport.pp Compiling .\fcl-db\src\export\fpsimplexmlexport.pp Compiling .\fcl-db\src\export\fpsqlexport.pp
Compiling .\fcl-db\src\export\fptexexport.pp
Compiling .\fcl-db\src\export\fpstdexports.pp
Compiling .\fcl-db\src\export\fpxmlxsdexport.pp
Compiling .\fcl-db\src\sqldb\interbase\fbadmin.pp
The installer encountered the following error:
Compilation of "BuildUnit_fcl_db.pp" failed
make[2]: Leaving directory `C:/freepascal/fpc/trunk/packages' make[1]: Leaving directory `C:/freepascal/fpc/trunk'

Please take a look.

Best regards,
Sandro Cumerlato

Karoly Balogh (Charlie/SGR
to Sandro Cumerlato

Hi,

Sandro Cumerlato wrote 8 lines
fpc svn trunk version 33910 building fails with error: *..snip..* Compiling .\fcl-db\src\export\fpxmlxsdexport.pp Compiling .\fcl-db\src\sqldb\interbase\fbadmin.pp The installer encountered the following error: Compilation of "BuildUnit_fcl_db.pp" failed make[2]: Leaving directory `C:/freepascal/fpc/trunk/packages' make[1]: Leaving directory `C:/freepascal/fpc/trunk'

Actually, another issue is, since when does fpmake hide the compiler output on failures? Because fbadmin.pp is obviously broken, so there should be compiler errors. For a starter, it has the wrong unit name (fbadmin2), but even with that fixed, it doesn't compile.

But there isn't a single line of error message in the fpmake output, while there used to be (IIRC)...

Please take a look.

Actually, we should have automated builds, so these kind of breakages are noticed, but thanks for the report anyway. :)

Charlie

Michael Van Canneyt
to Karoly Balogh (Charlie/SGR
Karoly Balogh wrote 20 lines
Hi, On Sun, 5 Jun 2016, Sandro Cumerlato wrote: > fpc svn trunk version 33910 building fails with error: > *..snip..* > Compiling .\fcl-db\src\export\fpxmlxsdexport.pp > Compiling .\fcl-db\src\sqldb\interbase\fbadmin.pp > The installer encountered the following error: > Compilation of "BuildUnit_fcl_db.pp" failed > make[2]: Leaving directory `C:/freepascal/fpc/trunk/packages' > make[1]: Leaving directory `C:/freepascal/fpc/trunk' Actually, another issue is, since when does fpmake hide the compiler output on failures? Because fbadmin.pp is obviously broken, so there should be compiler errors. For a starter, it has the wrong unit name (fbadmin2), but even with that fixed, it doesn't compile. But there isn't a single line of error message in the fpmake output, while there used to be (IIRC)...

I fixed the error; I implemented additional features in a copy named fbadmin2.pp, and after verifying the implementation simply copied over the file, but forgot to change the unit name.

Rev 33913 contains a fix.

See also http://bugs.freepascal.org/view.php?id=30238

Michael.