Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72254 - emerge-webrsync don't work : macosx's date command doesn't support the -d option
Summary: emerge-webrsync don't work : macosx's date command doesn't support the -d option
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC All
: High minor (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-23 08:35 UTC by Damien Bobillot
Modified: 2006-04-12 10:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Damien Bobillot 2004-11-23 08:35:12 UTC
no more needed than summary

Reproducible: Always
Steps to Reproduce:
run "sudo emerge-webrsync"
Actual Results:  
[here:~] me% sudo emerge-webrsync
Fetching most recent snapshot
date: illegal option -- d
usage: date [-nu] [-r seconds] [+format]
       date [[[[[cc]yy]mm]dd]hh]mm[.ss]
date: illegal option -- d
usage: date [-nu] [-r seconds] [+format]
       date [[[[[cc]yy]mm]dd]hh]mm[.ss]
date: illegal option -- d
usage: date [-nu] [-r seconds] [+format]
       date [[[[[cc]yy]mm]dd]hh]mm[.ss]


Expected Results:  
I except it works :)

none
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-11-23 09:15:52 UTC
Please submit the output of `emerge --info`.
Also, what does `portageq envvar USERLAND` return?
Comment 2 Damien Bobillot 2004-11-23 11:20:16 UTC
I don't think it'll help you : the problem is that the date command installed with macosx doesn't support the -d option used by the emerge-webrsync script.

The "INVALID ACCEPT_KEYWORDS: macos" appears after I the first time I run "emerge --sync" (using a web proxy configured with RSYNC_PROXY="" in make.conf). I've runned emerge --sync just after submiting the first version of this bug report.

## portageq envvar USERLAND :
!!! INVALID ACCEPT_KEYWORDS: macos
BSD

## emerge --info
!!! INVALID ACCEPT_KEYWORDS: macos
!!! Using `which gcc` to gcc locate version, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 20040726 (default-macos-10.3, gcc-3.3, unavailable, 7.6.0 Power Macintosh powerpc)
=================================================================
System uname: 7.6.0 Power Macintosh powerpc
macos-20040726
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.57
Automake: sys-devel/automake-1.6.3
Binutils: 
ACCEPT_KEYWORDS="macos ~ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect cvs keepwork"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="macos berkdb ldap mysql perl python ruby"
Comment 3 Lina Pezzella (RETIRED) gentoo-dev 2004-11-23 20:14:56 UTC
Please change your keyword to "ppc-macos" (stable) or "~ppc-macos" (unstable). The "macos" keyword has been deprecated for a long time, and was recently removed.
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-11-23 20:18:51 UTC
All right, I see. You are using deprecated Mac OS X installer.
Please use 20041118 installer available at
http://www.metadistribution.org/gentoo/macos/
emerge-webrsync problem was fixed several months ago,
and 20040726 installer doesn't contain the fix.
Comment 5 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-12-03 18:09:58 UTC
Please use the latest Gentoo for Mac OS X installer.