Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648784 - dev-ruby/rmagick-2.16.0: test failure
Summary: dev-ruby/rmagick-2.16.0: test failure
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 645622
  Show dependency tree
 
Reported: 2018-02-25 17:57 UTC by Thomas Deutschmann (RETIRED)
Modified: 2020-08-01 06:36 UTC (History)
0 users

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


Attachments
build.log (build.log,138.09 KB, text/plain)
2018-02-25 17:57 UTC, Thomas Deutschmann (RETIRED)
Details
build.log-r1 (build.log,136.67 KB, text/plain)
2018-04-17 20:09 UTC, Thomas Deutschmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2018-02-25 17:57:17 UTC
Created attachment 521038 [details]
build.log

> Failure: test_iterations(ImageList1_UT)
> /var/tmp/portage/dev-ruby/rmagick-2.16.0/work/ruby22/rmagick-2.16.0/test/ImageList1.rb:36:in `test_iterations'
>      33:
>      34:     def test_iterations
>      35:         assert_nothing_raised { @list.iterations }
>   => 36:         assert_equal(1, @list.iterations)
>      37:         assert_nothing_raised { @list.iterations = 20 }
>      38:         assert_equal(20, @list.iterations)
>      39:         assert_raise(ArgumentError) { @list.iterations = 'x' }
> <1> expected but was
> <0>
> ===============================================================================
> ............................................F
> ===============================================================================
> Failure: <Magick::ImageMagickError> exception expected but none was thrown. test_montage(ImageList2_UT)
> /var/tmp/portage/dev-ruby/rmagick-2.16.0/work/ruby22/rmagick-2.16.0/test/ImageList2.rb:205:in `test_montage'
>      202:       montage = ilist.montage { self.font = 2 }
>      203:       assert_equal(@ilist, ilist)
>      204:     end
>   => 205:     assert_raise(Magick::ImageMagickError) do
>      206:       montage = ilist.montage { self.frame = 'z' }
>      207:       assert_equal(@ilist, ilist)
>      208:     end
> ===============================================================================
> ................F
> ===============================================================================
> Failure: test_bounding_box(Image_Attributes_UT)
> /var/tmp/portage/dev-ruby/rmagick-2.16.0/work/ruby22/rmagick-2.16.0/test/Image_attributes.rb:109:in `test_bounding_box'
>      106:   def test_bounding_box
>      107:     assert_nothing_raised { @img.bounding_box }
>      108:     box = @img.bounding_box
>   => 109:     assert_equal(87, box.width)
>      110:     assert_equal(87, box.height)
>      111:     assert_equal(7, box.x)
>      112:     assert_equal(7, box.y)
> <87> expected but was
> 
> <93>
> ===============================================================================
> ..F
> ===============================================================================
> Failure: test_color_profile(Image_Attributes_UT)
> /var/tmp/portage/dev-ruby/rmagick-2.16.0/work/ruby22/rmagick-2.16.0/test/Image_attributes.rb:149:in `test_color_profile'
>      146:     assert_nothing_raised { @img.color_profile }
>      147:     assert_nil(@img.color_profile)
>      148:     assert_nothing_raised { @img.color_profile = @p }
>   => 149:     assert_equal(@p, @img.color_profile)
>      150:     assert_raise(TypeError) { @img.color_profile = 2 }
>      151:   end
>      152:
> <"\x00\x00\x0F\xD8ADBE\x04\x00\x00\x00scnrRGB XYZ \a\xD2\x00\b\x00\x02\x00\x00\x00\x00\x00\x00acspAPPL\x00\x00\x00\x01\x
> 00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\xF6\xD6\x00\x01\x00\x00\x00\x00\x
> D3-ADBE\x90Q\xE0+\x81(\xA4MT\xFA\xAE\x96\xFB\x1AFw\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x
> 00\x00\x00\x00\x00\x00\x00\x00\
> [...]
> Error: test_import_export(Import_Export_UT): ArgumentError: pixel buffer must contain an exact multiple of the map length
> /var/tmp/portage/dev-ruby/rmagick-2.16.0/work/ruby22/rmagick-2.16.0/test/Import_Export.rb:12:in `import_pixels'
> /var/tmp/portage/dev-ruby/rmagick-2.16.0/work/ruby22/rmagick-2.16.0/test/Import_Export.rb:12:in `import_pixels'
> /var/tmp/portage/dev-ruby/rmagick-2.16.0/work/ruby22/rmagick-2.16.0/test/Import_Export.rb:19:in `import'
> /var/tmp/portage/dev-ruby/rmagick-2.16.0/work/ruby22/rmagick-2.16.0/test/Import_Export.rb:72:in `test_import_export'
>      69:         if is_hdri_support
>      70:           p = pixels.pack('F*')
>      71:         end
>   => 72:         import(p, Magick::QuantumPixel)
>      73:
>      74:         ipixels = pixels.collect {|px| px * 65537}
>      75:         p = ipixels.pack('I*')
> 

Tested against media-gfx/imagemagick-6.9.9.31.


Portage 2.3.19 (python 3.5.4-final-0, default/linux/x86/17.0, gcc-6.4.0, glibc-2.25-r10, 4.9.76-gentoo-r1 i686)
=================================================================
System uname: Linux-4.9.76-gentoo-r1-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:     3108324 total,   1082336 free
KiB Swap:     488276 total,    488276 free
Timestamp of repository gentoo: Sun, 25 Feb 2018 16:06:29 +0000
Head commit of repository gentoo: df2807503eb44f5955abc158a635391bf1a3c920

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r10::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CPU_FLAGS_X86="mmx mmxext sse sse2"
CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
DEFAULT_ABI="x86"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GCC_SPECS=""
GRUB_PLATFORMS="efi-32 pc"
GSETTINGS_BACKEND="dconf"
HOME="/root"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/6.4.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.29.1/info:/usr/share/info:/usr/share/info/emacs-25"
INPUT_DEVICES="libinput keyboard mouse"
IUSE_IMPLICIT="abi_x86_32 prefix prefix-chain prefix-guest"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
L10N="en en-US de de-DE"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LC_MESSAGES="C"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LIBDIR_x86="lib"
LINGUAS="en de"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 5 --load-average 7.95"
MANPAGER="manpager"
MULTILIB_ABIS="x86"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
PHP_TARGETS="php5-6 php7-0"
POSTGRES_TARGETS="postgres9_5"
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_5"
PYTHON_TARGETS="python2_7 python3_5"
QT_GRAPHICSSYSTEM="raster"
ROOT="/"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RUBY_TARGETS="ruby22 ruby23"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
TERM="screen"
TMUX="/tmp/tmux-0/default,4921,0"
TMUX_PANE="%2"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
USER="root"
USERLAND="GNU"
VIDEO_CARDS="vmware"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
Comment 1 Larry the Git Cow gentoo-dev 2018-04-16 15:37:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=223965452c551471857bed161b4cb93bb1b7b10a

commit 223965452c551471857bed161b4cb93bb1b7b10a
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2018-04-16 15:26:08 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2018-04-16 15:37:18 +0000

    dev-ruby/rmagick: avoid failing tests
    
    Avoid tests that fail with newer imagemagick versions.
    
    Closes: https://bugs.gentoo.org/648784
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/rmagick/rmagick-2.16.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2018-04-17 20:09:22 UTC
Created attachment 527886 [details]
build.log-r1

Looks like this doesn't work. New build.log.

Portage 2.3.24 (python 3.5.4-final-0, default/linux/x86/17.0, gcc-6.4.0, glibc-2.25-r11, 4.9.76-gentoo-r1 i686)
=================================================================
System uname: Linux-4.9.76-gentoo-r1-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:     3108324 total,   1840836 free
KiB Swap:     488276 total,    488276 free
Timestamp of repository gentoo: Tue, 17 Apr 2018 19:29:02 +0000
Head commit of repository gentoo: a4a9e681580cb38a45384b66fce69b5315f0b43a

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CPU_FLAGS_X86="mmx mmxext sse sse2"
CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
DEFAULT_ABI="x86"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GCC_SPECS=""
GRUB_PLATFORMS="efi-32 pc"
GSETTINGS_BACKEND="dconf"
HOME="/root"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/6.4.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.29.1/info:/usr/share/info"
INPUT_DEVICES="libinput keyboard mouse"
IUSE_IMPLICIT="abi_x86_32 prefix prefix-chain prefix-guest"
KERNEL="linux"
L10N="en en-US de de-DE"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LC_MESSAGES="C"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LIBDIR_x86="lib"
LINGUAS="en de"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 5 --load-average 7.95"
MULTILIB_ABIS="x86"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OLDPWD="/root"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
PHP_TARGETS="php5-6 php7-0"
POSTGRES_TARGETS="postgres9_5"
PWD="/tmp/stable"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_5"
PYTHON_TARGETS="python2_7 python3_5"
QT_GRAPHICSSYSTEM="raster"
ROOT="/"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RUBY_TARGETS="ruby22 ruby23"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
TERM="screen"
TMUX="/tmp/tmux-0/default,5042,0"
TMUX_PANE="%1"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
USER="root"
USERLAND="GNU"
VIDEO_CARDS="vmware"
Comment 3 Hans de Graaff gentoo-dev Security 2018-04-19 18:31:47 UTC
Which version of imagemagick and which USE flags for it are you using?
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2018-04-21 18:51:44 UTC
=================================================================
                        Package Settings
=================================================================

media-gfx/imagemagick-6.9.9.31::gentoo was built with the following:
USE="bzip2 corefonts cxx fontconfig hdri jpeg jpeg2k lzma png raw svg tiff truetype webp zlib -X -djvu -fftw -fpx -graphviz -jbig -lcms -lqr (-opencl) -openexr -openmp -pango -perl -postscript -q32 -q8 -static-libs -test -wmf -xml"
Comment 5 Hans de Graaff gentoo-dev Security 2018-04-23 20:05:14 UTC
The first failure is due to USE=lcms missing. Haven't tracked down the other failures yet. In any case this all seems innocent in that it shouldn't block stabling, imo.
Comment 6 Hans de Graaff gentoo-dev Security 2020-08-01 06:36:57 UTC
Closing since this version is no longer available.