Modify

Opened 2 years ago

Closed 2 years ago

#21761 closed defect (fixed)

svn: invalid option: --show-item

Reported by: anonymous Owned by: developers
Priority: highest Milestone: Designated Driver (Trunk)
Component: base system Version: Trunk
Keywords: Cc:

Description

Error after last updates:

svn: invalid option: --show-item

Attachments (0)

Change History (4)

comment:1 Changed 2 years ago by anonymous

Create index file './feeds/luci.index'
svn: invalid option: --show-item
Type 'svn help' for usage.
date: invalid date '@'
svn: invalid option: --show-item
Type 'svn help' for usage.
date: invalid date '@'
svn: invalid option: --show-item
Type 'svn help' for usage.
date: invalid date '@'

comment:2 Changed 2 years ago by hnyman

svn 1.8.13 (default in Ubuntu 15.10) does not support the --show-item option that r48584 introduced to scripts/get_source_date_epoch.sh

Apparently that option is available only since svn 1.9:
https://subversion.apache.org/docs/release-notes/1.9.html#enhancements

Either the script need modifying, or the buildroot prereq check needs to ensure that svn is new enough.

/changeset/48584.html
https://dev.openwrt.org/browser/trunk/scripts/get_source_date_epoch.sh

Example:

perus@ub1510:/Openwrt/trunk$ ./scripts/feeds update
Updating feed 'packages' from 'https://github.com/openwrt/packages.git' ...
Already up-to-date.
Create index file './feeds/packages.index' 
svn: invalid option: --show-item
Type 'svn help' for usage.
date: invalid date '@'
^C

perus@ub1510:/Openwrt/trunk$ svn info --show-item last-changed-date
svn: invalid option: --show-item
Type 'svn help' for usage.

perus@ub1510:/Openwrt/trunk$ svn --version
svn, version 1.8.13 (r1667537)
   compiled Sep  8 2015, 14:59:01 on x86_64-pc-linux-gnu

comment:3 Changed 2 years ago by hnyman

Error is visible also in the buildbot:

Prereq check:
http://buildbot.openwrt.org:8010/builders/imx6/builds/202/steps/compile_1/logs/stdio

...
  USERNAME=root
  _=/usr/bin/buildslave
 using PTY: False
svn: warning: Can't open file '/root/.subversion/servers': Permission denied
svn: invalid option: --show-item
Type 'svn help' for usage.
date: invalid date `@'
svn: warning: Can't open file '/root/.subversion/servers': Permission denied
svn: invalid option: --show-item
Type 'svn help' for usage.
date: invalid date `@'
Checking 'rsync'... ok.
program finished with exit code 0
elapsedTime=20.408416

Feed update:
http://buildbot.openwrt.org:8010/builders/imx6/builds/202/steps/shell_4/logs/stdio

...
  USERNAME=root
  _=/usr/bin/buildslave
 using PTY: False
Updating feed 'packages' from 'https://github.com/openwrt/packages.git' ...
Cloning into './feeds/packages'...
Create index file './feeds/packages.index' 
svn: warning: Can't open file '/root/.subversion/servers': Permission denied
svn: invalid option: --show-item
Type 'svn help' for usage.
date: invalid date `@'
svn: warning: Can't open file '/root/.subversion/servers': Permission denied
svn: invalid option: --show-item
Type 'svn help' for usage.
date: invalid date `@'
svn: warning: Can't open file '/root/.subversion/servers': Permission denied
svn: invalid option: --show-item
Type 'svn help' for usage.
date: invalid date `@'
[M
Collecting package info: feeds/packages/admin/debootstrap[M
...

comment:4 Changed 2 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r48594, r48593

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.