Skip Menu |

This queue is for tickets about the Forks-Super CPAN distribution.

Report information
The Basics
Id: 124593
Status: new
Priority: 0/
Queue: Forks-Super

People
Owner: Nobody in particular
Requestors: gibson [...] skysquad.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Failed build with Docker
Date: Mon, 26 Feb 2018 06:57:18 -0500
To: bug-forks-super [...] rt.cpan.org
From: gibson <gibson [...] skysquad.net>
Hi, I wanted to deploy my app using Docker, but Forks::Super cant be built in such environment. Using MacOS 10.13.3 (latest), with Docker for Mac 17.12.0-ce-mac49 (21995) (latest). I have tried with two different Docker images. First one is official perl:5.26.1 image. Dockerfile: ---cut-here--- FROM perl:5.26.1 RUN cpanm \ --verbose \ --configure-timeout 3600 \ --build-timeout 3600 \ --test-timeout 7200 \ Forks::Super ---cut-here--- Second is official ubuntu:16.04 image with custom commands. Dockerfile: ---cut-here--- FROM ubuntu:16.04 ARG PERL_VERSION SHELL ["/bin/bash", "-c"] RUN apt update && \ apt-get -y install apt-utils && \ apt-get -y full-upgrade && \ apt-get -y install curl perl bzip2 build-essential && \ curl -L https://install.perlbrew.pl | bash && \ source ~/perl5/perlbrew/etc/bashrc && \ echo 'source ~/perl5/perlbrew/etc/bashrc' | tee -a ~/.bashrc && \ perlbrew install perl-$PERL_VERSION && \ perlbrew switch perl-$PERL_VERSION && \ perlbrew install-cpanm && \ rm -fr /var/lib/apt/lists/* && \ rm -fr /root/perl5/perlbrew/build/* RUN ~/perl5/perlbrew/bin/cpanm \ --verbose \ --configure-timeout 3600 \ --build-timeout 3600 \ --test-timeout 7200 \ Forks::Super ---cut-here--- Both builds end on Forks::Super creating system-limits file. Both builds kill running container. Last output from F::S build: ---cut-here--- Gathering information on current system linux.5.026001 and creating Forks::Super::SysInfo package. -------------------------------------------------- Creating Forks/Super/SysInfo.pm file SysInfo.pm.PL: creating system-limits file. The command '/bin/sh -c cpanm --verbose --configure-timeout 3600 --build-timeout 3600 --test-timeout 7200 Forks::Super' returned a non-zero code: 137 ---cut-here--- Everything above is from my local, dev machine. Out of curiosity I tried building the same image on the Digital Oceans droplet with pre-installed Docker (base Ubuntu 16.04). That would be my deploy target for final app. Result is the same, although cpanm returns a code: 143 (also at creating system-limits file). If you need any additional informations or tests - let me know. Thanks, gibson
Subject: Re: [rt.cpan.org #124593] AutoReply: Failed build with Docker
Date: Fri, 2 Mar 2018 02:37:28 -0800
To: bug-forks-super [...] rt.cpan.org
From: gibson <gibson [...] skysquad.net>
After some more tests I noticed that installing Forks::Super fails only while building container (via RUN command). If I log in to the running container with: `docker run -it --rm perl:5.26.1 bash` and then execute `cpanm --configure-timeout 3600 Forks::Super`, F::S builds successfuly. So I guess its something about Dockers "build environment" that F::S doesnt like. Dont know what, though... dnia 26 lutego 2018 o 12:58:08, Bugs in Forks-Super via RT ( bug-forks-super@rt.cpan.org) napisaƂ: Greetings, This message has been automatically generated in response to the creation of a trouble ticket regarding: "Failed build with Docker", a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [rt.cpan.org #124593]. Your ticket is accessible on the web at: https://rt.cpan.org/Ticket/Display.html?id=124593 Please include the string: [rt.cpan.org #124593] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, bug-Forks-Super@rt.cpan.org ------------------------------------------------------------------------- Hi, I wanted to deploy my app using Docker, but Forks::Super cant be built in such environment. Using MacOS 10.13.3 (latest), with Docker for Mac 17.12.0-ce-mac49 (21995) (latest). I have tried with two different Docker images. First one is official perl:5.26.1 image. Dockerfile: ---cut-here--- FROM perl:5.26.1 RUN cpanm \ --verbose \ --configure-timeout 3600 \ --build-timeout 3600 \ --test-timeout 7200 \ Forks::Super ---cut-here--- Second is official ubuntu:16.04 image with custom commands. Dockerfile: ---cut-here--- FROM ubuntu:16.04 ARG PERL_VERSION SHELL ["/bin/bash", "-c"] RUN apt update && \ apt-get -y install apt-utils && \ apt-get -y full-upgrade && \ apt-get -y install curl perl bzip2 build-essential && \ curl -L https://install.perlbrew.pl | bash && \ source ~/perl5/perlbrew/etc/bashrc && \ echo 'source ~/perl5/perlbrew/etc/bashrc' | tee -a ~/.bashrc && \ perlbrew install perl-$PERL_VERSION && \ perlbrew switch perl-$PERL_VERSION && \ perlbrew install-cpanm && \ rm -fr /var/lib/apt/lists/* && \ rm -fr /root/perl5/perlbrew/build/* RUN ~/perl5/perlbrew/bin/cpanm \ --verbose \ --configure-timeout 3600 \ --build-timeout 3600 \ --test-timeout 7200 \ Forks::Super ---cut-here--- Both builds end on Forks::Super creating system-limits file. Both builds kill running container. Last output from F::S build: ---cut-here--- Gathering information on current system linux.5.026001 and creating Forks::Super::SysInfo package. -------------------------------------------------- Creating Forks/Super/SysInfo.pm file SysInfo.pm.PL: creating system-limits file. The command '/bin/sh -c cpanm --verbose --configure-timeout 3600 --build-timeout 3600 --test-timeout 7200 Forks::Super' returned a non-zero code: 137 ---cut-here--- Everything above is from my local, dev machine. Out of curiosity I tried building the same image on the Digital Oceans droplet with pre-installed Docker (base Ubuntu 16.04). That would be my deploy target for final app. Result is the same, although cpanm returns a code: 143 (also at creating system-limits file). If you need any additional informations or tests - let me know. Thanks, gibson