Summary: | net/wmnd: Broken on CURRENT after update to 0.4.18 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Rainer Hurling <rhurlin> | ||||||
Component: | Individual Port(s) | Assignee: | Renato Botelho <garga> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | rhurlin | ||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(garga) |
||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Rainer Hurling
2020-10-23 05:58:36 UTC
0.4.17 was failing on current (same issue) then I noted a new version was available and decided to test before dig into the issue. For my surprise it worked, as you can see at [1]. So I just went ahead and upgraded the port. What is the revision of your -CURRENT? I'm going to try to reproduce it. [1] https://bast.garga.net.br/build.html?mastername=13-amd64-default&build=2020-10-22_14h10m19s (In reply to Renato Botelho from comment #1) Hi Renato, This is the head of my Poudriere build process: =>> Building net/wmnd build started at Fri Oct 23 16:26:52 CEST 2020 port directory: /usr/ports/net/wmnd package name: wmnd-0.4.18 building for: FreeBSD HEADamd64-default-qgis-job-01 13.0-CURRENT FreeBSD 13.0-CURRENT 1300122 amd64 maintained by: garga@FreeBSD.org Makefile ident: $FreeBSD: head/net/wmnd/Makefile 552998 2020-10-22 17:29:22Z garga $ Poudriere version: 3.3.4 Host OSVERSION: 1300122 Jail OSVERSION: 1300122 Thanks for investigating into it :) (In reply to Rainer Hurling from comment #2) I've upgraded current to latest revision and also upgraded ports tree and it still builds fine as you can see: https://bast.garga.net.br/data/13-amd64-default/2020-10-23_12h18m33s/logs/wmnd-0.4.18.log Maybe you have a local issue? (In reply to Renato Botelho from comment #3) Very interesting, that your build on Poudriere went fine. It is likely that there is a local issue at my side. Comparing your configure phase and the one from my build, the following differs: #diff -urN wmnd_Renato.txt wmnd_Rainer.txt --- wmnd_Renato.txt 2020-10-23 21:17:33.933080000 +0200 +++ wmnd_Rainer.txt 2020-10-23 21:23:43.428087000 +0200 @@ -70,7 +70,7 @@ checking kstat.h usability... no checking kstat.h presence... no checking for kstat.h... no -checking for NetBSD ioctl availability... no +checking for NetBSD ioctl availability... yes checking pcp/pmapi.h usability... no checking pcp/pmapi.h presence... no checking for pcp/pmapi.h... no @@ -89,6 +89,6 @@ configure: configuration: disable trend support: no -enabled drivers: freebsd_sysctl +enabled drivers: freebsd_sysctl netbsd_ioctl enabled display modes: traditional mgraph waveform wmwave wmnet sepgraphs twisted charts needle lines This NetBSD ioctl availability is also found on my boxes outside of Poudriere. Don't know, if this is the reason for the breakage on my side ... (In reply to Rainer Hurling from comment #4) it would be interesting to capture config.log from your build and understand why it was not found (In reply to Rainer Hurling from comment #4) Sorry, I read the information reversed and now I see your environment ends up detecting netbsd_ioctl. Please try attached patch Created attachment 219017 [details]
patch
Created attachment 219018 [details]
config.log containing NetBSD ioctl availability
This is my config.log, which hopefully shows the decisive difference ;)
(In reply to Renato Botelho from comment #6) Our contributions have overlapped in time ;) I applied your patch and can confirm: it works! Many thanks and regards, Rainer Hi Renato, do you plan to commit the patch in the near future? As far as I can say, it is not only ok for CURRENT, but also for 11.4 and 12.1 (amd64 and i386). Thanks in advance, Rainer A commit references this bug: Author: garga Date: Mon Oct 26 12:25:50 UTC 2020 New revision: 553349 URL: https://svnweb.freebsd.org/changeset/ports/553349 Log: Force build to use only freebsd bits For some unknwon reason in some cases configure detects netbsd_ioctl in addition to freebsd_sysctl and it breaks build. Force it to use only freebsd_sysctl PR: 250554 Reported by: rhurlin Sponsored by: Rubicon Communications, LLC (Netgate) Changes: head/net/wmnd/Makefile |