Bug 240756 - devel/qtcreator fails to build in poudriere because of missing file during package phase 12.1-stable amd64
Summary: devel/qtcreator fails to build in poudriere because of missing file during pa...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-22 18:19 UTC by Robert Cina
Modified: 2019-09-29 07:22 UTC (History)
2 users (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Cina 2019-09-22 18:19:40 UTC
The port devel/qtcreator fails to build in poudriere during the package phase because it is missing a file.  The following is the relevant file and error produced in the build log.

=======================<phase: package        >============================
===>  Building package for qtcreator-4.9.2_1
pkg-static: Unable to access file /wrkdirs/usr/ports/devel/qtcreator/work/stage/usr/local/share/doc/qtcreator/qtcreator-dev/core-fileiconprovider-sub-qt-creator.html:No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/qtcreator
=>> Cleaning up wrkdir
===>  Cleaning for qtcreator-4.9.2_1
build of devel/qtcreator | qtcreator-4.9.2_1 ended at Sun Sep 22 14:00:52 EDT 2019
build time: 00:05:48
!!! build failure encountered !!!
Comment 1 Adriaan de Groot freebsd_committer freebsd_triage 2019-09-24 09:49:18 UTC
This shows up in pkg-fallout as well, but not when I build it locally in poudriere (the fileiconprovider file **is** produced and packaged). Makes me suspect either weird dependencies or a race in the build, neither of which are attractive :S
Comment 2 Raphael Kubo da Costa freebsd_committer freebsd_triage 2019-09-28 21:19:21 UTC
I've tried building the port with `poudriere testport` here on a HEAD jail and it also failed.
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-09-29 07:21:36 UTC
A commit references this bug:

Author: tcberner
Date: Sun Sep 29 07:21:25 UTC 2019
New revision: 513194
URL: https://svnweb.freebsd.org/changeset/ports/513194

Log:
  devel/qtcreator: comment non-deterministically built file

  - the file seems to be generated for me on 13, but not on 11.
  - there are reports of it also failing on 13.
  - solution: ignore it.

  PR:		240756

Changes:
  head/devel/qtcreator/pkg-plist
Comment 4 Tobias C. Berner freebsd_committer freebsd_triage 2019-09-29 07:22:14 UTC
I put the file in the corner. So I hope it learns its lesson for the next release  :)