Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 159923
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: SpanKY <vapier@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
libsdl-1.2.11-linux-headers.patch My patch patch Panagiotis Christopoulos 2007-02-27 18:10 0000 668 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 159923 depends on: Show dependency tree
Bug 159923 blocks: 159304
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-01-03 23:06 0000
most arches no longer export PAGE_SIZE in asm/page.h so fbcon driver fails to
build

------- Comment #1 From SpanKY 2007-01-03 23:08:39 0000 -------
fixed in cvs

------- Comment #2 From Panagiotis Christopoulos 2007-02-27 17:56:38 0000 -------
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:

------- Comment #3 From Panagiotis Christopoulos 2007-02-27 18:10:48 0000 -------
Created an attachment (id=111453) [details]
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?

------- Comment #4 From SpanKY 2007-03-03 04:54:41 0000 -------
you should file a new bug

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug