Opened 15 years ago
Closed 2 years ago
#22393 closed defect (fixed)
splint @3.1.2: cat: signature.tab.c: No such file or directory
Reported by: | rgovostes@… | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | blb@…, ballapete (Peter "Pete" Dyballa) | |
Port: | splint |
Description
Under 10.6, splint 3.1.2 fails with missing files ("signature.tab.c").
The file should be created by bison, per the Makefile:
$(BISON) $(YFLAGS) -p lsl signature.y
If I run this command manually, it works fine, so I'm not sure what the issue is.
Attachments (2)
Change History (12)
Changed 15 years ago by rgovostes@…
Attachment: | split-build.txt added |
---|
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to waqar@… |
---|---|
Port: | splint added |
comment:2 Changed 15 years ago by blb@…
Cc: | blb@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fails for me as well, but in a definitely different way, so seems like a parallel build issue; disabled such in r60585.
comment:3 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
The bug is back on Big Sur
, macOS Version 11.2:
Making all in src make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_splint/splint/work/splint-3.1.2/src' * Making signature.c signature.y:59.1-12: warning: deprecated directive: ‘%pure_parser’, use ‘%define api.pure’ [-Wdeprecated] 59 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure signature.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] grep "FLG_" flags.def > Headers/flag_codes.gen /Library/Developer/CommandLineTools/usr/bin/make make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_splint/splint/work/splint-3.1.2/src' Compiling cgrammar.c... Compiling cscanner.c... Compiling mtscanner.c... Compiling mtgrammar.c... Compiling llgrammar.c... Compiling signature.c... signature.c:181:10: fatal error: 'signature.tab.h' file not found #include "signature.tab.h" ^~~~~~~~~~~~~~~~~ 1 error generated. make[3]: *** [signature.o] Error 1 make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_splint/splint/work/splint-3.1.2/src'
The file name signature.o
comes from signature.c
.
comment:4 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
Cc: | ballapete added |
---|
Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
Attachment: | patch-src_signature.y.diff added |
---|
Patch to fix warning
comment:5 Changed 4 years ago by mf2k (Frank Schima)
Owner: | waqar@… deleted |
---|---|
Status: | reopened → assigned |
comment:6 follow-up: 7 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
I installed automake17
and ran configure
with the options ACLOCAL=/opt/local/bin/aclocal-17 AUTOMAKE=/opt/local/bin/automake-17
– no change. So I am going to try other versions of automake
– http://splint.org/bugs.html claims that automake
makes the difference…
comment:8 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
With autoconf264
the build process happens to find that C header file:
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive Making all in src Compiling cgrammar.c... Compiling cscanner.c... Compiling mtscanner.c... Compiling mtgrammar.c... Compiling llgrammar.c... Compiling signature.c... Compiling cppmain.c...
but it fails later:
Compiling importNodeList.c... Compiling tokentable.c... Compiling scan.c... In file included from scan.c:49: Headers/scan.h:11:29: error: unknown type name 'YYSTYPE' extern unsigned int lsllex (YYSTYPE *p_lval); ^ scan.c:61:22: error: unknown type name 'YYSTYPE' unsigned int lsllex (YYSTYPE *lval) ^ 2 errors generated. make[2]: *** [scan.o] Error 1
comment:9 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
An eMail containing a bug report (to info@…) returned. splint
seems to be dead.
comment:10 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Summary: | splint 3.1.2 does not build → splint @3.1.2: cat: signature.tab.c: No such file or directory |
Let's not reopen this ancient ticket which was about a different error message and which had apparently been fixed for over a decade. The new error is now being tracked in #66311.
Please remember to fill in the port field and cc the maintainer, as per the ticket guidelines.