Bug 230199 - devel/arm-none-eabi-gcc: Fails to package without IPFILTER (netinet/ip_*.h:No such file or directory)
Summary: devel/arm-none-eabi-gcc: Fails to package without IPFILTER (netinet/ip_*.h:No...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2018-07-30 21:09 UTC by rozhuk.im
Modified: 2019-12-16 03:47 UTC (History)
5 users (show)

See Also:
koobs: maintainer-feedback+
koobs: merge-quarterly?


Attachments
update plist (1014 bytes, patch)
2018-07-30 21:09 UTC, rozhuk.im
rozhuk.im: maintainer-approval?
Details | Diff
src.conf (8.99 KB, text/plain)
2019-12-16 03:47 UTC, rozhuk.im
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description rozhuk.im 2018-07-30 21:09:53 UTC
Created attachment 195657 [details]
update plist

There is no more lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ dir with files.
Comment 1 Rene Ladan freebsd_committer 2019-04-07 10:18:07 UTC
Maintainer reset.
Comment 2 Raphael Kubo da Costa freebsd_committer 2019-11-04 09:36:44 UTC
Is this still necessary? I've just tried building the port with "poudriere bulk -t" and everything passed.
Comment 3 rozhuk.im 2019-11-04 09:59:40 UTC
(In reply to Raphael Kubo da Costa from comment #2)
Yes, for me
make package
...
====> Compressing man pages (compress-man)
===>  Building package for arm-none-eabi-gcc-6.4.0_7
pkg-static: Unable to access file /tmp/ports/usr/ports/devel/arm-none-eabi-gcc/work/stage/usr/local/lib/gcc/arm-none-eabi/6.4.0/include-fixed/netinet/ip_fil.h:No such file or directory
pkg-static: Unable to access file /tmp/ports/usr/ports/devel/arm-none-eabi-gcc/work/stage/usr/local/lib/gcc/arm-none-eabi/6.4.0/include-fixed/netinet/ip_lookup.h:No such file or directory
pkg-static: Unable to access file /tmp/ports/usr/ports/devel/arm-none-eabi-gcc/work/stage/usr/local/lib/gcc/arm-none-eabi/6.4.0/include-fixed/netinet/ip_nat.h:No such file or directory
pkg-static: Unable to access file /tmp/ports/usr/ports/devel/arm-none-eabi-gcc/work/stage/usr/local/lib/gcc/arm-none-eabi/6.4.0/include-fixed/netinet/ip_proxy.h:No such file or directory
pkg-static: Unable to access file /tmp/ports/usr/ports/devel/arm-none-eabi-gcc/work/stage/usr/local/lib/gcc/arm-none-eabi/6.4.0/include-fixed/netinet/ip_scan.h:No such file or directory
pkg-static: Unable to access file /tmp/ports/usr/ports/devel/arm-none-eabi-gcc/work/stage/usr/local/lib/gcc/arm-none-eabi/6.4.0/include-fixed/netinet/ip_state.h:No such file or directory
*** Error code 1
Comment 4 Raphael Kubo da Costa freebsd_committer 2019-11-04 10:22:25 UTC
Is the machine/jail you're building this port on built without ipfilter support?
Comment 5 rozhuk.im 2019-11-04 16:51:17 UTC
Yes, I remove many things: http://www.netlab.linkpc.net/download/software/os_cfg/FBSD/12.0/base/etc/src.conf
Comment 6 Raphael Kubo da Costa freebsd_committer 2019-11-04 16:55:40 UTC
OK, that explains it, as those headers are retrieved from the system building the port.

+jhb who did some work on these ports recently for input.
Comment 7 John Baldwin freebsd_committer freebsd_triage 2019-11-04 17:06:33 UTC
I'm really trying to only focus on the GCC ports for an external base system toolchain (and those ports rm -rf include-fixed which sidesteps this issue).  Someone could fix this by checking for these headers in /usr/include and setting a PLIST_SUB.  Supporting all the various WITHOUT_* options might be a bit much though.  I wonder if lang/gcc* suffer from the same issue?  If they just rm -rf all of include-fixed as well, perhaps these two ports (the aarch64 one as well) should just be doing that.
Comment 8 Alexander Kabaev freebsd_committer 2019-12-16 00:30:22 UTC
I am not the ports committer anymore and eabi was never on the list of port I supported. being dependent on xtoolchain port does not make me the ports maintainer. Chances are this has been fixed since anyway.
Comment 9 Kubilay Kocak freebsd_committer freebsd_triage 2019-12-16 00:40:36 UTC
Does this patch pass QA on systems *with* IPFILTER?

This patch (plist entries) appears to need to be scoped/limited to systems without IPFILTER (comment 7)

@Rozhuk Could you please include src.conf from comment 5 as an attachment please

@All This port has no maintainer, so this issue needs an Assignee to progress

^Triage: 

- (Ex) maintainer *feedback* (not approval) was provided -> +
- Affects some people: Appears to be scoped to users without pfilter support
Comment 10 rozhuk.im 2019-12-16 03:47:41 UTC
Created attachment 209987 [details]
src.conf