Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254630 - sys-libs/uclibc-0.9.28.3-r3 fails to build with sys-kernel/linux-headers-2.6.27-r2 due to missing asm/page.h
Summary: sys-libs/uclibc-0.9.28.3-r3 fails to build with sys-kernel/linux-headers-2.6....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: ARM Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-12 13:07 UTC by Anthony Giorgio
Modified: 2009-07-26 19:38 UTC (History)
0 users

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


Attachments
Build log (build.log,636.93 KB, text/plain)
2009-01-12 13:08 UTC, Anthony Giorgio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Giorgio 2009-01-12 13:07:49 UTC
I am no longer able to build sys-libs/uclibc-0.9.28.3-r3 after emerging sys-kernel/linux-headers-2.6.27-r2.  I was previously able to build uclibc on this system with linux-headers-2.6.23-r3.

Reproducible: Always

Steps to Reproduce:
1. emerge uclibc
2.
3.

Actual Results:  
The compile fails.

armeb-softfloat-linux-uclibc-gcc  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing  -mbig-endian -mtune=xscale -march=armv4 -Wa,-mcpu=xscale -msoft-float -fno-stack-protector -fno-builtin -nostdinc -D_LIBC -I../../../../include -I.  -fstrict-aliasing -Os -funit-at-a-time   -isystem /usr/lib/gcc/armeb-softfloat-linux-uclibc/3.4.6/include -DNDEBUG -fPIC -D_DL_FINI_CRT_COMPAT -c sigaction.c -o sigaction.o
armeb-softfloat-linux-uclibc-strip -x -R .note -R .comment sigaction.o
armeb-softfloat-linux-uclibc-gcc  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing  -mbig-endian -mtune=xscale -march=armv4 -Wa,-mcpu=xscale -msoft-float -fno-stack-protector -fno-builtin -nostdinc -D_LIBC -I../../../../include -I.  -fstrict-aliasing -Os -funit-at-a-time   -isystem /usr/lib/gcc/armeb-softfloat-linux-uclibc/3.4.6/include -DNDEBUG -fPIC -D_DL_FINI_CRT_COMPAT -c __syscall_error.c -o __syscall_error.o
armeb-softfloat-linux-uclibc-strip -x -R .note -R .comment __syscall_error.o
ioperm.c:47:22: asm/page.h: No such file or directory
armeb-softfloat-linux-uclibc-gcc  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing  -mbig-endian -mtune=xscale -march=armv4 -Wa,-mcpu=xscale -msoft-float -fno-stack-protector -fno-builtin -nostdinc -D_LIBC -I../../../../include -I.  -fstrict-aliasing -Os -funit-at-a-time   -isystem /usr/lib/gcc/armeb-softfloat-linux-uclibc/3.4.6/include -DNDEBUG -fPIC -D_DL_FINI_CRT_COMPAT  -DL_crt1 crt1.S -c -o crt1.o
armeb-softfloat-linux-uclibc-strip -x -R .note -R .comment crt1.o
armeb-softfloat-linux-uclibc-gcc  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing  -mbig-endian -mtune=xscale -march=armv4 -Wa,-mcpu=xscale -msoft-float -fno-stack-protector -fno-builtin -nostdinc -D_LIBC -I../../../../include -I.  -fstrict-aliasing -Os -funit-at-a-time   -isystem /usr/lib/gcc/armeb-softfloat-linux-uclibc/3.4.6/include -DNDEBUG -fPIC -D_DL_FINI_CRT_COMPAT   -DL_Scrt1 crt1.S -c -o Scrt1.o
make[4]: *** [ioperm.o] Error 1
make[4]: *** Waiting for unfinished jobs....
armeb-softfloat-linux-uclibc-strip -x -R .note -R .comment Scrt1.o
make[4]: Leaving directory `/var/tmp/portage/sys-libs/uclibc-0.9.28.3-r3/work/uClibc-0.9.28.3/libc/sysdeps/linux/arm'
make[3]: *** [arm] Error 2
make[3]: Leaving directory `/var/tmp/portage/sys-libs/uclibc-0.9.28.3-r3/work/uClibc-0.9.28.3/libc/sysdeps/linux'
make[2]: *** [_dir_linux] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-libs/uclibc-0.9.28.3-r3/work/uClibc-0.9.28.3/libc/sysdeps'
make[1]: *** [_dir_sysdeps] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/uclibc-0.9.28.3-r3/work/uClibc-0.9.28.3/libc'
make: *** [_dir_libc] Error 2
 *
 * ERROR: sys-libs/uclibc-0.9.28.3-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2480:  Called die
 * The specific snippet of code:
 *       emake || die "make failed";
 *  The die message:
 *   make failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-libs/uclibc-0.9.28.3-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/uclibc-0.9.28.3-r3/temp/environment'.
 *


Expected Results:  
The package should emerge

SlugMoo angio # emerge --info
Portage 2.1.6.4 (uclibc/arm, gcc-3.4.6, uclibc-0.9.28.3-r3, 2.6.21.7 armv5teb)
=================================================================
System uname: Linux-2.6.21.7-armv5teb-XScale-IXP42x_Family_rev_1_-v5b-with-libc0
Timestamp of tree: Mon, 12 Jan 2009 08:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5, 1.10.2
sys-devel/binutils:  2.16-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="arm"
CBUILD="armeb-softfloat-linux-uclibc"
CFLAGS="-march=armv5t -mtune=xscale -Os"
CHOST="armeb-softfloat-linux-uclibc"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=armv5t -mtune=xscale -Os"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="arm cli cracklib crypt dri midi mudflap ncurses openmp pcre perl python readline reflection session spl ssl tcpd uclibc uclibc-compat xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Anthony Giorgio 2009-01-12 13:08:25 UTC
Created attachment 178160 [details]
Build log
Comment 2 Anthony Giorgio 2009-01-13 12:23:35 UTC
This seems to be due to the missing asm/page.h.  uclibc-0.9.30 fixes the problem.
Comment 3 SpanKY gentoo-dev 2009-07-26 19:38:55 UTC
fixed with 0.9.30