Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61239 - Typo in archive-conf prevents it from running
Summary: Typo in archive-conf prevents it from running
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-08-22 04:20 UTC by Malte S. Stretz
Modified: 2004-10-22 08:48 UTC (History)
0 users

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


Attachments
patch against archive-conf (archive-conf.patch,702 bytes, patch)
2004-08-22 04:22 UTC, Malte S. Stretz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Malte S. Stretz 2004-08-22 04:20:23 UTC
There are two simple typos in archive-conf which make Python bail out.  I'll attach a patch.

Seems like archive-conf needs even more love (including a man page), maybe I find the time to fix the rest one day.

Reproducible: Always
Steps to Reproduce:
1. touch /etc/foo.dummy
2. archive-conf /etc/foo.dummy
Actual Results:  
  File "/usr/sbin/archive-conf", line 92 
    dispatch_conf.rcs_archive_post_process(archive): 
                                                   ^ 
SyntaxError: invalid syntax
Comment 1 Malte S. Stretz 2004-08-22 04:22:55 UTC
Created attachment 37931 [details, diff]
patch against archive-conf

Seems like I forgot emerge info:

Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r1,
2.4.26-gentoo-r6)
=================================================================
System uname: 2.4.26-gentoo-r6 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://10.10.10.10/gentoo-portage"
USE="apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gpm gtk2 imlib
jpeg libg++ libwww mad mikmod motif mpeg ncurses oggvorbis opengl oss pam
pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd
truetype x86 xml2 xmms xv zlib"
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2004-10-22 08:48:14 UTC
Bug has been fixed and released in stable portages on or before 2.0.51-r2