[Pkg-electronics-devel] Bug#1119756: opensta: FTBFS: /<<PKGBUILDDIR>>/app/StaApp_wrap.cc:7054:7: error: '$function' was not declared in this scope

Santiago Vila sanvila at debian.org
Fri Oct 31 11:29:03 GMT 2025


Package: src:opensta
Version: 0~20191111gitc018cb2+dfsg-1.1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202510/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:opensta, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
rm -f app/StaApp_wrap.cc
rm -f app/TclInitVar.cc
rm -f app/libOpenSTA.a
rm -f app/sta
rm -f liberty/LibertyExprLex.cc
rm -f liberty/LibertyExprLex.hh
rm -f liberty/LibertyExprParse.cc
rm -f liberty/LibertyExprParse.hh
rm -f liberty/LibertyLex.cc
rm -f liberty/LibertyLex.hh

[... snipped ...]

34042 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_unset_clock_groups_asynchronous(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34077:7: error: ‘$function’ was not declared in this scope
34077 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_same_clk_group(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34120:7: error: ‘$function’ was not declared in this scope
34120 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_set_clock_sense_cmd(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34176:7: error: ‘$function’ was not declared in this scope
34176 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_timing_role_is_check(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34214:7: error: ‘$function’ was not declared in this scope
34214 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_find_fanin_pins(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34291:7: error: ‘$function’ was not declared in this scope
34291 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_find_fanin_insts(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34379:7: error: ‘$function’ was not declared in this scope
34379 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_find_fanout_pins(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34467:7: error: ‘$function’ was not declared in this scope
34467 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_find_fanout_insts(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34555:7: error: ‘$function’ was not declared in this scope
34555 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_net_load_pins(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34599:7: error: ‘$function’ was not declared in this scope
34599 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_net_driver_pins(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34643:7: error: ‘$function’ was not declared in this scope
34643 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_report_loops(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34677:7: error: ‘$function’ was not declared in this scope
34677 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_network_instance_count(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34702:7: error: ‘$function’ was not declared in this scope
34702 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_network_pin_count(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34727:7: error: ‘$function’ was not declared in this scope
34727 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_network_net_count(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34752:7: error: ‘$function’ was not declared in this scope
34752 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_network_leaf_instance_count(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34777:7: error: ‘$function’ was not declared in this scope
34777 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_network_leaf_pin_count(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34802:7: error: ‘$function’ was not declared in this scope
34802 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_graph_vertex_count(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34827:7: error: ‘$function’ was not declared in this scope
34827 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_graph_edge_count(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34852:7: error: ‘$function’ was not declared in this scope
34852 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_graph_arc_count(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34877:7: error: ‘$function’ was not declared in this scope
34877 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_tag_group_count(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34902:7: error: ‘$function’ was not declared in this scope
34902 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_report_tag_groups(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34925:7: error: ‘$function’ was not declared in this scope
34925 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_report_tag_arrivals_cmd(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34957:7: error: ‘$function’ was not declared in this scope
34957 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_report_arrival_count_histogram(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:34980:7: error: ‘$function’ was not declared in this scope
34980 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_tag_count(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35005:7: error: ‘$function’ was not declared in this scope
35005 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_report_tags(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35028:7: error: ‘$function’ was not declared in this scope
35028 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_report_clk_infos(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35051:7: error: ‘$function’ was not declared in this scope
35051 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_clk_info_count(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35076:7: error: ‘$function’ was not declared in this scope
35076 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_arrival_count(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35101:7: error: ‘$function’ was not declared in this scope
35101 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_delete_all_memory(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35124:7: error: ‘$function’ was not declared in this scope
35124 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_tcl_interp(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35149:7: error: ‘$function’ was not declared in this scope
35149 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_init_sta(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35172:7: error: ‘$function’ was not declared in this scope
35172 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_clear_sta(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35195:7: error: ‘$function’ was not declared in this scope
35195 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_make_sta(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35227:7: error: ‘$function’ was not declared in this scope
35227 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_clear_network(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35250:7: error: ‘$function’ was not declared in this scope
35250 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_elapsed_run_time(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35275:7: error: ‘$function’ was not declared in this scope
35275 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_user_run_time(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35300:7: error: ‘$function’ was not declared in this scope
35300 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_cputime(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35325:7: error: ‘$function’ was not declared in this scope
35325 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_mem(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35350:7: error: ‘$function’ was not declared in this scope
35350 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_processor_count(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35375:7: error: ‘$function’ was not declared in this scope
35375 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_thread_count(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35400:7: error: ‘$function’ was not declared in this scope
35400 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_set_thread_count(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35432:7: error: ‘$function’ was not declared in this scope
35432 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_arrivals_invalid(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35455:7: error: ‘$function’ was not declared in this scope
35455 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_read_verilog(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35489:7: error: ‘$function’ was not declared in this scope
35489 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_delete_verilog_reader(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35514:7: error: ‘$function’ was not declared in this scope
35514 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_write_verilog_cmd(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35555:7: error: ‘$function’ was not declared in this scope
35555 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_make_instance_cmd(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35607:7: error: ‘$function’ was not declared in this scope
35607 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_delete_instance_cmd(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35644:7: error: ‘$function’ was not declared in this scope
35644 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_replace_cell_cmd(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35684:7: error: ‘$function’ was not declared in this scope
35684 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_make_net_cmd(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35726:7: error: ‘$function’ was not declared in this scope
35726 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_delete_net_cmd(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35763:7: error: ‘$function’ was not declared in this scope
35763 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_connect_pin_cmd(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35811:7: error: ‘$function’ was not declared in this scope
35811 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_disconnect_pin_cmd(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35843:7: error: ‘$function’ was not declared in this scope
35843 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_read_sdf_file_single(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:35951:7: error: ‘$function’ was not declared in this scope
35951 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_read_sdf_file_min_max(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:36071:7: error: ‘$function’ was not declared in this scope
36071 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_report_annotated_delay_cmd(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:36163:7: error: ‘$function’ was not declared in this scope
36163 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_report_annotated_check_cmd(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:36283:7: error: ‘$function’ was not declared in this scope
36283 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_write_sdf_cmd(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:36364:7: error: ‘$function’ was not declared in this scope
36364 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_delay_calc_names(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:36391:7: error: ‘$function’ was not declared in this scope
36391 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_is_delay_calc_name(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:36436:7: error: ‘$function’ was not declared in this scope
36436 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_set_delay_calculator_cmd(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:36471:7: error: ‘$function’ was not declared in this scope
36471 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_set_delay_calc_incremental_tolerance(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:36505:7: error: ‘$function’ was not declared in this scope
36505 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_read_spef_cmd(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:36630:7: error: ‘$function’ was not declared in this scope
36630 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_find_pi_elmore(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:36689:7: error: ‘$function’ was not declared in this scope
36689 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_find_elmore(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:36765:7: error: ‘$function’ was not declared in this scope
36765 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_set_pi_model_cmd(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:36845:7: error: ‘$function’ was not declared in this scope
36845 |       $function
      |       ^~~~~~~~~
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc: In function ‘int _wrap_set_elmore_cmd(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
/<<PKGBUILDDIR>>/app/StaApp_wrap.cc:36917:7: error: ‘$function’ was not declared in this scope
36917 |       $function
      |       ^~~~~~~~~
[ 12%] Building CXX object CMakeFiles/OpenSTA.dir/dcalc/DmpCeff.cc.o
/usr/bin/c++  -I"/<<PKGBUILDDIR>>/app" -I"/<<PKGBUILDDIR>>/dcalc" -I"/<<PKGBUILDDIR>>/graph" -I"/<<PKGBUILDDIR>>/liberty" -I"/<<PKGBUILDDIR>>/network" -I"/<<PKGBUILDDIR>>/parasitics" -I"/<<PKGBUILDDIR>>/sdc" -I"/<<PKGBUILDDIR>>/sdf" -I"/<<PKGBUILDDIR>>/search" -I"/<<PKGBUILDDIR>>/util" -I"/<<PKGBUILDDIR>>/verilog" -I/usr/include/tcl -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -Wall -Wextra -pedantic -Wcast-qual -Wredundant-decls -Wformat-security -MD -MT CMakeFiles/OpenSTA.dir/dcalc/DmpCeff.cc.o -MF CMakeFiles/OpenSTA.dir/dcalc/DmpCeff.cc.o.d -o CMakeFiles/OpenSTA.dir/dcalc/DmpCeff.cc.o -c "/<<PKGBUILDDIR>>/dcalc/DmpCeff.cc"
make[3]: *** [CMakeFiles/OpenSTA.dir/build.make:213: CMakeFiles/OpenSTA.dir/app/StaApp_wrap.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:94: CMakeFiles/OpenSTA.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-electronics-devel mailing list