Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555066 - net-tools fails to build on x86, ~x86
Summary: net-tools fails to build on x86, ~x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-16 11:33 UTC by Marcin Kowalski
Modified: 2015-07-16 16:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kowalski 2015-07-16 11:33:50 UTC
When attempting to build net-tools on freshly setup stage3 for x86 ( sys-apps/net-tools-1.60_p20111120203157 on ~x86 or whatever is currently available in stable ) , i get a following error message:

--------------------------------------------
strip.c:24:28: fatal error: linux/if_strip.h: No such file or directory
 #include <linux/if_strip.h>
                            ^
compilation terminated.
--------------------------------------------

it happens against linux-headers 3.19 (stable) and 4.1 (~x86) on whatever net-tools version is most recent for each, respectively.


Possibly a relevant link : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700008

Reproducible: Always

Steps to Reproduce:
1. setup basic system using most recent stage3
2. try installing net-tools or optionally updating everything to ~x86
3. build fails



x86 stage3, building for pentium3 .
Comment 1 Felix Janda 2015-07-16 12:10:33 UTC
This is fixed in both the most recent stable (1.60_p20130513023548) and
unstable (1.60_p20141019041918-r1) version. Why are you trying to use
version 1.60_p20111120203157? What do

emerge -pv =sys-apps/net-tools-1.60_p20141019041918-r1
emerge -pv =sys-apps/net-tools-1.60_p20130513023548

say?
Comment 2 Marcin Kowalski 2015-07-16 16:12:55 UTC
For some odd reason, this is what pkgcore wants to do. I suppose that is the root of the problem.

Portage suggests updated version.