Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184770 - cross-*/linux-headers-2.6.22 useless grep and failed sed, and useless grep (but no failed sed) for sys-kernel/linux-headers
Summary: cross-*/linux-headers-2.6.22 useless grep and failed sed, and useless grep (b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-09 18:39 UTC by Harald van Dijk (RETIRED)
Modified: 2007-07-09 19:56 UTC (History)
0 users

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


Attachments
linux-headers-2.6.22.patch (linux-headers-2.6.22.patch,649 bytes, patch)
2007-07-09 18:41 UTC, Harald van Dijk (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Harald van Dijk (RETIRED) gentoo-dev 2007-07-09 18:39:38 UTC
>>> Emerging (1 of 1) cross-i686-pc-linux-gnu/linux-headers-2.6.22 to /
[...]
[...a whole lot of prior matches...]
./include/asm-mips/m48t37.h:	volatile u8	pad[0x7ff0];    /* NVRAM */
./include/asm-mips/m48t37.h:	volatile u8	flags;
./include/asm-mips/m48t37.h:	volatile u8	century;
./include/asm-mips/m48t37.h:	volatile u8	alarm_sec;
./include/asm-mips/m48t37.h:	volatile u8	alarm_min;
./include/asm-mips/m48t37.h:	volatile u8	alarm_hour;
./include/asm-mips/m48t37.h:	volatile u8	alarm_data;
./include/asm-mips/m48t37.h:	volatile u8	interrupts;
./include/asm-mips/m48t37.h:	volatile u8	watchdog;
./include/asm-mips/m48t37.h:	volatile u8	control;
./include/asm-mips/m48t37.h:	volatile u8	sec;
./include/asm-mips/m48t37.h:	volatile u8	min;
./include/asm-mips/m48t37.h:	volatile u8	hour;
./include/asm-mips/m48t37.h:	volatile u8	day;
./include/asm-mips/m48t37.h:	volatile u8	date;
./include/asm-mips/m48t37.h:	volatile u8	month;
./include/asm-mips/m48t37.h:	volatile u8	year;
./include/asm-mips/cacheflush.h:static inline void flush_dcache_page(struct page *page)
./include/asm-mips/cacheflush.h:static inline void flush_anon_page(struct vm_area_struct *vma,
./include/asm-mips/cacheflush.h:static inline void flush_icache_page(struct vm_area_struct *vma,
./include/asm-mips/mach-dec/mc146818rtc.h:extern volatile u8 *dec_rtc_base;
./include/asm-mips/mach-dec/mc146818rtc.h:static inline unsigned char CMOS_READ(unsigned long addr)
./include/asm-mips/mach-dec/mc146818rtc.h:static inline void CMOS_WRITE(unsigned char data, unsigned long addr)
./scripts/Makefile.headersinst:HDRSED  := sed 	-e "s/ inline / __inline__ /g" \
./scripts/Kbuild.include:# note: when using inline perl scripts [perl -e '...$$t=1;...']
/usr/portage/eclass/kernel-2.eclass: line 994: /bin/sed: Argument list too long
>>> Completed installing linux-headers-2.6.22 into /var/tmp/portage/cross-i686-pc-linux-gnu/linux-headers-2.6.22/image/
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2007-07-09 18:41:53 UTC
Created attachment 124350 [details, diff]
linux-headers-2.6.22.patch

Did you mean to use this instead in the ebuild?

And I can't even attach the full cross-i686-pc-linux-gnu/linux-headers build log, because it's >1MB in size due to grep's output.
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2007-07-09 18:45:23 UTC
And it looks like the excessive grep output is caused by
  cd "${D}"/usr/include
which fails because it is not the right directory for cross-*.
Comment 3 SpanKY gentoo-dev 2007-07-09 19:56:53 UTC
the grep isnt useless, i have it in there so i can quickly see which headers need to get fixed upstream ... but i'll change it to just do `cd $D`