Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248127 - dev-libs/libxml2-2.7.2-r1: duplicate /usr/share/doc/libxml2 directory
Summary: dev-libs/libxml2-2.7.2-r1: duplicate /usr/share/doc/libxml2 directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2008-11-22 09:42 UTC by Alberto Casari
Modified: 2009-05-31 17:37 UTC (History)
2 users (show)

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


Attachments
Stop libxml2 installing multiple directories in /usr/share/doc (libxml2-2.7.2-r2_doc.patch,1.09 KB, patch)
2009-01-25 15:42 UTC, Chris Mayo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Casari 2008-11-22 09:42:44 UTC
I've just updated dev-libs/libxml2-2.7.2-r1 and now in
/usr/share/doc there are two libxml2 directories.
This is not a big bug but anyway ...


Reproducible: Always

Steps to Reproduce:
1.Emerge or update dev-libs/libxml2-2.7.2-r1
2.
3.

Actual Results:  
/usr/share/doc/libxml2-2.7.2/
/usr/share/doc/libxml2-2.7.2/Copyright
/usr/share/doc/libxml2-2.7.2-r1/
/usr/share/doc/libxml2-2.7.2-r1/README.tests.bz2
/usr/share/doc/libxml2-2.7.2-r1/NEWS.bz2
/usr/share/doc/libxml2-2.7.2-r1/ChangeLog.bz2
/usr/share/doc/libxml2-2.7.2-r1/README.bz2
/usr/share/doc/libxml2-2.7.2-r1/Copyright.bz2
/usr/share/doc/libxml2-2.7.2-r1/TODO_SCHEMAS.bz2
/usr/share/doc/libxml2-2.7.2-r1/AUTHORS.bz2
/usr/share/doc/libxml2-2.7.2-r1/TODO.bz2


Expected Results:  
/usr/share/doc/libxml2-2.7.2-r1/
/usr/share/doc/libxml2-2.7.2-r1/README.tests.bz2
/usr/share/doc/libxml2-2.7.2-r1/NEWS.bz2
/usr/share/doc/libxml2-2.7.2-r1/ChangeLog.bz2
/usr/share/doc/libxml2-2.7.2-r1/README.bz2
/usr/share/doc/libxml2-2.7.2-r1/Copyright.bz2
/usr/share/doc/libxml2-2.7.2-r1/TODO_SCHEMAS.bz2
/usr/share/doc/libxml2-2.7.2-r1/AUTHORS.bz2
/usr/share/doc/libxml2-2.7.2-r1/TODO.bz2


emerge --info:

Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25 gentoo-r9 i586)
=================================================================
System uname: 2.6.25-gentoo-r9 i586 AMD-K6(tm) 3D processor
Timestamp of tree: Sat, 22 Nov 2008 06:46:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
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.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O2 -march=i586 -mtune=k6-2 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i586 -mtune=k6-2 -pipe -fomit-frame-pointer"
DISTDIR="/home/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.ing.unibo.it/gentoo/                 ftp://pandemonium.tiscali.de/pub/gentoo/                 ftp://ftp.unina.it/pub/linux/distributions/gentoo/                 ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/                 ftp://gentoo.tiscali.nl/pub/mirror/gentoo/                 ftp://ftp.solnet.ch/mirror/Gentoo/                 ftp://gd.tuwien.ac.at/opsys/linux/gentoo/                 ftp://ftp.public.fix.fi/gentoo/                 ftp://ftp.heanet.ie/pub/gentoo/                 ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_US.utf8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes                           --delete-excluded"
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/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow a52 acl acpi bash-completion branding bzip2 cli crypt cups curl dri expat fam fortran gdbm gmp gnutls gs iconv imagemagick isdnlog jpeg lcms lua lzo midi mmx mudflap ncurses network nptl nptlonly openmp pam pcre perl pppd python readline reflection rtc sasl session slang spell spl ssl sysfs tcpd threads unicode vim-syntax x86 xattr xml xorg 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" DVB_CARDS="usb-dib0700" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bwct hd44780 lcd2usb lcdterm ncurses null png simplelcd t6963" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="matrox vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Alberto Casari 2008-11-22 11:12:51 UTC
(In reply to comment #0)
> I've just updated dev-libs/libxml2-2.7.2-r1 and now in
> /usr/share/doc there are two libxml2 directories.

I've re-emerged with USE flags "doc examples" and
now I have in /usr/share/doc:

/usr/share/doc/libxml2-2.7.2/
/usr/share/doc/libxml2-2.7.2/Copyright
/usr/share/doc/libxml2-2.7.2/examples
/usr/share/doc/libxml2-2.7.2/examples/...
/usr/share/doc/libxml2-2.7.2/html
/usr/share/doc/libxml2-2.7.2/html/...
/usr/share/doc/libxml2-2.7.2-r1/
/usr/share/doc/libxml2-2.7.2-r1/README.tests.bz2
/usr/share/doc/libxml2-2.7.2-r1/NEWS.bz2
/usr/share/doc/libxml2-2.7.2-r1/ChangeLog.bz2
/usr/share/doc/libxml2-2.7.2-r1/README.bz2
/usr/share/doc/libxml2-2.7.2-r1/Copyright.bz2
/usr/share/doc/libxml2-2.7.2-r1/TODO_SCHEMAS.bz2
/usr/share/doc/libxml2-2.7.2-r1/AUTHORS.bz2
/usr/share/doc/libxml2-2.7.2-r1/TODO.bz2
Comment 2 Chris Mayo 2009-01-25 15:42:05 UTC
Created attachment 179688 [details, diff]
Stop libxml2 installing multiple directories in /usr/share/doc

Here's suggestion to fix this for libxml2-2.7.2-r2.ebuild and also bring the python directory under /usr/share/doc/${PF} too.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-23 10:05:38 UTC
patch looks fine.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-31 17:37:31 UTC
fixed without a bump in 2.7.3-r1. Thanks for reporting and providing a patch.