Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300799 - perl-core/version failed to build with 'ssaw_period' undeclared
Summary: perl-core/version failed to build with 'ssaw_period' undeclared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL: http://rt.cpan.org/Public/Bug/Display...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-13 01:47 UTC by Willard Dawson
Modified: 2010-01-15 15:05 UTC (History)
4 users (show)

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


Attachments
perl-version-0.79-assert.patch (perl-version-0.79-assert.patch,476 bytes, text/plain)
2010-01-13 09:44 UTC, David Abbott (RETIRED)
Details
version-0.79.ebuild.diff (version-0.79.ebuild.diff,345 bytes, text/plain)
2010-01-13 09:46 UTC, David Abbott (RETIRED)
Details
Patch log. (patch.log,2.74 KB, text/plain)
2010-01-13 13:28 UTC, Willard Dawson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Willard Dawson 2010-01-13 01:47:39 UTC
perl-core/version failed to build with:

>>> Emerging (15 of 17) perl-core/version-0.79
 * version-0.79.tar.gz RMD160 SHA1 SHA256 size ;-) ...                   [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * CPV:  perl-core/version-0.79                                                
 * REPO: gentoo                                                                
 * USE:  elibc_glibc kernel_linux userland_GNU x86                             
>>> Unpacking source...                                                        
>>> Unpacking version-0.79.tar.gz to /var/tmp/portage/perl-core/version-0.79/work                                                                               
>>> Source unpacked in /var/tmp/portage/perl-core/version-0.79/work             
>>> Preparing source in /var/tmp/portage/perl-core/version-0.79/work/version-0.79 ...                                                                           
>>> Source prepared.                                                            
>>> Configuring source in /var/tmp/portage/perl-core/version-0.79/work/version-0.79 ...                                                                         
 * Using Module::Build                                                          
Creating new 'MYMETA.yml' with configuration results                            
Creating new 'Build' script for 'version' version '0.79'                        
>>> Source configured.                                                          
>>> Compiling source in /var/tmp/portage/perl-core/version-0.79/work/version-0.79 ...                                                                           
Building version                                                                
i686-pc-linux-gnu-gcc -I./vutil -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -fPIC -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=i686 -O2 -pipe -ggdb -o ./vutil/vutil.o ./vutil/vutil.c                                                                  
./vutil/vutil.c: In function 'Perl_prescan_version':                            
./vutil/vutil.c:22: error: 'ssaw_period' undeclared (first use in this function)
./vutil/vutil.c:22: error: (Each undeclared identifier is reported only once    
./vutil/vutil.c:22: error: for each function it appears in.)                    
error building ./vutil/vutil.o from './vutil/vutil.c' at /usr/lib/perl5/vendor_perl/5.8.8/ExtUtils/CBuilder/Base.pm line 112.                                   


Reproducible: Always

Steps to Reproduce:
1.emerge --update world
2.
3.




# emerge --info =perl-core/version-0.79
Portage 2.1.7.16 (default/linux/x86/10.0, gcc-4.4.2, glibc-2.11-r1, 2.6.30-gentoo-r6 i686)                                                                      
=================================================================               
                        System Settings                                         
=================================================================               
System uname: Linux-2.6.30-gentoo-r6-i686-Intel-R-_Pentium-R-_M_processor_2.00GHz-with-gentoo-2.0.1                                                             
Timestamp of tree: Wed, 13 Jan 2010 01:00:01 +0000                              
app-shells/bash:     4.0_p35                                                    
dev-java/java-config: 2.1.10                                                    
dev-lang/python:     2.5.4-r4, 2.6.4, 3.1.1-r1                                  
dev-python/pycrypto: 2.1.0                                                      
dev-util/cmake:      2.8.0                                                      
sys-apps/baselayout: 2.0.1                                                      
sys-apps/openrc:     0.6.0                                                      
sys-apps/sandbox:    2.2                                                        
sys-devel/autoconf:  2.13, 2.65                                                 
sys-devel/automake:  1.5-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1       
sys-devel/binutils:  2.20                                                       
sys-devel/gcc-config: 1.4.1                                                     
sys-devel/libtool:   2.2.6b                                                     
virtual/os-headers:  2.6.30-r1                                                  
ACCEPT_KEYWORDS="x86 ~x86"                                                      
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 Nessus-EULA sun-bcla-java-vm"             
CBUILD="i686-pc-linux-gnu"                                                      
CFLAGS="-march=i686 -O2 -pipe -ggdb"                                            
CHOST="i686-pc-linux-gnu"                                                       
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"                      
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/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"                                                 
CXXFLAGS="-march=i686 -O2 -pipe -ggdb"                                          
DISTDIR="/usr/portage/distfiles"                                                
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                 
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                                                           
LDFLAGS="-Wl,-O1"                                                               
MAKEOPTS=""                                                                     
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="3dnow 3dnowext X a52 aac acl acpi aiglx alsa apache2 apm ati audiofile avahi avi bash-completion berkdb bitmap-fonts bzip2 cairo caps cardbus cdio cdr cli consolekit cracklib crypt ctype cups cxx dba dbtool dbus digitalradio diskio djvu dri dts dvdread eds emboss encode esd ethereal exif expat fastbuild ffmpeg fftw fglrx foomaticdb force-cgi-redirect fortran ftp fuse gamin gd gdbm gif glib glitz glut gmp gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imlib ipv6 ithreads jack java jpeg kde kerberos kqemu lcms ldap libclamav libg++ libwww lirc live lm_sensors lua mad madwifi matroska mdnsresponder-compat memlimit mhash mikmod mmx mmxext mng modules mono motif mozilla mp3 mpeg mudflap mysql ncurses netboot netjack networking nforce2 nls nptl nptlonly nsplugin nvidia ocaml ogg oggvorbis opengl openmp oss pam pango pch pcmcia pcre pdf pdflib pear perl php pmu png policykit portaudio posix pppd pulseaudio python qt qt3support qtmt quicktime readline reflection ruby samba sasl sdl session simplexml slang sndfile snmp soap sockets spell spl sql sqlite sse sse2 ssl svg sysfs tcl tcltk tcpd theora threads threadsafe tiff tk tokenizer truetype truetype-fonts type1-fonts udev unicode utempter vorbis wddx webkit wifi win32codecs x86 xanim xinerama xml xmlrpc xorg xscreensaver xsl xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" FOO2ZJS_DEVICES="hp2600n" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 David Abbott (RETIRED) gentoo-dev 2010-01-13 09:44:16 UTC
Created attachment 216340 [details]
perl-version-0.79-assert.patch
Comment 2 David Abbott (RETIRED) gentoo-dev 2010-01-13 09:46:47 UTC
Created attachment 216341 [details]
version-0.79.ebuild.diff

>>> Source compiled.
t/01base.t ..... ok     
t/02derived.t .. ok     
t/03require.t .. ok     
All tests successful.
Files=3, Tests=1382,  0 wallclock secs ( 0.19 usr  0.01 sys +  0.49 cusr  0.06 csys =  0.75 CPU)
Result: PASS

qlist perl-core/version
/usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux/version.pm
/usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux/version.pod
/usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux/auto/version/vxs/vxs.so
/usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux/version/Internals.pod
/usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux/version/vxs.pm
/usr/lib/debug/usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux/auto/version/vxs/vxs.so.debug
/usr/share/doc/version-0.79-r1/Changes.bz2
/usr/share/doc/version-0.79-r1/README.bz2
/usr/share/man/man3/version.3.bz2
/usr/share/man/man3/version::Internals.3.bz2
Comment 3 Willard Dawson 2010-01-13 13:27:18 UTC
Can you please post your actual ebuild file?  After applying your diff there is still no epatch call in mine... I added one and the perl-version-0.79-assert.patch failed.  See the attached patch log.  I guess it's just a patch formatting issue...
Comment 4 Willard Dawson 2010-01-13 13:28:19 UTC
Created attachment 216349 [details]
Patch log.
Comment 5 David Abbott (RETIRED) gentoo-dev 2010-01-13 14:35:00 UTC
(In reply to comment #3)
> Can you please post your actual ebuild file?  After applying your diff there is
> still no epatch call in mine... I added one and the
> perl-version-0.79-assert.patch failed.  See the attached patch log.  I guess
> it's just a patch formatting issue...
> 
Created directory /usr/local/portage/perl-core in my local overlay
Copied /usr/portage/perl-core/version to the directory created
removed everything from that directory except the ebuild
renamed the ebuild -r1
create a files directory and added the patch
added PATCHES=( "${FILESDIR}/perl-version-0.79-assert.patch" ) to ebuild
created the manifest
Comment 6 Willard Dawson 2010-01-14 04:56:48 UTC
> Created directory /usr/local/portage/perl-core in my local overlay
Check - did that.
> Copied /usr/portage/perl-core/version to the directory created
Check - did that.
> removed everything from that directory except the ebuild
Did not try that.
> renamed the ebuild -r1
Nor that.
> create a files directory and added the patch
Did that.
> added PATCHES=( "${FILESDIR}/perl-version-0.79-assert.patch" ) to ebuild
and that
> created the manifest
and all that.

I guess I messed up in not making an incremental version number for my local repo ebuild file... it's been a busy day and I was distracted.  Sorry...

So, fixed my ebuild file brokenness, and can report:

Works for me.

Thanks for the fix.
Comment 7 Juergen Rose 2010-01-14 09:01:28 UTC
I had the same problem. The Patch worked for me too.
Comment 8 Torsten Veller (RETIRED) gentoo-dev 2010-01-15 15:05:30 UTC
Fixed. Thanks