Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307179 - dev-lang/perl-5.10.1 errors about files that don't exist
Summary: dev-lang/perl-5.10.1 errors about files that don't exist
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: perl-5.10.1
  Show dependency tree
 
Reported: 2010-02-28 14:10 UTC by Petteri Räty (RETIRED)
Modified: 2010-09-24 11:17 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 Petteri Räty (RETIRED) gentoo-dev 2010-02-28 14:10:41 UTC
* Removing /var/tmp/portage/dev-lang/perl-5.10.1/image/ from /var/tmp/portage/dev-lang/perl-5.10.1/image/usr/lib/perl5/5.10.1/i686-linux/Encode/Config.pm... 
 * Removing /var/tmp/portage/dev-lang/perl-5.10.1/image/ from /var/tmp/portage/dev-lang/perl-5.10.1/image/usr/lib/perl5/5.10.1/i686-linux/.packlist...        
 * Removing /var/tmp/portage/dev-lang/perl-5.10.1/image/ from /var/tmp/portage/dev-lang/perl-5.10.1/image/usr/lib/perl5/5.10.1/i686-linux/Config.pm...        
mv: cannot stat `/var/tmp/portage/dev-lang/perl-5.10.1/image//usr/share/man/man1/cpanp-run-perl.1': No such file or directory                                 
/usr/share/man/man1/cpanp-run-perl.1 does not exist!                                                                                                          
>>> Completed installing perl-5.10.1 into /var/tmp/portage/dev-lang/perl-5.10.1/image/    

Portage 2.2_rc62 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.32-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.32-gentoo-r1-i686-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Unknown
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p2
dev-java/java-config: 2.1.10
dev-lang/python:     2.5.4-r3, 2.6.4-r1, 3.1.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20-r1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /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/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="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/var/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox verify-rdepend"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
LINGUAS="fi en"
MAKEOPTS="-j8"
PKGDIR="/home/pkg/"
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="/mnt/checkouts/overlays/flameeyes-overlay /mnt/checkouts/overlays/openrc /mnt/checkouts/overlays/sunrise /mnt/checkouts/overlays/wschlich-testing /mnt/checkouts/overlays/finnish /mnt/checkouts/overlays/jokey /mnt/checkouts/overlays/x11 /mnt/checkouts/overlays/mozilla /mnt/checkouts/overlays/betelgeuse"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="a52 aac acl acpi alsa audiofile bash-completion bluetooth branding bzip2 cairo caps cdb cddb cdparanoia cdr cli consolekit cracklib crypt cups custom-cxxflags cxx dbus dri dts dvd dvdr dvdread emboss evo fam ffmpeg firefox gif glib hal iconv ipv6 java jpeg kde kdehiddenvisibility libnotify logitech-mouse mad mikmod mjpeg mmx mng modules mp3 mp4 mpeg mudflap ncurses network nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pcre pdf png ppds pppd pulseaudio qt3support quicktime readline reflection rtc samba semantic-desktop session spell spl sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs theora threads thunar tiff truetype udev unicode usb userlocales vim-syntax vorbis win32codecs x264 x86 xcb xcomposite xinerama xml xorg xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="hda-intel" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi en" NETBEANS_MODULES="ruby ide webcommon nb harness java websvccommon gsf" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="none radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2010-05-10 08:05:26 UTC
I'll add this -f test:

- mv "${D}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || \
-   echo "/usr/share/man/man1/${i}.1 does not exist!"
+ if [[ -f ${D}/usr/share/man/man1/${i}.1 ]] ; then
+   mv "${D}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || die
+ else
+   echo "/usr/share/man/man1/${i}.1 does not exist!"
+ fi

But the auto_makesym will stay. With the current alternatives implementation there is no way to avoid a warning without assuming that no man-page will ever be added to CPANPLUS:

alternatives_auto_makesym "/usr/share/man/man1/${i}.1${ff}" "/usr/share/man/man1/${i}-[0-9]*"

So one warning will be logged:
WARN: postinst/postrm
Unable to establish /usr/share/man/man1/cpanp-run-perl.1* symlink
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2010-09-24 11:17:07 UTC
(In reply to comment #1)
> But the auto_makesym will stay. With the current alternatives implementation
> there is no way to avoid a warning without assuming that no man-page will ever
> be added to CPANPLUS:

Removed that too (in 5.12.2-r1). There is no need to recreate the link as long as no manpage exists in perl.