Make commands fails

from a few hour ago, make commands start failing

(cd vagrant; make install)

(cd vagrant; make install) returned exit code 2

make: *** [vagrant_1.8.1_x86_64.deb] Error 1 Action failed: (cd vagrant; make install)

https://circleci.com/gh/k-okada/live-cd2/111

The same repo was working until a few hours ago and if we ssh to the build firm, we can run make command; did something has changed?

It looks like you’ve had a bunch of successful builds since this, were you able to figure this out? If so, can you post the solution here?

I had put

  environment:
    MAKEFLAGS: "-i"

on the circleci.yml to avoid this problem, but make command itself still fails to run internally…

Can you try to run this build manually with ssh[1] and see if you can get any additional logging?

[1]https://circleci.com/docs/ssh-build

strangely, from ssh, make did not fail

1 Like

Strange, could you describe what this step is doing? :slight_smile: @FelicianoTech I know how much you love Vagrant, any ideas here?

Ok, i have created small example to reproduce this problem see https://circleci.com/gh/k-okada/circleci-make-test/15, and we could not reproduce them on my local machine nor ssh environment.

k-okada@kokada-t440s:/tmp/circleci-make-test$ make -f Makefile.ng 
[vagrant_1.8.1_x86_64.deb] download vagrant_1.8.1_x86_64.deb
#wget https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_x86_64.deb
[all-echo] test make commands
echo "test make commands"
test make commands
k-okada@kokada-t440s:/tmp/circleci-make-test$ make -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for x86_64-pc-linux-gnu
k-okada@kokada-t440s:/tmp/circleci-make-test$ ssh -p 64568 ubuntu@54.218.55.255
The authenticity of host '[54.218.55.255]:64568 ([54.218.55.255]:64568)' can't be established.
ECDSA key fingerprint is ac:74:39:04:ce:bf:a1:39:09:73:17:cd:07:d6:02:c8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[54.218.55.255]:64568' (ECDSA) to the list of known hosts.
Last login: Thu Apr  7 02:51:53 2016 from 54.221.189.147
ubuntu@box757:~$ cd circleci-make-test/
ubuntu@box757:~/circleci-make-test$ make -f Makefile.ng 
[vagrant_1.8.1_x86_64.deb] download vagrant_1.8.1_x86_64.deb
#wget https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_x86_64.deb
[all-echo] test make commands
echo "test make commands"
test make commands
ubuntu@box757:~/circleci-make-test$ make -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for x86_64-pc-linux-gnu

it seems tput at
https://github.com/k-okada/circleci-make-test/blob/master/Makefile.ng#L9 makes trouble, only within circleci.