Thanks Tobias,
I appreciate the steer and thanks for posting the results of your analysis
Ill review them in so far as I can and
pull in more experienced programmers when i get lost :)

Thanks for your help I really appreciate it ...



On Sun, 25 Aug 2024 at 23:42, Tobias Heider <tobias.hei...@stusta.de> wrote:

> On Sat, Aug 24, 2024 at 09:52:06PM +0100, Tom Smyth wrote:
> > Folks,
> >
> > i Installed 6.24 Codechecker  package on a fresh OpenBSD7.6 current
> system
> > on todays or yesterdays snapshot
> >
> >
> > and im still getting that platform not recognized  error...
> >
> > Thanks
> >
> > Tom Smyth
>
> Sorry for the late reply, I haven't seen the error you are getting before.
>
> One problem I see with nsh specifically is that codechecker doesn't manage
> to generate a compile_commands.json so I had to resort to clang's built-in
> solution:
> intercept-build-16 --override-compiler --append make
> CC=/usr/local/llvm16/libexec/intercept-cc
>
> After that the following commands run the analysis and generate html
> output:
> codechecker analyze ./compile_commands.json --ctu --output reports
> codechecker parse --export html --output /tmp/nsh_html ./reports
>
> You can have a look at the result at tobhe.de/files/nsh_html
>
>
> >
> >
> > On Wed, 21 Aug 2024 at 18:13, Tom Smyth <tom.sm...@wirelessconnect.eu>
> > wrote:
> >
> > > I have tried removing python2, python3
> > > adding them back
> > > removing codechecker and removing llvm16 and re-installing
> codechecker...
> > >
> > > running pkg_check and reinstalling py3-setup-tools
> > >
> > > Thanks
> > >
> > > Tom Smyth
> > >
> > >
> > > On Wed, 21 Aug 2024 at 16:56, Tom Smyth <tom.sm...@wirelessconnect.eu>
> > > wrote:
> > >
> > >> Folks
> > >>
> > >> running OpenBSD current  on amd64
> > >> using codechecker 6.24.0
> > >> trying to run codechecker against nsh and im getting an error
> > >>
> > >> when running codechecker check -b "cd/home/tom/nsh-1.3.3 && make" -o
> > >> nshreports
> > >> saying
> > >> starting build
> > >> unrecognised platform  open a github issue for further guidance...
> > >>
> > >>
> > >>
> > >> i have tried uninstalling codechecker and
> > >>
> > >> i have installed py3-saif-tools py3-jsonpath-ng
> > >>
> > >> Ill keep digging
> > >>
> > >> --
> > >> Kindest regards,
> > >> Tom Smyth.
> > >>
> > >
> > >
> > > --
> > > Kindest regards,
> > > Tom Smyth.
> > >
> >
> >
> > --
> > Kindest regards,
> > Tom Smyth.
>


-- 
Kindest regards,
Tom Smyth.

Reply via email to