Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288377 - app-admin/eselect-news-20080320: Missing functions when calling "eselect news"
Summary: app-admin/eselect-news-20080320: Missing functions when calling "eselect news"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-10 05:39 UTC by Thomas Jäger
Modified: 2009-10-10 07:42 UTC (History)
1 user (show)

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 Thomas Jäger 2009-10-10 05:39:43 UTC
Missing functions in /usr/share/eselect/modules/news.eselect

/usr/share/eselect/modules/news.eselect: line 103: get_news_dir_name: command not found
/usr/share/eselect/modules/news.eselect: line 192: get_news_dir_name: command not found
/usr/share/eselect/modules/news.eselect: line 92: /.en.txt: No such file or directory


Reproducible: Always

Steps to Reproduce:
1. # eselect news list
2. # eselect news read 2009-10-08-gnome-226
3.

Actual Results:  
1)
/usr/share/eselect/modules/news.eselect: line 103: get_news_dir_name: command not found


2) 
/usr/share/eselect/modules/news.eselect: line 192: get_news_dir_name: command not found
/usr/share/eselect/modules/news.eselect: line 92: /.en.txt: No such file or directory

/usr/share/eselect/modules/news.eselect: line 99: /.en.txt: No such file or directory
Comment 1 Sebastian Luther (few) 2009-10-10 05:50:51 UTC
Please provide "emerge --info app-admin/eselect-news  app-admin/eselect".

eselect news read 2009-10-08-gnome-226

Did it really tell you that "2009-10-08-gnome-226" would be the name of the news item?
Comment 2 Thomas Jäger 2009-10-10 06:01:25 UTC
#emerge --info app-admin/eselect-news app-admin/eselect

Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 10 Oct 2009 05:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
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.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64-sse3 -O2 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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/udev/rules.d"
CXXFLAGS="-march=athlon64-sse3 -O2 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages maketest parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.ynet.sk/pub http://gentoo.mirror.solnet.ch http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 berkdb bidi bluetooth bzip2 cairo cddb cdparanoia cdr cgi chroot cli consolekit cracklib crypt ctype cups curl dbus dedicated dga dri dvb dvd dvdr eds encode esd evo exif expat fastcgi ffmpeg flac foomaticdb gd gdbm geoip gif gimp gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk hal iconv imap isdnlog java jpeg jpeg2k lame lcms lm_sensors mad matroska mbox mmx mmxext modules mozilla mp3 mpeg mudflap multilib mysql nautilus ncurses networkmanager nls nntp nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl php png ppds pppd python quicktime readline reflection samba sasl scanner sdl session speex spell spl sse sse2 sse3 ssl subversion svg sysfs taglib tcpd theora threads tiff truetype unicode usb v4l v4l2 videos vorbis wmf x264 xattr xcb xinetd xml xorg xpm 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_alias authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta charset_lite dav deflate dir disk_cache env file_cache filter ident imagemap include log_config mem_cache mime mime_magic negotiation rewrite version" APACHE2_MPMS="worker" CAMERAS="directory fuji ptp2 template" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev v4l vesa vga nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-admin/eselect-news-20080320 was built with the following:
USE="(multilib)"


app-admin/eselect-1.2.3 was built with the following:
USE="(multilib) -bash-completion -doc"
Comment 3 Thomas Jäger 2009-10-10 06:06:42 UTC
# eselect news
[...]
  read <target>             Read a news item
    target                    News item ID (from 'list' action), or the special
                              item 'new', to list all new news items, or 'all',
                              to show all items
[...]


# eselect news list

Unread news items:
  (none found)              
Read news items:
/usr/share/eselect/modules/news.eselect: line 103: get_news_dir_name: command not found
  2009-04-06-x_server-1_5   (no title available)
/usr/share/eselect/modules/news.eselect: line 103: get_news_dir_name: command not found
  2009-04-18-java-config-wrapper-0.16
                            (no title available)
/usr/share/eselect/modules/news.eselect: line 103: get_news_dir_name: command not found
  2009-07-12-xorg-74-alpha  (no title available)
/usr/share/eselect/modules/news.eselect: line 103: get_news_dir_name: command not found
  2009-09-27-qt_use_changes (no title available)
/usr/share/eselect/modules/news.eselect: line 103: get_news_dir_name: command not found
  2009-10-08-gnome-226      (no title available)


So whats the news ID (except all or new)?
Comment 4 Sebastian Luther (few) 2009-10-10 06:07:17 UTC
You shouldn't have app-admin/eselect-news. Try "emerge --depclean app-admin/eselect-news". If it doesn't work. Try "emerge -1 eselect". One of them should remove app-admin/eselect-news.
Comment 5 Thomas Jäger 2009-10-10 06:36:13 UTC
oh - I see there is the news reading functionality added inside eselect.
Unmerging eselect-news isnt a problem

So everything works fine now and I suggest to close this bug

Thanks