Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
touch - Function not implemented
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
jody
Guru
Guru


Joined: 16 Oct 2007
Posts: 460
Location: Switzerland

PostPosted: Mon Jun 30, 2008 2:29 pm    Post subject: touch - Function not implemented Reply with quote

Hi

When i want to emerge some packages, the emerge fails,
with an error message concerning "touch":
Code:
aim-rush bin # emerge  sys-apps/man-pages                   
Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> starting parallel fetching pid 8921

>>> Emerging (1 of 2) sys-apps/man-pages-3.01 to /
 * man-pages-3.01.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                       [ ok ]
 * checking man-pages-3.01.tar.bz2 ;-) ...                                                                                                   [ ok ]
touch: setting times of `/var/tmp/portage/sys-apps/man-pages-3.01/temp/environment.success': Function not implemented
>>> Unpacking source...
>>> Unpacking man-pages-3.01.tar.bz2 to /var/tmp/portage/sys-apps/man-pages-3.01/work
touch: setting times of `/var/tmp/portage/sys-apps/man-pages-3.01/.unpacked': Function not implemented
 *
 * ERROR: sys-apps/man-pages-3.01 failed.
 * Call stack:
 *               ebuild.sh, line 1784:  Called dyn_unpack
 *               ebuild.sh, line  677:  Called die
 * The specific snippet of code:
 *      touch "${PORTAGE_BUILDDIR}/.unpacked" || die "IO Failure -- Failed 'touch .unpacked' in ${PORTAGE_BUILDDIR}"
 *  The die message:
 *   IO Failure -- Failed 'touch .unpacked' in /var/tmp/portage/sys-apps/man-pages-3.01
 *
 * 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/sys-apps/man-pages-3.01/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/man-pages-3.01/temp/environment'.
 *


The same happens for
  • sys-apps/baselayout
  • sys-apps/man
  • sys-process/psmisc
  • sys-apps/shadow

and more.

Does anybody have an idea what's wrong here?

Thank You
Jody
Back to top
View user's profile Send private message
armin76
Developer
Developer


Joined: 24 Apr 2006
Posts: 173

PostPosted: Mon Jun 30, 2008 3:15 pm    Post subject: Reply with quote

You upgraded coreutils, and that version of coreutils doesn't support kernels older than 2.6.22.
Upgrade your kernel or downgrade coreutils.
Back to top
View user's profile Send private message
Polynomial-C
Developer
Developer


Joined: 01 Jun 2003
Posts: 1391
Location: germany

PostPosted: Mon Jun 30, 2008 4:21 pm    Post subject: Reply with quote

[Bug 224483] sys-apps/coreutils-6.12 - touch uses unknown system call utimensat
_________________
The manual said "Requires Windows7 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Back to top
View user's profile Send private message
jody
Guru
Guru


Joined: 16 Oct 2007
Posts: 460
Location: Switzerland

PostPosted: Tue Jul 01, 2008 10:15 am    Post subject: Reply with quote

Armin76,Polynomial-C: Thanks for your help.

Unfortunately i was neither able to upgrade coreutils,
nor to install a new kernel - both ways i got the "touch"-error.

Finally i managed to install an old coreutils from
Code:
http://tinderbox.dev.gentoo.org/default-linux/x86/sys-apps/coreutils-6.10-r2.tbz2
.
I then masked the "Bad" coreutils
Code:
>=sys-apps/coreutils-6.12
emerged coreutils again (-> 6.11) and now everything is ok.

Thank You
Jody
Back to top
View user's profile Send private message
gcostanz
n00b
n00b


Joined: 24 Feb 2003
Posts: 69
Location: Hilton, New York

PostPosted: Fri Jul 04, 2008 2:12 am    Post subject: Reply with quote

I am stuck with this same problem for any emerge after an update world updated to the latest coreutils:

>>> Unpacking firefox-3.0.tar.bz2 to /var/tmp/portage/www-client/mozilla-firefox-bin-3.0/work
touch: setting times of `/var/tmp/portage/www-client/mozilla-firefox-bin-3.0/.unpacked': Function not implemented
*
* ERROR: www-client/mozilla-firefox-bin-3.0 failed.
* Call stack:
* ebuild.sh, line 1784: Called dyn_unpack
* ebuild.sh, line 677: Called die
* The specific snippet of code:
* touch "${PORTAGE_BUILDDIR}/.unpacked" || die "IO Failure -- Failed 'touch .unpacked' in ${PORTAGE_BUILDDIR}"
* The die message:
* IO Failure -- Failed 'touch .unpacked' in /var/tmp/portage/www-client/mozilla-firefox-bin-3.0

Can someone give me a procedure how fix this, including specifically how to patch or downgrade? I cant use portage at all at the moment, so a kernel upgrade is out.

Thanks.
Back to top
View user's profile Send private message
gcostanz
n00b
n00b


Joined: 24 Feb 2003
Posts: 69
Location: Hilton, New York

PostPosted: Fri Jul 04, 2008 3:45 am    Post subject: Reply with quote

RESOLVED:

Downgraded to previous version of coreutils:

wget http://tinderbox.dev.gentoo.org/default-linux/x86/sys-apps/coreutils-6.10-r2.tbz2
mv coreutils-6.10-r2.tbz2 /usr/portage/sys-apps/coreutils
cd /usr/portage/sys-apps/coreutils
tar -C / -xvjf coreutils-6.10-r2.tbz2
emerge =coreutils-6.10-r2
revdep-rebuild

thanks
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