First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 75250
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WONTFIX
Assigned To: Sparc Porters <sparc@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marcin Kurek <morgoth6@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
fte-20050108-r2.patch useless wait.h inclusion fix patch Konstantin Arkhipov 2005-05-10 11:49 0000 401 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 75250 depends on: Show dependency tree
Show dependency graph
Bug 75250 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

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







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


Description:   Opened: 2004-12-21 16:01 0000
It seems there is a problem emerging recent version of fte editor using
linux26-headers (Problem inside linux26-headers reported on diffrent bugreport)

It fails also when the slang support is enabled.

Reproducible: Always
Steps to Reproduce:
1. USE="+slang" emerge fte
2.
3.

Actual Results:  
First time it fails on con_linux.cpp file because this missing linux26-headers 
declarations (Take a look at 75249 report) with following errormessage:

g++ -fno-rtti -fno-exceptions  -DUSE_XMB   -DUSE_LOCALE -
DDEFAULT_INTERNAL_CONFIG -Wall -Wpointer-arith -Wconversion -Wwrite-strings -
Wmissing-prototypes -Wmissing-declarations -Winline -DUNIX -DLINUX     -I/usr/
include/slang -c con_linux.cpp
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for
C/ObjC 
but not for C++
cc1plus: warning: command line option "-Wmissing-declarations" is valid for C/
ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for
C/ObjC 
but not for C++
cc1plus: warning: command line option "-Wmissing-declarations" is valid for C/
ObjC but not for C++
In file included from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/keyboard.h:4,
                 from con_linux.cpp:51:
/usr/include/linux/list.h: In function `void __list_add_rcu(list_head*, 
list_head*, list_head*)':
/usr/include/linux/list.h:97: error: `__memory_barrier' undeclared (first use 
this function)
/usr/include/linux/list.h:97: error: (Each undeclared identifier is reported 
only once for each function it appears in.)
/usr/include/linux/list.h: In function `void hlist_add_head_rcu(hlist_node*, 
hlist_head*)':
/usr/include/linux/list.h:597: error: `__memory_barrier' undeclared (first use 
this function)
In file included from /usr/include/linux/thread_info.h:20,
                 from /usr/include/linux/spinlock.h:12,
                 from /usr/include/linux/wait.h:15,
                 from /usr/include/linux/keyboard.h:4,
                 from con_linux.cpp:51:
/usr/include/linux/bitops.h: In function `int get_bitmask_order(unsigned int)':
/usr/include/linux/bitops.h:81: error: `fls' undeclared (first use this 
function)
In file included from /usr/include/linux/keyboard.h:4,
                 from con_linux.cpp:51:
