Page MenuHomeDevCentral

Build fbsql with BSD make
ClosedPublic

Authored by dereckson on Sat, Feb 7, 13:36.
Tags
None
Referenced Files
F23978695: D3912.id10141.diff
Sun, Feb 8, 07:40
F23978694: D3912.id10140.diff
Sun, Feb 8, 07:40
F23970224: D3912.id10141.diff
Sun, Feb 8, 06:04
F23970223: D3912.id10140.diff
Sun, Feb 8, 06:04
F23945323: D3912.diff
Sun, Feb 8, 02:46
Subscribers
None

Details

Summary

As of fda64dc4e58a, BSD make can correctly builds fbsql.

Test Plan

Deploy to WindRiver

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
fbsql-can-build-with-bsd-make (branched from main)
Build Status
Buildable 6245
Build 6529: arc lint + arc unit

Event Timeline

dereckson created this revision.
Complector
$ salt windriver state.apply roles/viperserv/fbsql
windriver:                                                                                                                                                                                                                                     
----------                                                                                                                                                                                                                                     
          ID: fbsql_repo                                                                                                                                                                                                                       
    Function: file.directory                                                                                                                                                                                                                   
        Name: /opt/fbsql                                                                                                                                                                                                                       
      Result: True                                                                                                                                                                                                                             
     Comment: The directory /opt/fbsql is in the correct state                                                                                                                                                                                 
     Started: 13:38:21.046436                                                                                                                                                                                                                  
    Duration: 19.35 ms                                                                                                                                                                                                                         
     Changes:                                                                                                                                                                                                                                  
----------                                                                                                                                                                                                                                     
          ID: fbsql_repo                                                                                                                                                                                                                       
    Function: git.latest                                                                                                                                                                                                                       
        Name: https://devcentral.nasqueron.org/source/fbsql.git
      Result: True                                                                                                                                                                                                                             
     Comment: https://devcentral.nasqueron.org/source/fbsql.git was fetched, resulting in updated refs. Repository was fast-forwarded to remote HEAD (fda64dc).
     Started: 13:38:21.094531
    Duration: 2715.47 ms
     Changes:                                
              ----------                                   
              revision:     
                  ----------
                  new:                                                                                                 
                      fda64dc4e58ad764fb1b1900a69071ab8506e109
                  old:                                                                                                 
                      33ab3b29e9cb19871c7e69b342bcef0b8f2121cc
----------               
          ID: fbsql_build                      
    Function: cmd.run                                      
        Name: make                                                                                                     
      Result: True              
     Comment: Command "make" run
     Started: 13:38:23.813914
    Duration: 3066.909 ms             
     Changes:                                
              ----------                      
              pid:                                                                                                     
                  87837                                                                                                
              retcode:                                                                                                 
                  0                               
              stderr:                                                                                                                                                                                                                          
                  fbsql.c:556:19: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast]
                    556 |         int sql_number = (int)sql_word;                                                      
                        |                          ^~~~~~~~~~~~~                                                                                                                                                                               
                  fbsql.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
                    599 | WaitVariableProc(clientData, interp, name1, name2, flags)
                        | ^                                                                                                                                                                                                                    
                  fbsql.c:610:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
                    610 | int fbWaitCmd(clientData, interp, argc, argv)
                        |     ^                                                                                                                                                                                                                
                  fbsql.c:680:53: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]                                                                                                    
                    680 |                         Tcl_CreateCommand (interp, command_name, SqlCmd, (ClientData) i, (Tcl_CmdDeleteProc*) NULL);
                        |                                                                          ^~~~~~~~~~~~~~
                  4 warnings generated.                    
              stdout:                                                                                                                                                                                                                          
                  cc  -O2 -pipe -Wall -fPIC -I/usr/local/include/mysql -I/usr/local/include/mysql/mysql -I/usr/local/include/tcl8.6 -c fbsql.c -o fbsql.o
                  ld -o fbsql.so    -lz -shared -L/usr/local/lib/mysql/ -lmariadb -L /usr/lib -L /usr/local/lib
----------
          ID: /srv/viperserv/lib/fbsql.so
    Function: file.symlink
      Result: True
     Comment: Symlink /srv/viperserv/lib/fbsql.so is present and owned by viperserv:nasqueron-irc
     Started: 13:38:26.881347
    Duration: 3.204 ms
     Changes:   

Summary for windriver
------------
Succeeded: 4 (changed=2)
Failed:    0
------------
Total states run:     4
Total run time:   5.805 s

Warnings in the compiler error log are coherent with T2213#34389.

This revision is now accepted and ready to land.Sat, Feb 7, 13:41
This revision was automatically updated to reflect the committed changes.