Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281268 - [perl 5.10.1] dev-lang/wml-2.0.11-r3 failed
Summary: [perl 5.10.1] dev-lang/wml-2.0.11-r3 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-13 02:19 UTC by David Abbott
Modified: 2009-10-18 11:45 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,69.38 KB, text/plain)
2009-08-13 02:20 UTC, David Abbott (RETIRED)
Details
environment (environment,104.30 KB, text/plain)
2009-08-13 02:21 UTC, David Abbott (RETIRED)
Details
should fix "missing" DynaLoader for perl 5.10 and also compile with 5.8 (wml-2.0.11-perl510.patch,1.23 KB, patch)
2009-09-22 00:26 UTC, Arttu Valo
Details | Diff
ebuild applying the patch (wml-2.0.11-r4.ebuild,1.88 KB, text/plain)
2009-10-11 11:07 UTC, mephinet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Abbott (RETIRED) gentoo-dev 2009-08-13 02:19:56 UTC
Installed Perl 5.10 from the perl-experimental overlay to find what packages
fail to build.
also; 
git clone git://git.overlays.gentoo.org/proj/perl-overlay.git
I put these in a local overlay



Reproducible: Always

Steps to Reproduce:
1. Enable perl-experimental overlay
2. Update to Perl 5.10
3. perl-cleaner all
4. locate 5.8.8 | grep ^/usr/ | grep -v ^/usr/portage | xargs equery belongs |
uniq | sed -e s/^/\=/ | xargs emerge --oneshot
5. emerge -e1 system -e1 world
6. install every package from dev-perl



Reproducible: Always




Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_CPU_4300_@_1.80GHz-with-gentoo-1.12.11.1
Timestamp of tree: Wed, 12 Aug 2009 23:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccach distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 audacious audiofile bash-completion berkdb bittorrent bluetooth branding bzip2 cairo ccache cdaudio cdb cdda cddb cdparanoia cdr cdrom cleartype cli colordiff cracklib crypt ctype cups dbus dri dts dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox flac foomaticdb fortran gdbm gif gimp gimpprint glitz gnome gnome-print gpm gstreamer gtk gtk2 hal hash hddtemp iconv imagemagick imlib ipv6 isdnlog jack jpeg lame ldap libnotify lm_sensors mad maildir mbrola mikmod mmx mp2 mp3 mp3rtp mp4 mp4live mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl php png ppds pppd python qt3 qt3support quicktime rar readline reflection reiserfs sdl session slang spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs tcpd theora tiff tk truetype type1 unicode usb v4l v4l2 vhook video vorbis wmf x264 xcomposite xml xorg xulrunner xv xvid" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 David Abbott (RETIRED) gentoo-dev 2009-08-13 02:20:55 UTC
Created attachment 201090 [details]
build.log
Comment 2 David Abbott (RETIRED) gentoo-dev 2009-08-13 02:21:29 UTC
Created attachment 201091 [details]
environment
Comment 3 Arttu Valo 2009-09-22 00:26:32 UTC
Created attachment 204872 [details, diff]
should fix "missing" DynaLoader for perl 5.10 and also compile with 5.8

In practice I just borrowed couple patch hunks from these friendly folks:

http://www.mail-archive.com/ports@openbsd.org/msg18827.html

Minimal testing done just by emerging successfully on both a multilib-amd64 with perl 5.8, and a multilib-amd64 chroot with perl 5.10.
Comment 4 mephinet 2009-10-11 11:07:41 UTC
Created attachment 206736 [details]
ebuild applying the patch

I added your patch to the attached ebuild, now it builds fine, but starting wml results in:
Can't locate File/PathConvert.pm in @INC.
Now it gets complicated:
WML comes with its own copy of PathConvert in ./wml-2.0.11/wml_common/filepathconvert/PathConvert.pm.
As there is no PathConvert in the portage tree, this seems to be ok.
On the other hand, PathConvert is deprected, so it should be replaced.
However, the bundled PathConvert does not get installed on my machine,
so /usr/lib/wml/perl is completely empty - which does not match with bug 253286, which complains about these packages being installed.
/me is confused.
Comment 5 mephinet 2009-10-11 11:58:52 UTC
During the install step of the ebuild, I get:

===> wml_common/filepathconvert (install)
make[2]: Entering directory `/var/tmp/portage/dev-lang/wml-2.0.11-r4/work/wml-2.0.11/wml_common/filepathconvert'
chmod: missing operand after `755'
Try `chmod --help' for more information.
make[2]: *** [/.exists] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-lang/wml-2.0.11-r4/work/wml-2.0.11/wml_common/filepathconvert'
<=== wml_common/filepathconvert

For some reason, this error does not cause make to stop...
Comment 6 Hans de Graaff gentoo-dev Security 2009-10-18 11:44:15 UTC
I've added the patch to CVS. Arttu, thanks for tracking it down and testing it.
Comment 7 Hans de Graaff gentoo-dev Security 2009-10-18 11:45:09 UTC
(In reply to comment #4)

> However, the bundled PathConvert does not get installed on my machine,
> so /usr/lib/wml/perl is completely empty - which does not match with bug
> 253286, which complains about these packages being installed.
> /me is confused.

Please check against wml-2.0.11-r4 and open a separate bug if this is still a problem.