/usr/include/linux/wait.h: In function `void 
init_waitqueue_head(wait_queue_head_t*)':
/usr/include/linux/wait.h:58: error: expected primary-expression before ')' 
token
/usr/include/linux/wait.h:58: error: expected `;' before '{' token
con_linux.cpp: In function `char ConGetDrawChar(int)':
con_linux.cpp:1200: warning: array subscript has type `char'
make[2]: *** [con_linux.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/fte-20020324-r2/work/fte-20020324/
src'
make[1]: *** [unix] Error 2
make[1]: Leaving directory `/var/tmp/portage/fte-20020324-r2/work/fte-20020324/
src'
make: *** [all] Error 2

If +slang is set it fails on con_slang.cpp file with following error message

g++ -fno-rtti -fno-exceptions  -DUSE_XMB   -DUSE_LOCALE -
DDEFAULT_INTERNAL_CONFIG -Wall -Wpointer-arith -Wconversion -Wwrite-strings -
Wmissing-prototypes -Wmissing-declarations -Winline -DUNIX -DLINUX     -I/usr/
include/slang -c con_slang.cpp
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for
C/ObjC 
but not for C++
cc1plus: warning: command line option "-Wmissing-declarations" is valid for C/
ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for
C/ObjC 
but not for C++
cc1plus: warning: command line option "-Wmissing-declarations" is valid for C/
ObjC but not for C++
con_slang.cpp: In function `int ConInit(int, int)':
con_slang.cpp:249: error: cannot convert `short unsigned int*' to 
`SLsmg_Char_Type*' for argument `1' to `unsigned int 
SLsmg_read_raw(SLsmg_Char_Type*, unsigned int)'
con_slang.cpp: In function `int ConPutBoxRaw(int, int, int, int, short unsigned 
int*)':
con_slang.cpp:371: error: cannot convert `short unsigned int*' to 
`SLsmg_Char_Type*' for argument `1' to `unsigned int 
SLsmg_write_raw(SLsmg_Char_Type*, unsigned int)'
con_slang.cpp: In function `int ConGetBox(int, int, int, int, TCell*)':
con_slang.cpp:389: error: cannot convert `TCell*' to `SLsmg_Char_Type*' for 
argument `1' to `unsigned int SLsmg_read_raw(SLsmg_Char_Type*, unsigned int)'
con_slang.cpp: In function `int ConGetBoxRaw(int, int, int, int, short unsigned 
int*)':
con_slang.cpp:412: error: cannot convert `short unsigned int*' to 
`SLsmg_Char_Type*' for argument `1' to `unsigned int 
SLsmg_read_raw(SLsmg_Char_Type*, unsigned int)'
make[2]: *** [con_slang.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/fte-20020324-r2/work/fte-20020324/
src'
make[1]: *** [unix] Error 2
make[1]: Leaving directory `/var/tmp/portage/fte-20020324-r2/work/fte-20020324/
src'
make: *** [all] Error 2



sys-libs/slang 1.4.9-r1
sys-kernel/linux26-headers 2.6.8.1-r1

------- Comment #1 From Michael Hanselmann (hansmi) (RETIRED) 2004-12-23 12:30:16 0000 -------
I was able to reproduce it, tough this seems to be a bit above of my knowledge
to fix it.

------- Comment #2 From Lars Weiler (RETIRED) 2005-04-02 06:01:23 0000 -------
Same for version app-editors/fte-20050108-r2

Compiling to 'defcfg.cnf'

Done.
perl mkdefcfg.pl <defcfg.cnf >defcfg.h
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................In file included from /usr/include/linux/keyboard.h:4,
                 from con_linux.cpp:55:
/usr/include/linux/wait.h: In function `void init_waitqueue_head(wait_queue_head_t*)':
/usr/include/linux/wait.h:58: error: expected primary-expression before ')' token
/usr/include/linux/wait.h:58: error: expected `;' before '{' token
con_linux.cpp: In function `char ConGetDrawChar(int)':
con_linux.cpp:1204: warning: array subscript has type `char'
make[2]: *** [con_linux.o] Error 1
make[2]: *** Waiting for unfinished jobs....
....................................................................................................................................
make[2]: Leaving directory `/var/tmp/portage/fte-20050108-r2/work/fte/src'
make[1]: *** [unix] Error 2
make[1]: Leaving directory `/var/tmp/portage/fte-20050108-r2/work/fte/src'
make: *** [all] Error 2

This package has no maintainer.  Seems it will just stick here in the ppc-bugzilla-pipe until somebody picks it up...

------- Comment #3 From Konstantin Arkhipov 2005-05-10 11:49:19 0000 -------
Created an attachment (id=58609) [edit]
useless wait.h inclusion fix

please, try attached patch for latest fte ebuild

------- Comment #4 From Konstantin Arkhipov 2005-05-10 11:50:28 0000 -------
patch above works for me at ~x86 and ~amd64

------- Comment #5 From Joe Jezak 2005-05-14 13:17:00 0000 -------
Works on ppc as well.

------- Comment #6 From Joe Jezak 2005-06-04 22:16:30 0000 -------
I've marked the ebuild stable for ppc as it fixes the problem, reassigning to
you voxus.  Thanks!

------- Comment #7 From Konstantin Arkhipov 2005-06-23 10:59:54 0000 -------
stable on x86 and amd64
waiting for sparc now

------- Comment #8 From Konstantin Arkhipov 2005-08-03 11:38:42 0000 -------
ping? 

------- Comment #9 From Gustavo Zacarias (RETIRED) 2005-08-03 11:41:29 0000 -------
the newest fte is utterly b0rked for sparc in curses mode - all the colors are
screwed up.

------- Comment #10 From Marcin Kurek 2005-08-09 07:06:20 0000 -------
Same for PPC

------- Comment #11 From Gustavo Zacarias (RETIRED) 2006-10-17 15:07:59 0000 -------
Doing -sparc keywords, it's too broken and has been sitting here long enough.

First Last Prev Next    No search results available      Search page      Enter new bug