Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293377 - app-portage/g-cpan-0.15.0-r1: uninitialized values for sed + INVALID ACCEPT_KEYWORDS:
Summary: app-portage/g-cpan-0.15.0-r1: uninitialized values for sed + INVALID ACCEPT_K...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
Depends on:
Reported: 2009-11-16 12:21 UTC by Toralf Förster
Modified: 2010-02-12 20:17 UTC (History)
2 users (show)

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

konsole output (out.txt,12.92 KB, text/plain)
2009-11-16 12:21 UTC, Toralf Förster
make.conf (make.conf,1.89 KB, text/plain)
2009-11-16 15:48 UTC, Toralf Förster
/var/db/pkg/dev-perl/TermReadKey-2.30/environment.bz2 (environment.bz2,19.85 KB, application/octet-stream)
2010-01-29 10:08 UTC, Toralf Förster
/var/db/pkg/perl-gcpan/Sysadm-Install-0.33/environment.bz2 (environment.bz2,19.97 KB, application/octet-stream)
2010-01-29 10:09 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2009-11-16 12:21:05 UTC
I'll attach the konsole output for my first attempt to use that tool ( - BTW it worked and installed the module) - however there are some errors which are worth to be noticed, IMHO.

Reproducible: Always
Comment 1 Toralf Förster gentoo-dev 2009-11-16 12:21:30 UTC
Created attachment 210387 [details]
konsole output
Comment 2 Patrick Lauer gentoo-dev 2009-11-16 15:38:28 UTC
Are you using prefix portage by chance?
Comment 3 Toralf Förster gentoo-dev 2009-11-16 15:48:47 UTC
Created attachment 210419 [details]

(In reply to comment #2)
> Are you using prefix portage by chance?
No, attached make.conf nevertheless.
And here's the local overlay:

tfoerste@n22 ~ $ ls -l /usr/local/portage/
total 16
drwxr-xr-x 3 root root 4096 Jun 21 11:41 app-crypt
drwxr-xr-x 2 root root 4096 Nov  5 17:39 layman
drwxr-xr-x 3 root root 4096 Sep 14 11:33 media-gfx
drwxr-xr-x 3 root root 4096 Nov 16 13:09 perl-gcpan
Comment 4 Wormo (RETIRED) gentoo-dev 2009-11-30 22:52:04 UTC
Your build output is rather puzzling... would you mind posting 'emerge --info' output as well? 
Comment 5 Toralf Förster gentoo-dev 2009-12-01 08:46:06 UTC
(In reply to comment #4)
> Your build output is rather puzzling... would you mind posting 'emerge --info'
> output as well? 
of course :

n22 ~ # emerge --info
Portage (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, i686)
System uname: Linux-
Timestamp of tree: Tue, 01 Dec 2009 07:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
LINGUAS="de en"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="X a52 aac acl acpi alsa apache2 berkdb bluetooth branding bzip2 cairo cdda cddax cddb cdio cdr cli consolekit cracklib crypt css cups curl dbus dri dts dvd dvdr eds emboss encode evo exif fam fastbuild fat firefox flac fontconfig fortran gdbm geoip gif git gmp gpm gstreamer gtk hal hyphenation iconv ipv6 java jpeg kde kqemu ldap libnotify mad mbox mikmod mmx mp3 mp4 mpeg mudflap mysql nano-syntax ncurses nls nptl nptlonly nsplugin ntfs ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime rdesktop readline reflection sdl session slp spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd thinkpad thunar tiff tk truetype unicode usb vcd vim-syntax vorbis win32codecs wmf x264 x86 xml xorg xpm xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" QEMU_SOFTMMU_TARGETS="i386" QEMU_USER_TARGETS="i386" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel"
Comment 6 Torsten Veller (RETIRED) gentoo-dev 2009-12-04 20:13:26 UTC
(In reply to comment #3)
> Created an attachment (id=210419) [details]
> make.conf

| source /usr/local/portage/layman/make.conf

What's in that file?

Is "# Prefix keywords" an inline comment?
Comment 7 Toralf Förster gentoo-dev 2009-12-05 09:37:19 UTC
(In reply to comment #6)
> (In reply to comment #3)
> > Created an attachment (id=210419) [details] [details]
> > make.conf
> | source /usr/local/portage/layman/make.conf
> What's in that file?

tfoerste@n22 ~ $ cat /usr/local/portage/layman/make.conf

tfoerste@n22 ~ $ grep OVER /etc/make.conf
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2010-01-29 05:36:07 UTC
Could you please attach the environment file from one of the failed builds? It could be that your default environment has some weird settings that trickle through into the working of emerge.
Comment 9 Toralf Förster gentoo-dev 2010-01-29 10:08:45 UTC
Created attachment 217817 [details]

unmerged and emerged again today w:
$> emerge -C perl-gcpan/Sysadm-Install-0.33 dev-perl/TermReadKey-2.30
$>-cpan -v -i Sysadm::Install
Comment 10 Toralf Förster gentoo-dev 2010-01-29 10:09:03 UTC
Created attachment 217820 [details]
Comment 11 Torsten Veller (RETIRED) gentoo-dev 2010-01-29 10:21:45 UTC
| [...]
| x86
| x86-fbsd
| # Prefix keywords
| ppc-aix
| x86-freebsd
| x64-freebsd
| [...]

and g-cpan does:

$keywords ||= do
    open my $tmp, '<', "$PORTAGE_DIR/profiles/arch.list"
      or fatal(print_err("ERROR READING $PORTAGE_DIR/profiles/arch.list: $!"));
    join ' ', map { chomp; $_ } <$tmp>;

So it's really a bug in g-cpan.
Comment 12 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-02-12 20:17:47 UTC
Fixed in r227, will be released soon.