Topic: install error in 2.3.0

Hi,
I have build script to build wolfSSL+wolfTPM+libwebsockets and it works with 2.2.0, but fails if use 2.3.0 tag.

git clone https://github.com/wolfSSL/wolfTPM
cd wolfTPM
git checkout tags/v2.3.0
./autogen.sh
./configure --prefix=${PWD}/inst --enable-debug=io --enable-devtpm --with-wolfcrypt=../wolfSSL/inst
make install

Error looks like

/usr/bin/install: will not overwrite just-created '/home/ro/3dParty/build_scripts/build/wolfTPM/inst/share/doc/wolftpm/example/read.c' with 'examples/nvram/read.c'
 /usr/bin/mkdir -p '/home/ro/3dParty/build_scripts/build/wolfTPM/inst/include/wolftpm'
make[2]: *** [Makefile:2025: install-dist_exampleDATA] Error 1

Share

Re: install error in 2.3.0

Hi r-type,

I've reproduced the error and will put up a fix shortly. I'll also expand our testing to make sure this is covered in the future.

Thanks for the report.
Jeff

Share

Re: install error in 2.3.0

I've put up a PR 196 to fix this and have added tests to cover this type of error.

Share

Re: install error in 2.3.0

Hi r-type,

The changes merge and created a new tag v2.3.1 to address this issue. Thanks again for the report.

Cheers,
Jeff

Share

Re: install error in 2.3.0

Hi Jeff,
thanks for the fix!
Roman

Share