Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge howl failure [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
castrik
n00b
n00b


Joined: 16 Apr 2004
Posts: 31

PostPosted: Tue Mar 22, 2005 11:35 am    Post subject: emerge howl failure [SOLVED] Reply with quote

i am trying to
Code:
emerge gnome xscreensaver

for which howl is a dependency.

My USE flags are:
Code:
USE="-kde -qt gnome alsa gtk hal howl openssh cdr"

My compile fails at howl with many errors like these:

Code:
/usr/include/linux/ethtool.h:340: error: `__u32' declared as function returning a function
/usr/include/linux/ethtool.h:342: error: syntax error before '*' token
/usr/include/linux/ethtool.h:342: error: `__u32' declared as function returning a function
/usr/include/linux/ethtool.h:344: error: syntax error before '*' token
/usr/include/linux/ethtool.h:344: error: `__u32' declared as function returning a function
/usr/include/linux/ethtool.h:346: error: syntax error before '*' token
/usr/include/linux/ethtool.h:346: error: `__u32' declared as function returning a function
/usr/include/linux/ethtool.h:349: error: syntax error before "__u64"


I successfully emerged ethtool in an effort to fix this, but to no avail.
My kernel is 2.6.11-gentoo-r4 compiled with genkernel.

Any ideas?


Last edited by castrik on Fri Apr 01, 2005 4:07 pm; edited 2 times in total
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 847
Location: England, Wakefield

PostPosted: Tue Mar 22, 2005 12:04 pm    Post subject: Reply with quote

does it say anything about /sys/kernel ? i had that error from howl
_________________
Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
castrik
n00b
n00b


Joined: 16 Apr 2004
Posts: 31

PostPosted: Tue Mar 22, 2005 12:06 pm    Post subject: Reply with quote

no errors about /sys/kernel just a page long flood of ethtool syntax errors.
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 847
Location: England, Wakefield

PostPosted: Tue Mar 22, 2005 12:08 pm    Post subject: Reply with quote

did u use genkernel?
_________________
Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
castrik
n00b
n00b


Joined: 16 Apr 2004
Posts: 31

PostPosted: Tue Mar 22, 2005 12:10 pm    Post subject: Reply with quote

yes , sorry i'll add that to the original post.
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 847
Location: England, Wakefield

PostPosted: Tue Mar 22, 2005 12:14 pm    Post subject: Reply with quote

ok this is what i did:

compiled my kernel by not using genkernel, causes a prob for some reason... then:

Code:

unmerge linux-headers (if this says it cant find it, your using 26 headers already so skip next)
emerge linux26-headers

then

emerge glibc


then i didnt get the error anymore, you might wana try diff mirrors aswel and emerge-sync, but i doubt thatll make a difference
_________________
Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
castrik
n00b
n00b


Joined: 16 Apr 2004
Posts: 31

PostPosted: Mon Mar 28, 2005 4:24 pm    Post subject: Reply with quote

i am using 2.6 headers and now running a non-genkernel kernel, glibc has also been recompiled, however the problem, with the same errors still occurs. can anyone help me?
Back to top
View user's profile Send private message
JORUNO
n00b
n00b


Joined: 19 Sep 2003
Posts: 8

PostPosted: Tue Mar 29, 2005 10:59 am    Post subject: Reply with quote

I have problem to emerge howl too. I'm using Gentoo 2005.0.
Can any one tell me how to fix this problem?
Back to top
View user's profile Send private message
Frank Lorenz
n00b
n00b


Joined: 29 Mar 2005
Posts: 14

PostPosted: Tue Mar 29, 2005 7:26 pm    Post subject: Reply with quote

I encountered the same error with howl during a "emerge gnome", I think :(

Perhaps the following info helps someone to identify the problem: ???

The errors are encountered inside /usr/include/linux/ethtool.h. Compiler reports tons of "parse error before "__u64" " or other data type declarations like "__u32".
The ethtool.h is included by posix_interface.c of howl. The last error message complains that the storage size of 'edata' is not known, where 'edata' is a 'ethtool_value' struct containing two "__u32" data words. For me, it looks like these data type declarations are unknown inside ethtool.h (which does not include anything), so perhaps there is an include missing in posix_interface.c???

best regards,
Frank
Back to top
View user's profile Send private message
todw1fd
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2003
Posts: 93

PostPosted: Tue Mar 29, 2005 10:21 pm    Post subject: Reply with quote

Do a search on bugs.gentoo.org for 84030. I unmerged headers and remerged headers and glibc which did nothing for howl. added net-misc/howl ~x86 to package.keywords and emerged howl again and it compiled successfully. I believe the ebuild version is 0.9.8. Try it and see if it helps.
Back to top
View user's profile Send private message
Frank Lorenz
n00b
n00b


Joined: 29 Mar 2005
Posts: 14

PostPosted: Wed Mar 30, 2005 8:48 am    Post subject: Reply with quote

What do you mean with
Quote:

"added net-misc/howl ~x86 to package.keywords"
?

I cannot find a "package.keywords" file on my system.
After reading some man pages, I found that you can add the ~x86 flag as a keyword to the ACCEPT_KEYWORDS option inside /etc/make.conf:

Code:
 ACCEPT_KEYWORDS="~x86".


When doing this, emerge fetches the 0.9.8 version of howl which includes the patch we need and compiles successfully. After compiling howl, I removed the above line again. Problem is that when removing this line and running e.g. emerge gnome again (with dependency "howl"), portage tries to compile the buggy version of howl (0.9.6) again and fails.

So your "package.keywords" solution seems to be better, I simply do not understand it :(

best regards,
Frank
Back to top
View user's profile Send private message
Frank Lorenz
n00b
n00b


Joined: 29 Mar 2005
Posts: 14

PostPosted: Wed Mar 30, 2005 9:07 am    Post subject: Reply with quote

Ups, I just found the solution (haven't read enough man pages, I think :roll: )

For all readers: You can create a package.keywords file inside /etc/portage and add the line
Code:
net-misc/howl ~x86

to it.

Then the command
Code:
emerge howl

fetches the 0.9.8 version of howl which is masked up to now (the ~x86 command says portage should use masked versions for x86 platform, too). This version includes a patch to compile sucessfully.
Back to top
View user's profile Send private message
etrek
n00b
n00b


Joined: 23 Jun 2002
Posts: 58

PostPosted: Fri Apr 01, 2005 3:22 am    Post subject: Yep that worked for me.. Reply with quote

It worked for me on my opteron (using the ~amd64 instead of ~x86)

That's cool, thanks much!


E.
Back to top
View user's profile Send private message
SchmilK
n00b
n00b


Joined: 07 Feb 2005
Posts: 11

PostPosted: Sat Apr 23, 2005 3:24 pm    Post subject: Reply with quote

As Homer Simpson once said

"yes YES OOOOOOOH YEEEEESSSSSS!!!"

FINALLY!!! I get to emerge kftpgrabber!! All imissed was "failed" from the search term emerge howl and now howl 0.9.8 is installed, and kftpgrabber just installed...FINALLY! :-)

Thanks SOOOOO much for the best support forum EVAAARRRRR!!!!!
_________________
(¯'·._-=SchmilK=-_.·'¯)
Back to top
View user's profile Send private message
megaburn
n00b
n00b


Joined: 26 Apr 2005
Posts: 1
Location: Lost in the woods!

PostPosted: Tue Apr 26, 2005 12:37 pm    Post subject: Reply with quote

I just moved two laptops over from Mandrake with the 'stock' 2005.0 iso's using emerge gnome xscreensaver and ran into this problem on both of them. Noting this problem and Frank's solution in the regular documentation would be very helpful for (most) new users.....

Thanks! This problem was driving me nuts.

-Chris
_________________
"Only the dead have seen the end of war."-Plato
Back to top
View user's profile Send private message
Jameas
n00b
n00b


Joined: 23 Aug 2002
Posts: 13

PostPosted: Tue Apr 26, 2005 4:37 pm    Post subject: Reply with quote

This (package.keywords) works for me, too. Thank you.
Back to top
View user's profile Send private message
StevemE;eet
n00b
n00b


Joined: 04 May 2005
Posts: 1

PostPosted: Wed May 04, 2005 4:07 am    Post subject: HEALP!?!?!? Reply with quote

Hey,

I'm trying to compile gnome but i got the error

then i did what u said and downloaded 0.9.8
it still doesnt work :(
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 847
Location: England, Wakefield

PostPosted: Wed May 04, 2005 8:45 am    Post subject: Reply with quote

whats the error? same one?
_________________
Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
Stagediver
n00b
n00b


Joined: 04 May 2005
Posts: 4

PostPosted: Wed May 04, 2005 9:07 pm    Post subject: Reply with quote

THANK YOU FRANK LORENZ !

I can only agree to SchmilK and megaburn: Thanks for this hint !! And yes, it should be put in the docs !

This works for me with a stage 3 athlon-xp installation of gentoo 2005.0 (having nothing installed but the pure kernel and system and then i wanted to install gnome-light and then this problem occured)

Thanks again !
_________________
- Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. (George Orwell )
Back to top
View user's profile Send private message
Kensai
Guru
Guru


Joined: 09 Mar 2004
Posts: 568
Location: Puerto Rico

PostPosted: Sat May 07, 2005 3:01 am    Post subject: Reply with quote

Thanks it worked Fine I wondered why this happened. Never though a package marked stable will give such an error. ;)
_________________
Gentoo: Gigabyte: nFORCE 2: nVIDIA GeForce 6600: AMD Athlon XP 3200+
Perspective of a Thinking Human Being
Back to top
View user's profile Send private message
ironmind
n00b
n00b


Joined: 08 May 2005
Posts: 1
Location: Pori, Finland

PostPosted: Sun May 08, 2005 10:51 am    Post subject: Reply with quote

:!: You might not want to add ACCEPT_KEYWORDS="~x86" to your make.conf coz then you'll accept to emerge potentially unstable versions of any software in the future. Instead I suggest you emerge just howl with the ~x86 flag.

Try this:
ACCEPT_KEYWORDS="~x86" emerge howl

You can always see if there is a newer version of some software by comparing:
emerge "some_software" -vp and ACCEPT_KEYWORDS="~x86" emerge "some_software" -vp
_________________
Athlon XP 1700+
DDR 256MB 333MHz
30,5 MB/s 40GB harddrive
XOOPS + 2048/512 adsl
Back to top
View user's profile Send private message
Azalit
n00b
n00b


Joined: 08 May 2005
Posts: 12

PostPosted: Sun May 08, 2005 3:45 pm    Post subject: help Reply with quote

make[3]: *** [all-recursive] Error 1
make[3]: Leaving Directory /var/tmp/portage/howl-0.9.6-r2/work/howl-0.9.6/src/lib/howl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving Directory /var/tmp/portage/howl-0.9.6-r2/work/howl-0.9.6/src/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving Directory /var/tmp/portage/howl-0.9.6-r2/work/howl-0.9.6/src'


:cry: help please :cry:


Last edited by Azalit on Sun May 08, 2005 4:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
p.n
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2004
Posts: 124

PostPosted: Sun May 08, 2005 3:53 pm    Post subject: Reply with quote

ironmind wrote:
:!: You might not want to add ACCEPT_KEYWORDS="~x86" to your make.conf coz then you'll accept to emerge potentially unstable versions of any software in the future. Instead I suggest you emerge just howl with the ~x86 flag.

Try this:
ACCEPT_KEYWORDS="~x86" emerge howl

You can always see if there is a newer version of some software by comparing:
emerge "some_software" -vp and ACCEPT_KEYWORDS="~x86" emerge "some_software" -vp


I would suggest you not use ACCEPT_KEYWORDS at all. Rather add howl ~x86 to /etc/portage/package.keywords. ACCEPT_KEYWORDS has been depricated.

Regards
p.n
_________________
"Every time I learn something new it pushes some old stuff out of my brain." - Homer Simpson
Back to top
View user's profile Send private message
Azalit
n00b
n00b


Joined: 08 May 2005
Posts: 12

PostPosted: Sun May 08, 2005 7:54 pm    Post subject: help please Reply with quote

All right. I've no idea what to do. last night I tried to install gnome

Code:
emerge gnome xscreensaver


and I let it run for... maybe 4 1/2 hours before I went to bed so the computer was running all night and I'm not sure how much longer it took to give me the aforementioned error. I need help. If any 1 knows what to do or if there's a post about this that I missed somewhere, please help. :cry: :evil: :cry:
Back to top
View user's profile Send private message
checco
n00b
n00b


Joined: 06 Apr 2005
Posts: 10
Location: Italy - Florence

PostPosted: Thu May 12, 2005 3:55 pm    Post subject: Reply with quote

Hi All,
I've applied all the suggestion, but the result is the same :cry:....
when I
Code:
emerge howl
this is the result:

Code:

/usr/include/linux/ethtool.h:340: error: `__u32' declared as function returning a function
/usr/include/linux/ethtool.h:342: error: parse error before '*' token
/usr/include/linux/ethtool.h:342: error: `__u32' declared as function returning a function
/usr/include/linux/ethtool.h:344: error: parse error before '*' token
/usr/include/linux/ethtool.h:344: error: `__u32' declared as function returning a function
/usr/include/linux/ethtool.h:346: error: parse error before '*' token
/usr/include/linux/ethtool.h:346: error: `__u32' declared as function returning a function
/usr/include/linux/ethtool.h:349: error: parse error before "__u64"
/usr/include/linux/ethtool.h:350: error: parse error before "__u32"
/usr/include/linux/ethtool.h:353: error: parse error before "__u64"
/usr/include/linux/ethtool.h:356: error: parse error before '}' token
Posix/posix_interface.c: In function `sw_network_interface_link_status':
Posix/posix_interface.c:238: error: storage size of `edata' isn't known
make[4]: *** [posix_interface.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include/ -I../ -DHOWL_KERNEL -c Posix/posix_signal.c -MT posix_signal.lo -MD -MP -MF .deps/posix_signal.TPlo -o posix_signal.o >/dev/null 2>&1
mv -f .libs/posix_signal.lo posix_signal.lo
make[4]: Leaving directory `/var/tmp/portage/howl-0.9.8/work/howl-0.9.8/src/lib/howl'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/howl-0.9.8/work/howl-0.9.8/src/lib/howl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/howl-0.9.8/work/howl-0.9.8/src/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/howl-0.9.8/work/howl-0.9.8/src'
make: *** [all-recursive] Error 1

!!! ERROR: net-misc/howl-0.9.8 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


As suggested I've added ACCEPT_KEYWORDS="~x86" in /etc/make.conf
and
I've created the file /etc/portage/package.keywords
Code:
net-misc/howl ~x86


Any other suggestion ?

P.S. Take care that I'm a beginner...

Bye,
Checco
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum