Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358159 - app-doc/linux-gazette-182 doesn't install
Summary: app-doc/linux-gazette-182 doesn't install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 03:09 UTC by François Bissey
Modified: 2011-03-11 01:57 UTC (History)
1 user (show)

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


Attachments
temporary ebuild fix (linux-gazette-182.ebuild,705 bytes, application/octet-stream)
2011-03-11 01:14 UTC, brent
Details

Note You need to log in before you can comment on or make changes to this bug.
Description François Bissey 2011-03-10 03:09:41 UTC
the S directory is set to a wrong value, here is the error message: * lg-182.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                             [ ok ]
 * Package:    app-doc/linux-gazette-182
 * Repository: gentoo
 * Maintainer: vapier@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   fakeroot preserve-libs sandbox
>>> Unpacking source...
>>> Unpacking lg-182.tar.gz to /var/tmp/portage/app-doc/linux-gazette-182/work
>>> Source unpacked in /var/tmp/portage/app-doc/linux-gazette-182/work
>>> Compiling source in /var/tmp/portage/app-doc/linux-gazette-182/work ...
>>> Source compiled.
>>> Test phase [not enabled]: app-doc/linux-gazette-182

>>> Install linux-gazette-182 into /var/tmp/portage/app-doc/linux-gazette-182/image/ category app-doc
mv: cannot stat `/var/tmp/portage/app-doc/linux-gazette-182/work/lg': No such file or directory
 * ERROR: app-doc/linux-gazette-182 failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_install
 *   environment, line 186:  Called die
 * The specific snippet of code:
 *       mv "${S}" "${D}"/usr/share/doc/${PN} || die
 * 
 * If you need support, post the output of 'emerge --info =app-doc/linux-gazette-182',
 * the complete build log and the output of 'emerge -pqv =app-doc/linux-gazette-182'.
 * The complete build log is located at '/var/log/portage/build/app-doc/linux-gazette-182:20110310-025249.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-doc/linux-gazette-182/temp/environment'.
 * S: '/var/tmp/portage/app-doc/linux-gazette-182/work/lg'

ls /var/tmp/portage/app-doc/linux-gazette-182/work/
182

So S is set to work/lg when it needs to be work/182.
There may be other but it will take time to test them individually. I tried to pull linux-gazette-all and it failed on 182 and refuse to resume with a --resume --skipfirst. The volume not merged are given in this list:
* Invalid resume list:
 * 
 *   ('ebuild', u'/', u'app-doc/linux-gazette-181', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-180', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-23', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-22', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-21', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-20', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-27', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-26', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-25', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-24', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-29', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-28', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-41', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-40', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-43', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-42', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-45', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-44', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-47', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-46', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-49', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-48', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-34', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-35', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-36', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-37', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-30', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-31', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-32', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-33', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-38', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-39', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-178', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-179', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-172', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-173', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-170', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-171', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-176', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-177', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-174', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-175', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-52', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-53', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-50', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-51', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-56', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-57', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-54', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-55', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-58', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-59', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-169', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-168', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-161', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-160', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-163', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-162', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-165', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-164', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-167', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-166', 'merge')
 *   ('ebuild', u'/', u'app-doc/linux-gazette-all-182', 'merge')
Comment 1 brent 2011-03-11 00:57:38 UTC
Confirming bug; same happens here. emerge --info:


zsh 8328 [1] # emerge --info
Portage 2.1.9.42 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.13-r1, 2.6.37-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Extreme_CPU_X9100_@_3.06GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 10 Mar 2011 22:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.2_p7
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.5.4-r4, 2.6.6-r1, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1, 2.21
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.3.5, 2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs candy distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en 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="/var/lib/layman/sunrise /var/lib/layman/games /var/lib/layman/dev-zero /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="64bit X a52 aac aalib accessibility acl acpi akamaru alsa amd64 animgif ao applet ares async asyncns atmo automount avahi banshee bash-completion berkdb bidi bluetooth bluez bonjour bookmarks branding bzip2 cairo caps cdda cddax cddb cdinstall cdio cdr cli colordiff consolekit cpulimit cracklib crypt css cups curl cxx dbus dc1394 device-mapper dga dirac directfb disk-partition diskio djvu double-precision dri dts dv dvb dvd dvdr dvdread eds elf emboss emerald empathy encode esd evo exif extensible extras faac faad fam fbcon fbcondecor festival ffmpeg firefox flac flash fluidsynth fontconfig freetts fuse gajim games gcrypt gdbm gdu gedit ggi gif gimp glitz gnome gnome-keyring gnomecd gnutls gpg gphoto2 gpm gsm gstreamer gtk h323 hal hald hdaps hddtemp howl-compat html httpd iconv icu id3tag idn ieee1394 imagemagick imap ipc ipod iproute2 ipv6 irda jack java jpeg jpeg2k kerberos krb5 kvm lame laptop lcms ldap libass libcaca libnotify libsamplerate libssh2 libsysfs libv4l2 libwww lirc live lm_sensors loop-aes lua lzo mad matroska mbrola mdnsresponder-compat mfd-rewrites mikmod mmap mmx mng modplug modules mono motif mp3 mp4 mpeg mudflap multilib multislot musepack nautilus ncurses network nls nntp nptl nptlonly nsplugin nss offensive ogg openexr opengl openmp openssl openstreetmap optimisememory overlays pam pango pcap pcapnav pcre pda pdf perl php pic pidgin png policykit ppds pppd pulseaudio pvr python qt3 qt3support qt4 quicktime quotas radius raster raw rawio readline remoteosd rtsp samba sasl scanner schroedinger scripting sdl sdl-image seamonkey session shout sip skey skins smbkrb5passwd smp smux socks5 sounds speex spell sse sse2 ssl startup-notification stream svg sysfs syslog taglib tcpd theora threads tiff timezone tk tools tpctlir truetype twolame udev unicode upnp usb utils v4l v4l2 vala vcdinfo vcdx vde videos vim-pager vim-syntax vim-with-x vlm vorbis webkit winbind wmf x264 xattr xext xinerama xinetd xml xorg xosd xpm xulrunner xv xvid zeroconf zlib zsh-completion zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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" CAMERAS="directory enigma13 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200" 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text cfontzpacket cwlinux ea65 eyeboxone g15 graphlcd i2500vfd icpa106 imon imonlcd iowarrior irtrans lcterm lis md8800 ms6931 mtcs16209x noritakevfd picolcd pyramid sed1330 sed1520 serialpos serialvfd shuttlevfd sli stv5730 t6963 tyan ula200 xosd" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon" 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 2 brent 2011-03-11 01:14:04 UTC
Created attachment 265523 [details]
temporary ebuild fix

## WHAT WAS DONE ##
Okay. So this at least fixes the path using a very silly quick hack:

zsh 8380 # diff linux-gazette-182.ebuild /usr/portage/app-doc/linux-gazette/linux-gazette-182.ebuild 
20d19
<       mv "${WORKDIR}"/182 "${WORKDIR}"/lg

## POSSIBLE PITFALLS ##
you may or may not run into a file collision with /usr/share/doc/linux-gazette/index.html
i'm currently looking into the normal way the index is handled.. it appears the direectory structure has changed a bit in v182.

## CAUSE OF BUG ##
upstream; they changed from naming the untarred directory "lg" to "<VERSION#>".


package maintainer- any feedback? do you have a preferred method; changing ${S} or the mv command i added?