Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184989 - dev-libs/DirectFB-1.0.0 fails build w/ missing PAGE_SIZE
Summary: dev-libs/DirectFB-1.0.0 fails build w/ missing PAGE_SIZE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL: http://lists.debian.org/debian-glibc/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-11 19:37 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2009-04-21 23:05 UTC (History)
0 users

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


Attachments
config.log (config.log,59.89 KB, text/plain)
2007-07-11 20:34 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2007-07-11 19:37:21 UTC
Aparently its a headers thing .
The good news, when this is done, that 1 more user with -e system rebuilt with gcc-4.2/glibc-2.6

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../include -I../../lib -DDATADIR=\"/usr/share/directfb-1.0.0\" -DMODULEDIR=\"/usr/lib/directfb-1.0-0\" -D_REENTRANT -O2 -march=i686 -mtune=athlon-xp -pipe -ggdb3 -gstabs3 -D_GNU_SOURCE -Werror-implicit-function-declaration -MT stream.lo -MD -MP -MF .deps/stream.Tpo -c stream.c -o stream.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../include -I../../lib -DDATADIR=\"/usr/share/directfb-1.0.0\" -DMODULEDIR=\"/usr/lib/directfb-1.0-0\" -D_REENTRANT   -O2 -march=i686 -mtune=athlon-xp -pipe -ggdb3 -gstabs3 -D_GNU_SOURCE  -Werror-implicit-function-declaration -MT system.lo -MD -MP -MF ".deps/system.Tpo" -c -o system.lo system.c; \
        then mv -f ".deps/system.Tpo" ".deps/system.Plo"; else rm -f ".deps/system.Tpo"; exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../include -I../../lib -DDATADIR=\"/usr/share/directfb-1.0.0\" -DMODULEDIR=\"/usr/lib/directfb-1.0-0\" -D_REENTRANT -O2 -march=i686 -mtune=athlon-xp -pipe -ggdb3 -gstabs3 -D_GNU_SOURCE -Werror-implicit-function-declaration -MT system.lo -MD -MP -MF .deps/system.Tpo -c system.c  -fPIC -DPIC -o .libs/system.o
system.c: In function 'direct_pagesize':
system.c:65: error: 'PAGE_SIZE' undeclared (first use in this function)
system.c:65: error: (Each undeclared identifier is reported only once
system.c:65: error: for each function it appears in.)
make[3]: *** [system.lo] Error 1
make[3]: Leaving directory `/tmp/..var/portage/dev-libs/DirectFB-1.0.0/work/DirectFB-1.0.0/lib/direct'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/..var/portage/dev-libs/DirectFB-1.0.0/work/DirectFB-1.0.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/..var/portage/dev-libs/DirectFB-1.0.0/work/DirectFB-1.0.0'
make: *** [all] Error 2
 *
 * ERROR: dev-libs/DirectFB-1.0.0 failed.
 * Call stack:
 *   ebuild.sh, line 1642:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   DirectFB-1.0.0.ebuild, line 98:   Called die
 *
 * (no error message)
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/dev-libs:DirectFB-1.0.0:20070711-193135.log'.
 *


Reproducible: Always




Portage 2.1.3_rc6 (default-linux/x86/2007.0, gcc-4.2.0/vanilla, glibc-2.6-r0, 2.6.21-gentookz i686)
=================================================================
System uname: 2.6.21-gentookz i686 AMD Athlon(TM) XP 2000+
Gentoo Base System release 1.12.10
Timestamp of tree: Sun, 08 Jul 2007 01:00:02 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.6-r2, 2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=athlon-xp -pipe -ggdb3 -gstabs3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/local/kdeextra/share/config /usr/local/kdeextra/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -mtune=athlon-xp -pipe -ggdb3 -gstabs3"
DISTDIR="/mnt/fission/distfiles/distfiles"
FEATURES="autoaddcvs cvs distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_AU.UTF-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1,-z,combreloc,--sort-common,--enable-new-dtags"
LINGUAS="en_NZ en_GB en en_US"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/mysql-testing /usr/portage/local/layman/mysql-experimental /usr/portage/local/layman/enlightenment /usr/portage/local/layman/armagetron /usr/portage/local/layman/sunrise /usr/portage/local/layman/kde /usr/portage/local/layman/toolchain /usr/portage/local/layman/php-experimental /usr/portage/local/layman/php-testing /usr/local/portage /usr/src/musicbrainz-overlay_svn /usr/src/xgl/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
Comment 1 SpanKY gentoo-dev 2007-07-11 19:51:36 UTC
you probably have asm/page.h on your system for some reason when it shouldnt be there

post the config.log from the build directory
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2007-07-11 20:34:45 UTC
Created attachment 124589 [details]
config.log

also noted no package owns /usr/include/asm/page.h

removing that and trying again
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2007-07-12 08:18:16 UTC
Yeah. That nailed it. ( and its possible the existance of that file is my fault too, so ah yeah, sorry again. On the plus, thats 1 more for the "gcc-4.2 upgrade is all sweet" systems )
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2009-04-21 23:05:29 UTC
bugzilla
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2009-04-21 23:05:40 UTC
seems fixed.