Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145928 - app-text/html-xml-utils - app-shells/fish
Summary: app-text/html-xml-utils - app-shells/fish
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo SGML project
URL:
Whiteboard:
Keywords:
Depends on: 158484
Blocks:
  Show dependency tree
 
Reported: 2006-09-01 18:46 UTC by James Rowe
Modified: 2009-03-11 22:35 UTC (History)
2 users (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 James Rowe 2006-09-01 18:46:54 UTC
Both html-xml-utils and fish provide a binary as /usr/bin/count.  Owing to
the nature of the fish provided tool it probably shouldn't be considered
a candidate for renaming to fix the clash.

  The ebuilds for html-xml-utils already rename normalize to workaround
a clash with media-sound/normalize(Bug #27399), and perhaps now is the time
to consider installing all the html-xml-utils commands with a prefix or
suffix as many of the installed commands have quite generic names.  I've
attempted to contact upstream a few times in the past couple of months to
see if he wishes to hand down a renaming decision, but I've not received
a response.

  I'd personally prefer to see a resolution to this which doesn't follow Bug
#27399, as the tools aren't HTML specific and the naming misrepresents the
package in my opinion.

  If a decision can be reached I'm willing to put the effort in to make the
patch to update intra-package references to the tools, I just don't want to
do the work until I know it will be accepted.

  [The list of binaries provided by html-xml-utils are addid, asc2xml,
cexport, cite, cite-mkbib, count, extract, htmlclean, htmlprune, incl,
index, mkbib, multitoc, name2id, normalize-html, num, pipe, printlinks, toc,
uncdata, unent, unpipe, wls, xml2asc, xmlns, xref and xselect.]

Thanks

James
Comment 1 James Rowe 2006-09-01 18:51:49 UTC
  And now that I take a second look at the list of binaries I can see that
another clash exists with the surfraw-1.0.7 ebuild, which provides a script
as /usr/bin/cite.  Although, it should be noted that a version 2 surfraw
ebuild will hopefully be going stable this month, and none of the v2
releases provide /usr/bin/cite.
Comment 2 Alexandre Buisse (RETIRED) gentoo-dev 2006-12-18 16:45:17 UTC
I'm far from an expert in those *ml things, but what about foo-ml-util? There is a risk of confusion with ML programming languages (caml/sml) but either xml or html would indeed be wrong.

Just my 2c.
Comment 3 James Rowe 2007-03-28 19:28:35 UTC
> ------- Comment #2 from nattfodd@gentoo.org  2006-12-18 16:45 PST -------
> I'm far from an expert in those *ml things, but what about foo-ml-util? There
> is a risk of confusion with ML programming languages (caml/sml) but either xml
> or html would indeed be wrong.

  For what its worth, we went with xml prefix locally.  Reasoning being
that even if people would take ml to mean markup language, in this
instance it only applies to two very narrow (albeit popular) types.
Also, I'd like to hope people are always creating valid XML instances
for HTML in this century :)

Comment 4 James Rowe 2007-03-28 19:29:04 UTC
  With app-shells/fish-1.22.2 the situation has changed somewhat, it no
longer installs its binaries in to /usr in an attempt to work before
/usr is mounted[1].  Because of these changes users no longer see collision
warnings during emerge, but will now experience problems when fish is run.

  If /usr/bin is before /bin in the user's PATH, which is a pretty safe bet,
then users will see the following during startup:

    jay@bernoulli ~/Desktop $ fish
    Version 3.7
    Usage: count [html-file]
    seq: missing operand
    Try `seq --help' for more information.

And they will be required to kill fish from another shell, because at
this point it hasn't finished setting up the keybindings which means C-c
doesn't work and the /usr/bin/count executable is indefinitely waiting
for input on stdin.

  The weak workaround if you want to run fish is to insert /bin early in
the path, something like the following will work:

    PATH=/bin:$PATH fish

1.  It still doesn't work pre-/usr because much of the support code is
installed in /usr/share/fish.

Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-22 19:23:27 UTC
www-client/surfraw-1.0.7 left the tree more than a month ago. :)
Comment 6 Jonathan Lovelace 2009-03-06 02:36:46 UTC
html-xml-utils also collides with media-libs/libextractor (/usr/bin/extract and /usr/share/man/man1/extract.1.bz2) and sys-apps-count (/usr/bin/count and /usr/share/man/man1/count.1.bz2).

emerge --info:
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-tuxonice-r9 i686)
=================================================================
System uname: Linux-2.6.24-tuxonice-r9-i686-Pentium_III_-Coppermine-with-glibc2.0
Timestamp of tree: Thu, 05 Mar 2009 23:45:01 +0000
distcc 3.0 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 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.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.inf.elte.hu/ ftp://mirror.pacific.net.au/linux/Gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
MAKEOPTS="-j2 -l 3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=360"
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/portage/local/layman/localoverlay /usr/portage/local/layman/sunrise /usr/portage/local/layman/java-overlay /usr/portage/local/layman/geki /usr/portage/local/layman/games /usr/portage/local/layman/pkalin /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X aac aalib acpi alsa bash-completion berkdb bzip2 cddb cli cracklib crypt cscope ctype curl curlwrappers daap directfb doc dri editor encode fbcon fbdev festival ffmpeg figlet finger firefox ftp gb gdal gdbm general gmedia gnutls gopher gphoto2 gpm grammar gzip iconv id3 imap inifile ipv6 isdnlog java java5 java6 jikes jpeg jpeg2k lame largeterminal libcaca libedit libwww lzo mad mbox mbx md5sum mdb memlimit midi mime mmap mmx mouse moznoirc moznomail mozsvg mp3 mp4 mpeg mpeg2 mudflap musicbrainz ncurses no-old-linux no-opts nocd nowin nptl nptlonly nsplugin odk ogdi ogg openmp pam pch pcre pdf perl player png posix pppd readline reflection rtc samba scanner sender session sftp sharedmem sox spell spl sse ssl svg svga sysfs syslog sysvipc szip tagwriting tcpd text theora thesaurus threads tidy timidity toolbar unicode usb userlocales vim vim-pager vim-with-x vorbis win32codecs wmf wmp wordperfect x86 xml xorg zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="i810 intel fbdev vesa vga"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

Comment 7 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-11 22:35:39 UTC
Blockers added in version 2.8 of html-xml-utils. version 5.3 prefixes all binaries with hx. Closing.