Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2012 12:59:34 GMT
From:      Richard Yao <ryao@gentoo.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/169805: utime() syscall does not work in linuxulator
Message-ID:  <201207121259.q6CCxYbm039181@red.freebsd.org>
Resent-Message-ID: <201207121300.q6CD0A01037368@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169805
>Category:       i386
>Synopsis:       utime() syscall does not work in linuxulator
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 12 13:00:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Richard Yao
>Release:        FreeBSD 9.0-RELEASE
>Organization:
Gentoo
>Environment:
FreeBSD gfreebsd 9.0-r3-Gentoo FreeBSD Gentoo 9.0-r3 #0: Sun May 27 20:29:34 EDT 2012     root@gfreebsd:/usr/src/sys/amd64/compile/GENERIC amd64 amd64 AMD Phenom(tm) II X6 1090T Processor FreeBSD
>Description:
Unpacking packages with Gentoo's package manager in Gentoo Linux fails when running in Linux emulation.

 * Package:    sys-process/htop-1.0.1
 * Repository: gentoo
 * Maintainer: idl0r@gentoo.org
 * USE:        elibc_glibc kernel_linux unicode userland_GNU x86
 * FEATURES:   sandbox
 * To use lsof features in htop(what processes are accessing
 * what files), you must have sys-process/lsof installed.
>How-To-Repeat:
mkdir /mnt/linux
wget -O - http://distfiles.gentoo.org/releases/x86/current-stage3/stage3-i686-20120710.tar.bz2 | tar -x -C /mnt/linux
cp /etc/resolv.conf /mnt/linux/etc/resolv.conf
mount -t linprocfs none /mnt/linux/proc
mount -t linsysfs none /mnt/linux/sys
mount -t devfs none /mnt/linux/dev
mount -t fdescfs none /mnt/linux/dev/fd
chroot /mnt/linux
env-update
source /etc/profile
export PS1="(chroot) $PS1"
cd
emerge-webrsync
emerge htop
>Fix:
There is no known fix at this time.

