Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot Compile e2fsprogs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
DarkScytale
n00b
n00b


Joined: 06 Oct 2009
Posts: 9

PostPosted: Sun Oct 28, 2012 2:43 pm    Post subject: Cannot Compile e2fsprogs Reply with quote

Hello,

I need to emerge e2fsprogs (because I had problems with mount.smbfs). I have a 2.6.31-gentoo-r6 and I get the next error:

e4defrag.c:237:2: warning: #warning Using locally defined fallocate syscall interface.
e4defrag.c:251: error: static declaration of 'fallocate64' follows non-static declaration
/usr/include/bits/fcntl.h:251: error: previous declaration of 'fallocate64' was here
make[2]: *** [e4defrag.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-fs/e2fsprogs-1.42/work/e2fsprogs-1.42/misc'
make[1]: *** [all-progs-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-fs/e2fsprogs-1.42/work/e2fsprogs-1.42'
make: *** [all] Error 2
emake failed
^[[31;01m*^[[0m ERROR: sys-fs/e2fsprogs-1.42 failed (compile phase):
^[[31;01m*^[[0m (no error message)
^[[31;01m*^[[0m
^[[31;01m*^[[0m Call stack:
^[[31;01m*^[[0m ebuild.sh, line 85: Called src_compile
^[[31;01m*^[[0m environment, line 2284: Called die
^[[31;01m*^[[0m The specific snippet of code:
^[[31;01m*^[[0m emake COMPILE_ET=compile_et MK_CMDS=mk_cmds || die;
^[[31;01m*^[[0m
^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=sys-fs/e2fsprogs-1.42'`,
^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=sys-fs/e2fsprogs-1.42'`.
^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/sys-fs/e2fsprogs-1.42/temp/build.log'.
^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/sys-fs/e2fsprogs-1.42/temp/environment'.
^[[31;01m*^[[0m Working directory: '/var/tmp/portage/sys-fs/e2fsprogs-1.42/work/e2fsprogs-1.42'
^[[31;01m*^[[0m S: '/var/tmp/portage/sys-fs/e2fsprogs-1.42/work/e2fsprogs-1.42'

I only found to try to complie it by hand using --disable-defrag : the result is the same.

Is there other solutions ?

Sebastien
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Sun Oct 28, 2012 3:37 pm    Post subject: Reply with quote

DarkScytale,

Is the rest of your system as old as your kernel?
If so you will have problems building most things.

We need to see the entire /var/tmp/portage/sys-fs/e2fsprogs-1.42/temp/build.log to see what went wrong.
Your post just says that it failed.

Put the above file onto a pastebin site please, then tell us the URL.

wgetpaste is your friend
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DarkScytale
n00b
n00b


Joined: 06 Oct 2009
Posts: 9

PostPosted: Sun Oct 28, 2012 4:01 pm    Post subject: Reply with quote

Here is the log:

http://bpaste.net/show/54113/

In fact I wanted to upgrade this server (lost during a year with no update) and I cannot update the system :(
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Sun Oct 28, 2012 4:35 pm    Post subject: Reply with quote

DarkScytale,

Start off with
Code:
emerge portage
if that fails because of unknown EAPI you will need to get a few binary packages from tinderbox.dev.gentoo.org
If that works, the next step is
Code:
emerge system -uDNav
which will probably fail due to mutual blocks between gcc and glibc.
That can only be fixed by updating both packages in intermediate steps in turn.

It will really be faster to reinstall than to update.

I suspect your sys-fs/e2fsprogs issue is just the tip of the iceberg.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DarkScytale
n00b
n00b


Joined: 06 Oct 2009
Posts: 9

PostPosted: Sun Oct 28, 2012 5:38 pm    Post subject: Reply with quote

I tried and .... this works :)

Because I'm crazy I also tried "emerge e2fsprogs" and this also works.

Thanks NeddySeagoon for your Help

Sebastien
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
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