Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16375 - prepman will gzip .keep files when merging baselayout
Summary: prepman will gzip .keep files when merging baselayout
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2003-02-25 19:10 UTC by Mr. Bones. (RETIRED)
Modified: 2011-10-30 22:20 UTC (History)
0 users

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 Mr. Bones. (RETIRED) gentoo-dev 2003-02-25 19:10:03 UTC
prepman (and I guess prepinfo) has this find:

find "${x}"/ \( -type f -or -type l \) -maxdepth 1 -mindepth 1

This will find the .keep files in
/usr/share/man/, /usr/share/info/, and /usr/local/share/man/
and will end up gzipping them which is probably not what we want to do.

One solution would be to use this find instead:

find "${x}"/ \( -type f -or -type l \) ! -name .keep -maxdepth 1 -mindepth 1

Reproducible: Always
Steps to Reproduce:
1. emerge baselayout
2. watch the output for
gzipping man page: .keep
gzipping man page: .keep
info:
gzipping GNU info page: .keep
strip:


Actual Results:  
/usr/share/man/.keep.gz
/usr/share/info/.keep.gz
/usr/local/share/man/.keep.gz


Expected Results:  
/usr/share/man/.keep
/usr/share/info/.keep
/usr/local/share/man/.keep


Portage 2.0.47-r4 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r7)
=================================================================
System uname: 2.4.19-gentoo-r7 i586 Pentium MMX
GENTOO_MIRRORS="http://csociety-ftp.ecn.purdue.edu/pub/gentoo
http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/bash_completion /etc/sound/events /etc/X11/rstart
/etc/X11/xdm /etc/pango /etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode jpeg libg++ mikmod mmx mpeg ncurses
pdflib qtmt sdl spell truetype xml2 xmms xv berkdb esd gdbm gif gnome gnome-libs
gtk guile java libwww oggvorbis opengl pam perl png python readline slang snmp
ssl tcpd tetex tiff X -quicktime -svga -motif -nls -imlib -kde -qt -arts gpm
mozilla"
COMPILER=""
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O3 -pipe"
CXXFLAGS="-march=i586 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache userpriv"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-05-16 17:02:31 UTC
carpaski - been able to spare any cycles for this bug?
Comment 2 Paul Belt 2003-10-13 08:32:46 UTC
This might be a deeply hidden bug... I don't have the time to locate it cause...
but it sounds related.  So instead of creating a new bug report, I'm just
dropping it here.

!!! copy /var/tmp/portage/baselayout-1.8.6.10-r1/image/home/.keep -> /home/.keep
failed.
!!! [Errno 2] No such file or directory: '/home/.keep#new'

automount(pid12932) on /home type autofs (rw,fd=5,pgrp=12932,minproto=2,maxproto=3)
Comment 3 SpanKY gentoo-dev 2003-10-13 08:46:49 UTC
well why dont you drop it on the original bug report next time rather than
on a completely unrelated one Bug 9849
Comment 4 Paul Belt 2003-10-13 09:00:00 UTC
Because I didn't find the first one.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2003-10-18 00:04:55 UTC
This bug is still live in Portage 2.0.49-r13-2
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2004-05-26 01:20:12 UTC
Any chance a fix for this will make the next release?
Comment 7 Nicholas Jones (RETIRED) gentoo-dev 2004-08-04 19:46:30 UTC
No chance whatsoever that it would make it into that next release.
It will be in 2.0.51_pre16 though. :)
Comment 8 Nicholas Jones (RETIRED) gentoo-dev 2004-10-22 08:48:04 UTC
Bug has been fixed and released in stable portages on or before 2.0.51-r2