Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267329 - dev-lang/erlang-13.2 EUnit broken
Summary: dev-lang/erlang-13.2 EUnit broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Faulhammer (RETIRED)
URL: http://groups.google.com/group/erlang...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-24 13:44 UTC by Sergey Sinkovskiy
Modified: 2009-04-29 05:59 UTC (History)
2 users (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 Sergey Sinkovskiy 2009-04-24 13:44:08 UTC
After upgrading from erlang 12.2 to erlang 13.2 - problem wth eunit appeared:
*unexpected termination of test process*                      
::{badarg,[{io,put_chars,[<0.39.0>,unicode,<<>>]},            
           {eunit_proc,handle_test,2},                        
           {eunit_proc,tests_inorder,3},                      
           {eunit_proc,with_timeout,3},                       
           {eunit_proc,run_group,2},                          
           {eunit_proc,tests_inorder,3},                      
           {eunit_proc,with_timeout,3},                       
           {eunit_proc,run_group,2}]}

See more information in URL.
There is also patch included from upstream.

Reproducible: Always

Steps to Reproduce:
1. emerge erlang R13B (13.2)
2. create testsuite using eunit
3. run tests

Actual Results:  
::{badarg,[{io,put_chars,[<0.39.0>,unicode,<<>>]},            
           {eunit_proc,handle_test,2},                        
           {eunit_proc,tests_inorder,3},                      
           {eunit_proc,with_timeout,3},                       
           {eunit_proc,run_group,2},                          
           {eunit_proc,tests_inorder,3},                      
           {eunit_proc,with_timeout,3},                       
           {eunit_proc,run_group,2}]}

Expected Results:  
tests working
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-25 16:41:03 UTC
Please post your "emerge --info".
Comment 2 Sergey Sinkovskiy 2009-04-25 18:27:49 UTC
Sure.
merge --info
Portage 2.2_rc17 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================                                    
System uname: Linux-2.6.25-gentoo-r7-i686-Intel-R-_Core-TM-2_CPU_4400_@_2.00GHz-with-glibc2.0        
Timestamp of tree: Fri, 24 Apr 2009 11:30:01 +0000                                                   
app-shells/bash:     3.2_p33                                                                         
dev-java/java-config: 1.3.7, 2.1.6                                                                   
dev-lang/python:     2.4.4-r13, 2.5.2-r7                                                             
dev-util/cmake:      2.6.3                                                                           
sys-apps/baselayout: 1.12.11.1                                                                       
sys-apps/sandbox:    1.6                                                                             
sys-devel/autoconf:  2.13, 2.61-r2                                                                   
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1                                    
sys-devel/binutils:  2.18-r3                                                                         
sys-devel/gcc-config: 1.4.0-r4                                                                       
sys-devel/libtool:   2.2.6a                                                                          
virtual/os-headers:  2.6.23-r3                                                                       
ACCEPT_KEYWORDS="x86"                                                                                
CBUILD="i686-pc-linux-gnu"                                                                           
CFLAGS="-O2 -march=i686 -pipe"                                                                       
CHOST="i686-pc-linux-gnu"                                                                            
CONFIG_PROTECT="/etc /usr/share/config"                                                              
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild/etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
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/portage/local/layman/je_fro /usr/portage/local/layman/voyageur /usr/portage/local/layman/lisp"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdlsession spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga viavmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2009-04-29 05:59:34 UTC
erlang-13.2-r1 contains the fix.  Thanks for your report.