>Release-Note:
>Audit-Trail:
>Unformatted:
 >>> Unpacking source...
 >>> Unpacking htop-1.0.1.tar.gz to /var/tmp/portage/sys-process/htop-1.0.1/work
 tar: htop-1.0.1/config.sub: Cannot utime: Invalid argument
 tar: htop-1.0.1/htop.1.in: Cannot utime: Invalid argument
 tar: htop-1.0.1/AvailableMetersPanel.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/Settings.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/CategoriesPanel.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/OpenFilesScreen.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/UptimeMeter.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/MetersPanel.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/install-sh: Cannot utime: Invalid argument
 tar: htop-1.0.1/README: Cannot utime: Invalid argument
 tar: htop-1.0.1/AvailableColumnsPanel.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/MemoryMeter.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/SignalsPanel.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/SwapMeter.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/FunctionBar.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/AvailableMetersPanel.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/TasksMeter.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/CategoriesPanel.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/htop.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/Vector.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/Makefile.am: Cannot utime: Invalid argument
 tar: htop-1.0.1/autogen.sh: Cannot utime: Invalid argument
 tar: htop-1.0.1/BatteryMeter.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/Affinity.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/aclocal.m4: Cannot utime: Invalid argument
 tar: htop-1.0.1/LoadAverageMeter.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/CheckItem.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/htop.png: Cannot utime: Invalid argument
 tar: htop-1.0.1/configure: Cannot utime: Invalid argument
 tar: htop-1.0.1/FunctionBar.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/depcomp: Cannot utime: Invalid argument
 tar: htop-1.0.1/Header.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/ColumnsPanel.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/ColumnsPanel.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/m4/lt~obsolete.m4: Cannot utime: Invalid argument
 tar: htop-1.0.1/m4/ltoptions.m4: Cannot utime: Invalid argument
 tar: htop-1.0.1/m4/ltsugar.m4: Cannot utime: Invalid argument
 tar: htop-1.0.1/m4/ltversion.m4: Cannot utime: Invalid argument
 tar: htop-1.0.1/m4/libtool.m4: Cannot utime: Invalid argument
 tar: htop-1.0.1/UptimeMeter.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/ListItem.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/SignalsPanel.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/Settings.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/htop.1: Cannot utime: Invalid argument
 tar: htop-1.0.1/configure.ac: Cannot utime: Invalid argument
 tar: htop-1.0.1/Meter.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/MemoryMeter.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/Header.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/CPUMeter.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/ChangeLog: Cannot utime: Invalid argument
 tar: htop-1.0.1/UsersTable.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/ltmain.sh: Cannot utime: Invalid argument
 tar: htop-1.0.1/HostnameMeter.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/Affinity.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/Hashtable.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/BatteryMeter.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/config.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/Meter.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/htop.desktop: Cannot utime: Invalid argument
 tar: htop-1.0.1/config.h.in: Cannot utime: Invalid argument
 tar: htop-1.0.1/RichString.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/OpenFilesScreen.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/String.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/ClockMeter.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/Process.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/RichString.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/ClockMeter.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/AffinityPanel.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/CRT.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/ListItem.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/SwapMeter.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/CPUMeter.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/Panel.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/Panel.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/ProcessList.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/Object.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/LoadAverageMeter.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/AffinityPanel.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/Process.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/ScreenManager.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/MetersPanel.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/String.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/INSTALL: Cannot utime: Invalid argument
 tar: htop-1.0.1/UsersTable.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/TasksMeter.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/NEWS: Cannot utime: Invalid argument
 tar: htop-1.0.1/CRT.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/htop.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/TraceScreen.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/AUTHORS: Cannot utime: Invalid argument
 tar: htop-1.0.1/ScreenManager.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/ColorsPanel.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/TraceScreen.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/DisplayOptionsPanel.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/ProcessList.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/CheckItem.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/AvailableColumnsPanel.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/compile: Cannot utime: Invalid argument
 tar: htop-1.0.1/HostnameMeter.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/Makefile.in: Cannot utime: Invalid argument
 tar: htop-1.0.1/Object.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/ColorsPanel.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/Vector.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/DisplayOptionsPanel.c: Cannot utime: Invalid argument
 tar: htop-1.0.1/scripts/MakeHeader.py: Cannot utime: Invalid argument
 tar: htop-1.0.1/missing: Cannot utime: Invalid argument
 tar: htop-1.0.1/COPYING: Cannot utime: Invalid argument
 tar: htop-1.0.1/Hashtable.h: Cannot utime: Invalid argument
 tar: htop-1.0.1/config.guess: Cannot utime: Invalid argument
 tar: Exiting with failure status due to previous errors
  * ERROR: sys-process/htop-1.0.1 failed (unpack phase):
  *   failure unpacking htop-1.0.1.tar.gz
  * 
  * Call stack:
  *               ebuild.sh, line  85:  Called src_unpack
  *             environment, line 129:  Called _eapi0_src_unpack
  *        phase-helpers.sh, line 530:  Called unpack 'htop-1.0.1.tar.gz'
  *        phase-helpers.sh, line 309:  Called _unpack_tar 'gzip -d'
  *        phase-helpers.sh, line 282:  Called assert_sigpipe_ok 'failure unpacking htop-1.0.1.tar.gz'
  *   isolated-functions.sh, line  37:  Called die
  * The specific snippet of code:
  *   		[[ $x -ne 0 && $x -ne ${PORTAGE_SIGPIPE_STATUS:-141} ]] && die "$@"
  * 
  * If you need support, post the output of `emerge --info '=sys-process/htop-1.0.1'`,
  * the complete build log and the output of `emerge -pqv '=sys-process/htop-1.0.1'`.
  * The complete build log is located at '/var/tmp/portage/sys-process/htop-1.0.1/temp/build.log'.
  * The ebuild environment file is located at '/var/tmp/portage/sys-process/htop-1.0.1/temp/environment'.
  * Working directory: '/var/tmp/portage/sys-process/htop-1.0.1/work'
  * S: '/var/tmp/portage/sys-process/htop-1.0.1/work/htop-1.0.1'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207121259.q6CCxYbm039181>