Solved gnutls-3.4.16 install after build fail Error 74

H

Hanky-panky

Guest
Hello,


I have this problem installing gnutls, it build fine then at the install stage error 74


Code:
install  -m 0644 /usr/ports/security/gnutls/work/gnutls-3.4.16/doc/examples/*.[ch] /usr/ports/security/gnutls/work/stage/usr/local/share/examples/gnutls
====> Compressing man pages (compress-man)
===>  Installing for gnutls-3.4.16
===>  Checking if gnutls already installed
===>   Registering installation for gnutls-3.4.16
pkg-static: Unable to access file /usr/ports/security/gnutls/work/stage/usr/local/bin/tpmtool: No such file or directory
*** Error code 74


Can you guys help?
 
That file seems to be part of the TPM option. It depends on security/trousers. Can you try rebuilding/updating that port first? Then try building gnutls again (make sure to do a make clean). If that still fails try turning off the TPM option.
Hello and thank you for your help, SirDice. Rebuilding security/trousers perfectly fixed the problem as suggested also by the maintainer of the security/gnutls port, Tijl Coosemans, contacted by me via e-mail. He promptly answered with the solution.

FreeBSD community and developers works or better said, rocks. Long live FreeBSD.
 
I'm having the same problem. I'm building with Synth.
However, deleting trousers from the Synth repository didn't help. It gets rebuilt but the build of GNUTLS fails anyways:

Code:
 /bin/mkdir -p '/construction/xports/security/gnutls/work/stage/usr/local/info'
 install  -m 0644 gnutls-handshake-state.png gnutls-layers.png gnutls-modauth.png gnutls-pgp.png gnutls-client-server-use-case.png gnutls-handshake-sequence.png gnutls-internals.png gnutls-logo.png gnutls-x509.png pkcs11-vision.png '/construction/xports/security/gnutls/work/stage/usr/local/info'
 /bin/mkdir -p '/construction/xports/security/gnutls/work/stage/usr/local/info'
 install  -m 0644 ./gnutls.info ./gnutls-guile.info '/construction/xports/security/gnutls/work/stage/usr/local/info'
 install-info --info-dir='/construction/xports/security/gnutls/work/stage/usr/local/info' '/construction/xports/security/gnutls/work/stage/usr/local/info/gnutls.info'
 install-info --info-dir='/construction/xports/security/gnutls/work/stage/usr/local/info' '/construction/xports/security/gnutls/work/stage/usr/local/info/gnutls-guile.info'
gmake[6]: Leaving directory '/construction/xports/security/gnutls/work/gnutls-3.4.16/doc'
gmake[5]: Leaving directory '/construction/xports/security/gnutls/work/gnutls-3.4.16/doc'
gmake[4]: Leaving directory '/construction/xports/security/gnutls/work/gnutls-3.4.16/doc'
gmake[3]: Leaving directory '/construction/xports/security/gnutls/work/gnutls-3.4.16/doc'
gmake[3]: Entering directory '/construction/xports/security/gnutls/work/gnutls-3.4.16'
gmake[4]: Entering directory '/construction/xports/security/gnutls/work/gnutls-3.4.16'
gmake[4]: Nothing to be done for 'install-exec-am'.
gmake[4]: Nothing to be done for 'install-data-am'.
gmake[4]: Leaving directory '/construction/xports/security/gnutls/work/gnutls-3.4.16'
gmake[3]: Leaving directory '/construction/xports/security/gnutls/work/gnutls-3.4.16'
gmake[2]: Leaving directory '/construction/xports/security/gnutls/work/gnutls-3.4.16'
gmake[1]: Leaving directory '/construction/xports/security/gnutls/work/gnutls-3.4.16'
install  -m 0644 /construction/xports/security/gnutls/work/gnutls-3.4.16/doc/examples/*.[ch] /construction/xports/security/gnutls/work/stage/usr/local/share/examples/gnutls
====> Compressing man pages (compress-man)



--------------------------------------------------------------------------------
--  Phase: package
--------------------------------------------------------------------------------
===>  Building package for gnutls-3.4.16
pkg-static: Unable to access file /construction/xports/security/gnutls/work/stage/usr/local/bin/tpmtool: No such file or directory
*** Error code 1

Stop.
make: stopped in /xports/security/gnutls



--------------------------------------------------
--  Termination
--------------------------------------------------
Finished: Monday, 21 NOV 2016 at 10:57:21 UTC
Duration: 00:01:14
 
Turning off TPM seems to help. I ran into this same thing last weekend. It fails to build on 10.3-RELEASE and 11.0-STABLE.
 
Back
Top