t/fill issues #1111

Closed
swiftgeek opened this Issue Apr 9, 2013 · 8 comments

Comments

Projects
None yet
3 participants

On 7ec6332 after upgrade perl-boost-geometry-utils 0.6 → 0.7 (with 0.6 everything is ok on this revision)

t/fill.t ............. 1/9

Failed test 'one continuous path'

at t/fill.t line 41.

got: '21'

expected: '1'

On current git (version of perl-boost-geometry-utils doesn't matter anymore)
t/fill.t ............. Can't locate SVG.pm in @inc (@inc contains: /tmp/yaourt-tmp-swiftgeek/aur-slic3r-git/src/Slic3r-build/t/../lib /tmp/yaourt-tmp-swiftgeek/aur-slic3r-git/src/Slic3r-build/blib/lib /tmp/yaourt-tmp-swiftgeek/aur-slic3r-git/src/Slic3r-build/blib/arch /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /tmp/yaourt-tmp-swiftgeek/aur-slic3r-git/src/Slic3r-build/t/../lib/Slic3r/SVG.pm line 5.
BEGIN failed--compilation aborted at /tmp/yaourt-tmp-swiftgeek/aur-slic3r-git/src/Slic3r-build/t/../lib/Slic3r/SVG.pm line 5.
Compilation failed in require at t/fill.t line 42.
BEGIN failed--compilation aborted at t/fill.t line 42.

Owner

alexrj commented Apr 9, 2013

Please upgrade Boost::Geometry::Utils to 0.08.

alexrj closed this Apr 9, 2013

Now i get error somewhere else
t/polyclip.t ......... 1/24

Failed test 'line is clipped to square with hole'

at t/polyclip.t line 146.

Structures begin differing at:

$got->[0][0][0] = '152.742'

$expected->[0][0][0] = '152'

Looks like you failed 1 test of 24.

JREAM commented Jul 19, 2013

Hey guys,

Could you please point me where how/where to upgrade Boost::Geometry? I am having the first issue after following the installation guide https://github.com/alexrj/Slic3r/wiki/Running-Slic3r-from-git-on-GNU-Linux

I'm having a hard time figuring out how all this ties together. I would greatly appreciate it :)

Owner

alexrj commented Jul 19, 2013

@JREAM, make sure you have an up-to-date copy from git (git pull) and then run sudo perl Build.PL

JREAM commented Jul 19, 2013

thanks so much Ill try again :)

JREAM commented Jul 19, 2013

It seems like I may have a problem with my C Compiler? I installed build-essentials. Are you table to tell what's going on here? Perhaps I'm in need up a apt-get update?

$ perl Build.PL

`--> Working on Boost::Geometry::Utils`
`Fetching http://www.cpan.org/authors/id/A/AA/AAR/Boost-Geometry-Utils-0.15.tar.gz ... OK`
`Configuring Boost-Geometry-Utils-0.15 ... OK`
`Building and testing Boost-Geometry-Utils-0.15 ... FAIL`
`! Installing Boost::Geometry::Utils failed. See /root/.cpanm/work/1374267527.9798/build.log for details. Retry with --force to force install it.`
`Class::XSAccessor is up to date. (1.18)`

When accessing the log file

cpanm (App::cpanminus) 1.6924 on perl 5.014002 built for x86_64-linux-gnu-thread-multi
Work directory is /root/.cpanm/work/1374267527.9798
You have make /usr/bin/make
You have LWP 6.03
You have /bin/tar: tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching Boost::Geometry::Utils on cpanmetadb ...
--> Working on Boost::Geometry::Utils
Fetching http://www.cpan.org/authors/id/A/AA/AAR/Boost-Geometry-Utils-0.15.tar.gz
-> OK
Unpacking Boost-Geometry-Utils-0.15.tar.gz
Entering Boost-Geometry-Utils-0.15
Checking configure dependencies from META.json
Checking if you have Module::Build::WithXSpp 0.10 ... Yes (0.13)
Checking if you have ExtUtils::CppGuess 0.07 ... Yes (0.07)
Checking if you have Module::Build 0.38 ... Yes (0.4007)
Checking if you have Module::Build 0.36 ... Yes (0.4007)
Configuring Boost-Geometry-Utils-0.15
Running Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Boost-Geometry-Utils' version '0.15'
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::Typemaps::Default 0.05 ... Yes (1.04)
Checking if you have Test::More 0 ... Yes (0.98)
Checking if you have ExtUtils::XSpp 0.17 ... Yes (0.1700)
Checking if you have Module::Build 0.3601 ... Yes (0.4007)
Building and testing Boost-Geometry-Utils-0.15
Building Boost-Geometry-Utils
Processing XS typemap files...
Generating main XS file...
cc -I/usr/lib/perl/5.14/CORE -DXS_VERSION="0.15" -DVERSION="0.15" -fPIC -xc++ -D_FILE_OFFSET_BITS=64 -DHAS_BOOL -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -f$cc: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
error building buildtmp/Utils.o from 'buildtmp/Utils.c' at /usr/share/perl/5.14/ExtUtils/CBuilder/Base.pm line 177.
-> FAIL Installing Boost::Geometry::Utils failed. See /root/.cpanm/work/1374267527.9798/build.log for details. Retry with --force to force install it.
Owner

alexrj commented Jul 19, 2013

Are you installing in a VM or embedded platform? Maybe is it running out of RAM while compiling?

JREAM commented Jul 29, 2013

Thanks! Increasing the ram fixed it 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment