Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371133 - app-doc/php-docs installs an empty directory
Summary: app-doc/php-docs installs an empty directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-11 10:12 UTC by James Dominy
Modified: 2011-09-09 12:01 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 James Dominy 2011-06-11 10:12:58 UTC
emerging app-doc/php-docs creates an empty directory /usr/share/doc/php-docs-20101029 and doesn't create a version-less symlink (/usr/share/doc/php-docs)

Reproducible: Always

Steps to Reproduce:
1. emerge php-docs
2. cd /usr/share/docs/php-docs-20101029
3. ls -al
Actual Results:  
sirlark@hephaestus ~ $ sudo emerge php-docs
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-doc/php-docs-20101029
 * Package:    app-doc/php-docs-20101029
 * Repository: gentoo
 * Maintainer: php-bugs@gentoo.org
 * USE:        elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   ccache sandbox
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/app-doc/php-docs-20101029/work
>>> Preparing source in /var/tmp/portage/app-doc/php-docs-20101029/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-doc/php-docs-20101029/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-doc/php-docs-20101029/work ...
>>> Source compiled.
>>> Test phase [not enabled]: app-doc/php-docs-20101029

>>> Install php-docs-20101029 into /var/tmp/portage/app-doc/php-docs-20101029/image/ category app-doc
 * Creating symlink to PHP manual at /usr/share/php-docs
>>> Completed installing php-docs-20101029 into /var/tmp/portage/app-doc/php-docs-20101029/image/


>>> Installing (1 of 1) app-doc/php-docs-20101029

>>> Recording app-doc/php-docs in "world" favorites file...
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
sirlark@hephaestus ~ $ ls -d /usr/share/doc/php-*
/usr/share/doc/php-5.3.6-r1  /usr/share/doc/php-docs-20101029
sirlark@hephaestus ~ $ ls /usr/share/doc/php-docs-20101029/
sirlark@hephaestus ~ $ 


Expected Results:  
PHP's html documentation should exist in /usr/share/doc/php-docs-<version_number> and a version independent symlink should be created (/usr/share/doc/php-docs)

Portage 2.1.9.50 (default/linux/x86/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.39-gentoo i686)
=================================================================
System uname: Linux-2.6.39-gentoo-i686-Genuine_Intel-R-_CPU_T2400_@_1.83GHz-with-gentoo-2.0.2
Timestamp of tree: Sun, 29 May 2011 10:15:01 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.2
dev-util/ccache:          3.1.4
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://bragi/gentoo ftp://ftp.is.co.za/linux/distributions/gentoo"
LANG="en_ZA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_ZA en_GB en_US"
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=""
SYNC="rsync://bragi/gentoo-portage"
USE="X a52 aac acl acpi additions ads aio alsa amr ao apache2 ass athena attrib audiofile auto-completion bash-completion bazaar bcmath bdf berkdb blas bluetooth branding bzip2 cairo caps caps-ng cdda cddb cdparanoia cdr cgi cjk cli client colordiff community consolekit context coverart cracklib cramfs creds crypt cscope css cups cvs cxx darcs dbus detex dhcp directfb discard-path djvu dmx dri drm dso dts dvd dvdnav dvdr dvi dvipdfm eap-sim eap-tls emerald enca encode exif expat extensions external-ffmpeg extra extras faac faad fame fastcgi ffmpeg fftw fileinfo firefox flac fontconfig fontforge force-cgi-redirect fortran fpm ftp fuse games gd gdbm gdu gecko gif gimp glibc-omitfp glitz gnuplot gnutls gpg gphoto2 gpm graphics graphite gs gsl gsm gstreamer gtk hash hpn humanities icons iconv id3 id3tag idn imagemagick imap innodb intl ioctl ipc ipv6 jabber jadetex java java6 javascript jingle jit jpeg kpathsea lame lapack latex latex3 lcdfilter lcms ldap libffi libnotify lightning lm_sensors lock logrotate lua luatex lzma lzo mad maildir math matplotlib matroska md5sum mercurial midi mime mirage mmap mmx mmxext mng modules mozilla mp3 mp4 mpeg mpg123 mplayer mppe-mppc mtp mudflap multitarget multiuser musepack music musicbrainz mysql mysqli ncurses network new-login nls nptl nptlonly nsplugin ntfs ntlm ntp nvidia ocaml offensive ogg omega openal opengl openmp optimization osc osdmenu pam pam_ssh pango pcf pcntl pcre pda pdf pdo perl pg-intdatetime pgf phar php pixmaps plotutils pm-utils pnat png pnm podcast policykit posix postgres ppds pppd proj pstricks pulseaudio python qt3support qt4 raw readline recode reiser4 reiserfs remix rss rtc rtmp samba schroedinger science sdl session sha512 sharedext sharedmem shm slang smbclient smp sockets sound spell sse sse2 ssl startup-notification strong-optimization subversion svg swat sysfs syslog sysvipc t1lib taglib tcpd tex4ht theora thin-splines threads thunar tiff timidity tk truetype twolame type3 udev ukit unicode unsupported urandom usb utils vcd vdpau vhosts vidix vim-syntax voice vorbis vpx wav web webdav webdav-neon webinterface wide-unicode wifi wikipedia wimax win32codecs wininst wma wmf wps wxwidgets x264 x86 xanim xattr xcb xcomposite xetex xindy xinerama xinetd xklavier xml xmlreader xmlrpc xmlwriter xorg xosd xpm xscreensaver xulrunner xv xvid xvmc yahoo youtube zip zlib zoran" ALSA_CARDS="seq-dummy intel-hda-snd" 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_ZA en_GB en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Denny Reeh 2011-07-21 19:00:44 UTC
try to use an use flag like for the language like "de" or "en". maybe this is the problem here.

with this:
[ebuild   R   ~] app-doc/php-docs-20101029  LINGUAS="de -en -es -fa -fr -ja -pl -pt_BR -ro -tr" 5,901 kB

the directory /usr/share/docs/php-docs-20101029 is not empty.
Comment 2 Ole Markus With (RETIRED) gentoo-dev 2011-09-09 12:01:50 UTC
I added a revbump that force users to add a supported language to $LINGUAS.