Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55371 - app-misc/devtodo installs tdl symlink which overwrites app-misc/tdl binary
Summary: app-misc/devtodo installs tdl symlink which overwrites app-misc/tdl binary
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-27 16:39 UTC by Chris Pickett
Modified: 2004-07-22 12:35 UTC (History)
1 user (show)

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


Attachments
devtodo-0.1.17-r1.ebuild (devtodo-0.1.17-r1.ebuild,1.38 KB, text/plain)
2004-07-18 00:26 UTC, Aaron Walker (RETIRED)
Details
devtodo-notdl.patch (devtodo-notdl.patch,1.94 KB, patch)
2004-07-18 00:27 UTC, Aaron Walker (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Pickett 2004-06-27 16:39:21 UTC
If you install devtodo-0.1.17, it creates a symlink called tdl.  This overwrites an installation of another todo-list manager called tdl!  This is particularly unfortunate, since you might install devtodo if deciding to switch from tdl, and you then have no way to get to your old todo lists ...

Reproducible: Always
Steps to Reproduce:
1. emerge tdl
2. emerge devtodo
3. try to run the original tdl program!
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-06-30 15:16:45 UTC
>>> /usr/bin/tda -> devtodo
>>> /usr/bin/tdd -> devtodo
>>> /usr/bin/tde -> devtodo
>>> /usr/bin/tdr -> devtodo
>>> /usr/bin/todo -> devtodo


These are the only symlinks I see in devtodo
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-06-30 15:18:30 UTC
I do, however, see a manpage tdl.1.gz crash there.
Comment 3 Chris Pickett 2004-06-30 19:43:51 UTC
it definitely creates a tdl symlink.  if you type man todo, it should list it there as well.  i did 'emerge sync' and devtodo didn't get updated.

# grep tdl /var/log/portage/2360-devtodo-0.1.17.log 
checking for stdlib.h... yes
                 from /usr/include/stdlib.h:25,
cd /var/tmp/portage/devtodo-0.1.17/image//usr/bin; for i in tda tdr tdd tdl todo; do ln -s -f devtodo $i; done
cd /var/tmp/portage/devtodo-0.1.17/image//usr/share/man/man1; for i in tda tdd tde tdl todo; do ln -s -f devtodo.1 $i.1; done
fixing man page symlink: tdl.1.gz
removing old symlink: tdl.1
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2004-07-02 04:03:27 UTC
show me the output of qpkg -l devtodo
Comment 5 Chris Pickett 2004-07-02 09:36:58 UTC
# qpkg -l devtodo
app-misc/devtodo-0.1.17 *
CONTENTS:
/etc
/etc/devtodo
/etc/devtodo/todorc
/usr
/usr/bin
/usr/bin/devtodo
/usr/share
/usr/share/doc
/usr/share/doc/devtodo-0.1.17
/usr/share/doc/devtodo-0.1.17/README.gz
/usr/share/doc/devtodo-0.1.17/tdrec.gz
/usr/share/doc/devtodo-0.1.17/scripts.tcsh.gz
/usr/share/doc/devtodo-0.1.17/scripts.sh.gz
/usr/share/doc/devtodo-0.1.17/TODO.gz
/usr/share/doc/devtodo-0.1.17/QuickStart.gz
/usr/share/doc/devtodo-0.1.17/AUTHORS.gz
/usr/share/doc/devtodo-0.1.17/ChangeLog.gz
/usr/share/doc/devtodo-0.1.17/todorc.example.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/devtodo.1.gz
/usr/share/man/man1/todo.1.gz -> devtodo.1.gz 1088785441
/usr/share/man/man1/tda.1.gz -> devtodo.1.gz 1088785441
/usr/share/man/man1/tdd.1.gz -> devtodo.1.gz 1088785441
/usr/share/man/man1/tde.1.gz -> devtodo.1.gz 1088785441
/usr/bin/tda -> devtodo 1088785441
/usr/bin/tdd -> devtodo 1088785441
/usr/bin/tde -> devtodo 1088785441
/usr/bin/tdl -> devtodo 1088785441
/usr/bin/tdr -> devtodo 1088785441
/usr/bin/todo -> devtodo 1088785441
/usr/share/man/man1/tdl.1.gz -> devtodo.1.gz 1088785441
/usr/share/man/man1/tdr.1.gz -> devtodo.1.gz 1088785441

# emerge --info
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.7-gentoo-r5)
=================================================================
System uname: 2.6.7-gentoo-r5 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -DNDEBUG -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /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 digest sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com http://gentoo.mirrored.ca http://gentoo.chem.wisc.edu/gentoo http://mirrors.tds.net/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d aalib acl acpi acpi4linux alsa apm artswrappersuid avi berkdb bonobo caps cdr chroot cjk crypt cscope cups dga directfb djbfft doc dvb dvd emacs encode escreen esd etwin expat f77 fbcon flac fltk foomaticdb gcj gdbm ggi gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml guile imlib jack jack-tmpfs java javascript jbig jikes joystick jpeg justify ladcca lcms libcaca libg++ libwww lzw-tiff mad maildir matroska mbox md5sum mikmod mmx mng motif mozilla moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg mpeg4 mpi msn nas ncurses nls nntp objc offensive oggvorbis opengl oss pam pcmcia pdflib perl plotutils png pnp portaudio ppds pwdb python quicktime readline ruby samba sasl sdl slang slp speex spell sse ssl svg svga tcltk tcpd tetex theora threads tiff truetype v4l v4l2 video_cards_ati128 vim-with-x wmf x86 xchattext xgetdefault xml xml2 xmms xv zlib"
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-07-14 09:21:10 UTC
the tdl command of devtodo doesn't get that much use at all, and it can also be accessed via 'devtodo --link', so I think we are safe in removing it's symlink.
Comment 7 Chris Pickett 2004-07-16 19:23:51 UTC
sounds good.  perhaps patching the manpage to explain that the tdl symlink was removed to prevent conflicts with tdl would be good too (so that you don't later get bug reports about _that_!)
Comment 8 Aaron Walker (RETIRED) gentoo-dev 2004-07-18 00:26:36 UTC
Created attachment 35672 [details]
devtodo-0.1.17-r1.ebuild
Comment 9 Aaron Walker (RETIRED) gentoo-dev 2004-07-18 00:27:57 UTC
Created attachment 35673 [details, diff]
devtodo-notdl.patch

Cheers.
Comment 10 Chris Pickett 2004-07-18 08:55:44 UTC
looks fine.  i can't test this right now, but if it works for you, great.

thanks!
Comment 11 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-07-20 20:01:35 UTC
fixed in cvs.
Comment 12 Aaron Walker (RETIRED) gentoo-dev 2004-07-21 08:13:12 UTC
robbat2,

Just curious (and mainly asking so that I know for future reference), but shouldn't sys-devel/automake have been kept in DEPEND since automake gets run after patching the Makefile.am's?
Comment 13 Chris Pickett 2004-07-22 12:35:44 UTC
automake is one of the core system packages, i don't think it really matters.