most arches no longer export PAGE_SIZE in asm/page.h so fbcon driver fails to build
fixed in cvs
I tried to emerge media-libs/libsdl-1.2.11-r1, and the asm/page.h header file issue,still exists: /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -march=pentium-m -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -I/usr/include/ -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/fbcon/SDL_fbvideo.c -o build/SDL_fbvideo.lo i686-pc-linux-gnu-gcc -O3 -march=pentium-m -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -I/usr/include/ -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/fbcon/SDL_fbriva.c -o build/SDL_fbriva.o >/dev/null 2>&1 i686-pc-linux-gnu-gcc -O3 -march=pentium-m -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -I/usr/include/ -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/fbcon/SDL_fbvideo.c -fPIC -DPIC -o build/.libs/SDL_fbvideo.o /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -march=pentium-m -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -I/usr/include/ -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/caca/SDL_cacaevents.c -o build/SDL_cacaevents.lo ./src/video/fbcon/SDL_fbvideo.c:32:57: error: asm/page.h: No such file or directory make: *** [build/SDL_fbvideo.lo] Error 1 make: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -O3 -march=pentium-m -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -I/usr/include/ -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/caca/SDL_cacaevents.c -fPIC -DPIC -o build/.libs/SDL_cacaevents.o i686-pc-linux-gnu-gcc -O3 -march=pentium-m -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -I/usr/include/ -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/caca/SDL_cacaevents.c -o build/SDL_cacaevents.o >/dev/null 2>&1 !!! ERROR: media-libs/libsdl-1.2.11-r1 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3594: Called src_compile libsdl-1.2.11-r1.ebuild, line 160: Called die !!! emake 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/media-libs/libsdl-1.2.11-r1/temp/build.log'. I did some search, and I found that PAGE_SIZE, is also defined in sys/user.h, and I made a patch for myself instead of the original libsdl-1.2.11-linux-headers.patch . The patch follows:
Created attachment 111453 [details, diff] My patch I didn't file a new bug, because I'm not sure about what is going on. I read your changelog, and found that the problem with the sanitizes headers was fixed before 40 days, so I suppose that you can compile libsdl without problems?
you should file a new bug