[MacPorts] #72356: lha @20211125_0: header.c:71:13: error: parameter 'len' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
MacPorts
noreply at macports.org
Wed May 20 15:15:07 UTC 2026
#72356: lha @20211125_0: header.c:71:13: error: parameter 'len' was not declared,
defaults to 'int'; ISO C99 and later do not support implicit int
[-Wimplicit-int]
----------------------------+---------------------
Reporter: ZsoltFerenczy | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords: sequoia
Port: lha |
----------------------------+---------------------
Comment (by maxC3):
Same issue compiling lha-20211125_1 on Tahoe
{{{
Attempting to fetch http://fco.it.packages.macports.org/lha/lha-
20211125_1.darwin_25.x86_64.tbz2
}}}
excerpt of main.log where the errors begin
{{{
:info:build /usr/bin/clang -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -DEUC
-DSUPPORT_LH7 -I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk -pipe -Os
-Wno-error=implicit-int
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk -arch
x86_64 -MT dhuf.o -MD -MP -MF .deps/dhuf.Tpo -c -o dhuf.o dhuf.c
:info:build bitio.c:15:9: error: unknown type name 'n'
:info:build append.c:12:14: error: unknown type name 'infp'
:info:build 15 | fillbuf(n) 12 | enco d e /* _Slhzihfutf
(biintfbpu,f on buittfsp ,l esfitz,e ,r eoardi gni nbailt_ss i*z/e_v
:info:build | ^ar
:info:build , packed_size_var,
:info:build | ^
:info:build bitio.c:15:11: error: expected ';' after top level declarator
:info:build 15 | fillbuf(n) /* Shift bitbuf n bits left,
readappend.c: 12n: 20b:i terror: sunknown type name 'outfp'
:info:build */
}}}
about 150 lines of syntax errors follow, then
{{{
:info:build 20 errors generated.
:info:build 20 errors generated.
:info:build 9 errors generated.
:info:build make[2]: *** [bitio.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[2]: *** [dhuf.o] Error 1
:info:build make[2]: *** [crcio.o] Error 1
:info:build make[2]: *** [append.o] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/lha-
2d6520ce/work/lha-20211125/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/lha-
2d6520ce/work/lha-20211125'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/lha-
2d6520ce/work/lha-20211125'
:info:build Command failed: cd "/opt/local/var/macports/build/lha-
2d6520ce/work/lha-20211125" && /usr/bin/make -j4 -w all
}}}
No idea if there is a problem of missing includes or just obsolete code
(despite we have -Wno-error=implicit-int in force), I hope this helps.
--
Ticket URL: <https://trac.macports.org/ticket/72356#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list