So far we are unable to push a sample c++ application using null-buildpack; seems it has worked for others (as documented here :!searchin/vcap-dev/null-buildpack/vcap-dev/oTYbHg_JJXU/_e30a2m3qr4J) , but we are not able to get it to work yet.


Steps followed :


1. build a sample c++ application using g++ compiler on the linux vm;

2. Transfer that file to windows system; 

3. Push that application using null-buildpack to both pivotal CF

Source :- 

#include <stdio.h>

int main(int argc, char* argv[]) {

  while(1==1) {

    printf("Hello World\n");



  return 0;


Build Command :- gcc -Wall helloWorld.c -o bin/

OS :- Cent OS 6.5 x64

CF command [from win 7] :- D:\Cloud\Native>cf push helloWorld -b --no-route -c ""

is this native application need to build on Ubuntu alone, since CF uses it ?

CF logs :- 

Creating app helloworld1 in org ClinicalPF / space ClinicalPF_learning as



App helloworld1 is a worker, skipping route creation

Uploading helloworld1...

Uploading app files from: d:\pcf\cpp\sample

Uploading 6.9K, 1 files

Done uploading



Starting app helloworld1 in org ClinicalPF / space ClinicalPF_learning as

-----> Downloaded app package (4.0K)

    Cloning into '/tmp/buildpacks/null-buildpack'...

fatal: unable to access '': Failed connect to; Operation now in progress



App logs from Server :

2015-04-22 11:03:26 +0000 [STG] ERR Cloning into '/tmp/buildpacks/null-buildpack'...

2015-04-22 11:03:26 +0000 [STG] OUT -----> Downloaded app package (4.0K)

2015-04-22 11:03:26 +0000 [API] OUT Updated app with guid f9b1e566-23c4-469b-b2b1-035c200380be ({"state"=>"STARTED"})

2015-04-22 11:03:25 +0000 [DEA] OUT Got staging request for app with id f9b1e566-23c4-469b-b2b1-035c200380be

2015-04-22 11:03:19 +0000 [API] OUT Created app with guid f9b1e566-23c4-469b-b2b1-035c200380be


J L S P Balaramaraju