| Summary: | [pkg-fallout] Build cluster incorrectly marks sysutils/and as broken | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Chris Hutchinson <portmaster> | ||||||||
| Component: | Individual Port(s) | Assignee: | Dmitry Marakasov <amdmi3> | ||||||||
| Status: | Closed FIXED | ||||||||||
| Severity: | Affects Many People | CC: | portmaster | ||||||||
| Priority: | --- | Flags: | portmaster:
maintainer-feedback+
|
||||||||
| Version: | Latest | ||||||||||
| Hardware: | Any | ||||||||||
| OS: | Any | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Chris Hutchinson
2016-05-26 16:25:36 UTC
which version of head are you using? P_KTHREAD doesn't exist in head ------------------------------------------------------------------------ r295435 | kib | 2016-02-09 16:30:16 +0000 (Tue, 09 Feb 2016) | 8 lines Rename P_KTHREAD struct proc p_flag to P_KPROC. (In reply to Antoine Brodin from comment #1) > which version of head are you using? > > P_KTHREAD doesn't exist in head It's at the bottom of the build session log, I attached to this pr(1). But to save you the trouble. ;-) # uname FreeBSD dev-box 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r294112: root@dev-box:/usr/obj/usr/src/sys/DEVBOX amd64 > > ------------------------------------------------------------------------ > r295435 | kib | 2016-02-09 16:30:16 +0000 (Tue, 09 Feb 2016) | 8 lines > > Rename P_KTHREAD struct proc p_flag to P_KPROC. Will do, and thanks, Antoine! --Chris Created attachment 170702 [details]
patch to fix sysutils/and (svn diff)
This patch corrects the errors that occurred after the changes
made in r295435, that renamed P_KTHREAD to P_KPROC
This patch also adds LICENSE, and PORTREVISION
All of which will silence pkg-fallout && portlint! :)
Thanks again, Antoine!
--Chris
The patch makes behavior on < 11.x and 11.x+ different, why? IMO, only P_KTHREAD should be replaced with P_KPROC on 11.x (In reply to Dmitry Marakasov from comment #4) > The patch makes behavior on < 11.x and 11.x+ different, why? I was unable to get it to build on my revision of 11, using P_KPROC (use of uninitialized...). So I made a best-effort to find the apex in revisions, as to where to impose the use of the new name. > IMO, only > P_KTHREAD should be replaced with P_KPROC on 11.x --Chris Created attachment 170763 [details]
Simpler patch
This builds for me everywhere, what do you think?
Comment on attachment 170763 [details]
Simpler patch
Looks fine.
Approved, let's use it!
--Chris
(In reply to Dmitry Marakasov from comment #6) > Created attachment 170763 [details] > Simpler patch > > This builds for me everywhere, what do you think? bugzilla is broken. Dmitry, can you click on the "details" link, next to your patch, and on the "maintainer-approval" option. Select ? so that I can approve your patch for submission/commit? Bugzilla wont let me do it, even tho I am the maintainer. Thanks. --Chris A commit references this bug: Author: amdmi3 Date: Wed Jun 15 16:58:01 UTC 2016 New revision: 416930 URL: https://svnweb.freebsd.org/changeset/ports/416930 Log: - Fix build on -CURRENT PR: 209771 Submitted by: portmaster@bsdforge.com (maintainer) Changes: head/sysutils/and/Makefile |