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

Bug#815738: libspectre: FTBFS: spectre-gs.c:46:9: error: 'e_Fatal' undeclared (first use in this function)



Source: libspectre
Version: 0.2.7-3
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Dear Maintainer,

libspectre fails to build from source in unstable/amd64:

  [..]

  libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c spectre-device.c  -fPIC -DPIC -o .libs/libspectre_la-spectre-device.o
  spectre-gs.c: In function 'critic_error_code':
  spectre-gs.c:46:9: error: 'e_Fatal' undeclared (first use in this function)
      case e_Fatal:
           ^
  spectre-gs.c:46:9: note: each undeclared identifier is reported only once for each function it appears in
  spectre-gs.c:51:9: error: 'e_ExecStackUnderflow' undeclared (first use in this function)
      case e_ExecStackUnderflow:
           ^
  spectre-gs.c: In function 'spectre_gs_process':
  spectre-gs.c:112:20: error: 'e_NeedInput' undeclared (first use in this function)
     error = error == e_NeedInput ? 0 : error;
                      ^
  libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c spectre-page.c -o libspectre_la-spectre-page.o >/dev/null 2>&1
  libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c spectre-exporter-ps.c  -fPIC -DPIC -o .libs/libspectre_la-spectre-exporter-ps.o
  Makefile:530: recipe for target 'libspectre_la-spectre-gs.lo' failed
  make[3]: *** [libspectre_la-spectre-gs.lo] Error 1
  make[3]: *** Waiting for unfinished jobs....


  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-

Attachment: libspectre.0.2.7-3.unstable.amd64.log.txt.gz
Description: Binary data


Reply to: