Bug 214782 - security/gnutls: build fails in 'make package', tpmtool: No such file or directory
Summary: security/gnutls: build fails in 'make package', tpmtool: No such file or dire...
Status: Closed DUPLICATE of bug 214660
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Tijl Coosemans
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2016-11-23 14:00 UTC by Mark.Martinec
Modified: 2016-11-23 14:29 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (tijl)


Attachments
the full poudriere build log of security/gnutls (42.34 KB, application/x-xz)
2016-11-23 14:03 UTC, Mark.Martinec
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark.Martinec 2016-11-23 14:00:01 UTC
11.0-RELEASE-p2 GENERIC amd64, gnutls-3.4.16 .

Building security/gnutls under poudriere fails in the 'make package' phase:

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

The same happens when building manually in ports: make; make package.
Indeed there is no tpmtool in that directory:

  ls -l /usr/ports/security/gnutls/work/stage/usr/local/bin/
  -rwxr-xr-x  1 root  wheel  263296 Nov 23 14:26 certtool
  -rwxr-xr-x  1 root  wheel  191792 Nov 23 14:26 gnutls-cli
  -rwxr-xr-x  1 root  wheel  165728 Nov 23 14:26 gnutls-cli-debug
  -rwxr-xr-x  1 root  wheel  163728 Nov 23 14:26 gnutls-serv
  -rwxr-xr-x  1 root  wheel  128752 Nov 23 14:26 ocsptool
  -rwxr-xr-x  1 root  wheel  297360 Nov 23 14:26 p11tool
  -rwxr-xr-x  1 root  wheel  110160 Nov 23 14:26 psktool
  -rwxr-xr-x  1 root  wheel  114736 Nov 23 14:26 srptool

The full poudriere build log is attached.

(unfortunately the failing port is holding back 65 dependencies in my case)
Comment 1 Mark.Martinec 2016-11-23 14:03:25 UTC
Created attachment 177333 [details]
the full poudriere build log of security/gnutls
Comment 2 VK freebsd_triage 2016-11-23 14:08:07 UTC
Saw that happen in one poudriere build machine, but not with the other. I thought it was something specific to me so I lef it for a later investigation. The temporary fix for me was to remove tpmtool from the pkg-plist, it then built fine.

But note, I did that just to get it to build because it blocked stuff which I needed built asap. I don't know if that messes up the run-time.
Comment 3 Tijl Coosemans freebsd_committer freebsd_triage 2016-11-23 14:29:50 UTC

*** This bug has been marked as a duplicate of bug 214660 ***