[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Trying to install from Source




----- Original Message -----
> 
> 
> 
> 
> Hi,
> 
> 
> 
> we are currently trying to setup a local development environment of
> Openshift origin.
> 
> We tried all of the guides found on openshift and none worked as
> described.
> 
> We had the most success with the setup from the source.
> http://www.krishnaraman.net/building-a-multi-node-openshift-origin-paas-from-source/
> on Fedora 18, but now reached a point where we are lost.
> 
> Fixing several dependency problems we got quite far in the build
> process but now got a strange file not found error, where we could
> not pinpoint where the referred files should come from (see below).
> 
> We are trying to setup a running Openshift origin environment since
> some time now, as we want to use this in a research project as PaaS
> base, but currently are quite frustrated about it.
> 
> Is there currently a working way to setup Openshift and where could I
> find a guide doing so or can anyone help us to fix the problem on
> building from source ?
> 

I'm actually writing an "under the hood" exploration of the OpenShift build process for a blog post.  I'm interested in what you've found and what your impressions are.

I haven't seen an error quite like this but I'm guessing that you're missing the rubygem-yard package.  It is a guess.  Check if that package is installed, and add it if needed.

Hop on the #openshift-dev IRC channel on freenode if you like and we can work through it in real time.

- Mark

> Thanks
> 
> Alexander
> 
> 
> 
> ------------------------------------------------------------
> 
> Building package [rubygem-openshift-origin-common-1.4.6-1]
> 
> Wrote: /tmp/tito/rubygem-openshift-origin-common-git-0.1722830.tar.gz
> 
> 
> 
> ########## ERROR ############
> 
> Error running command: LC_ALL=C rpmbuild --define
> "_source_filedigest_algorithm md5" --define
> "_binary_filedigest_algorithm md5" --define "_sourcedir
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/SOURCES"
> --define "_builddir
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD"
> --define "_srcrpmdir /tmp/tito" --define "_rpmdir /tmp/tito" --clean
> -ba
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/SOURCES/rubygem-openshift-origin-common-git-0.1722830/rubygem-openshift-origin-common.spec
> 
> Status code: 256
> 
> Command output: Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5UPqVj
> 
> + umask 022
> 
> + cd
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD
> 
> + cd
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD
> 
> + rm -rf rubygem-openshift-origin-common-git-0.1722830
> 
> + /usr/bin/tar -xf -
> 
> + /usr/bin/gzip -dc
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/SOURCES/rubygem-openshift-origin-common-git-0.1722830.tar.gz
> 
> + STATUS=0
> 
> + '[' 0 -ne 0 ']'
> 
> + cd rubygem-openshift-origin-common-git-0.1722830
> 
> + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
> 
> + exit 0
> 
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FGLJzU
> 
> + umask 022
> 
> + cd
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD
> 
> + cd rubygem-openshift-origin-common-git-0.1722830
> 
> + mkdir -p .//usr/share/gems
> 
> + gem build openshift-origin-common.gemspec
> 
> WARNING: description and summary are identical
> 
> Successfully built RubyGem
> 
> Name: openshift-origin-common
> 
> Version: 1.4.6
> 
> File: openshift-origin-common-1.4.6.gem
> 
> + export 'CONFIGURE_ARGS=--with-cflags='\''-O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic'\'''
> 
> + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic'\'''
> 
> + gem install -V --local --install-dir .//usr/share/gems --bindir
> .//usr/bin --force --rdoc openshift-origin-common-1.4.6.gem
> 
> Installing gem openshift-origin-common-1.4.6
> 
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD/rubygem-openshift-origin-common-git-0.1722830/usr/share/gems/gems/openshift-origin-common-1.4.6/lib/openshift-origin-common/models/scaling.rb
> 
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD/rubygem-openshift-origin-common-git-0.1722830/usr/share/gems/gems/openshift-origin-common-1.4.6/lib/openshift-origin-common/models/profile.rb
> 
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD/rubygem-openshift-origin-common-git-0.1722830/usr/share/gems/gems/openshift-origin-common-1.4.6/lib/openshift-origin-common/models/model.rb
> 
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD/rubygem-openshift-origin-common-git-0.1722830/usr/share/gems/gems/openshift-origin-common-1.4.6/lib/openshift-origin-common/models/connector.rb
> 
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD/rubygem-openshift-origin-common-git-0.1722830/usr/share/gems/gems/openshift-origin-common-1.4.6/lib/openshift-origin-common/models/connection.rb
> 
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD/rubygem-openshift-origin-common-git-0.1722830/usr/share/gems/gems/openshift-origin-common-1.4.6/lib/openshift-origin-common/models/component.rb
> 
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD/rubygem-openshift-origin-common-git-0.1722830/usr/share/gems/gems/openshift-origin-common-1.4.6/lib/openshift-origin-common/models/cartridge.rb
> 
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD/rubygem-openshift-origin-common-git-0.1722830/usr/share/gems/gems/openshift-origin-common-1.4.6/lib/openshift-origin-common/exceptions/oo_exception.rb
> 
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD/rubygem-openshift-origin-common-git-0.1722830/usr/share/gems/gems/openshift-origin-common-1.4.6/lib/openshift-origin-common/config.rb
> 
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD/rubygem-openshift-origin-common-git-0.1722830/usr/share/gems/gems/openshift-origin-common-1.4.6/lib/openshift-origin-common.rb
> 
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD/rubygem-openshift-origin-common-git-0.1722830/usr/share/gems/gems/openshift-origin-common-1.4.6/README.md
> 
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD/rubygem-openshift-origin-common-git-0.1722830/usr/share/gems/gems/openshift-origin-common-1.4.6/Rakefile
> 
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD/rubygem-openshift-origin-common-git-0.1722830/usr/share/gems/gems/openshift-origin-common-1.4.6/Gemfile
> 
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD/rubygem-openshift-origin-common-git-0.1722830/usr/share/gems/gems/openshift-origin-common-1.4.6/rubygem-openshift-origin-common.spec
> 
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD/rubygem-openshift-origin-common-git-0.1722830/usr/share/gems/gems/openshift-origin-common-1.4.6/openshift-origin-common.gemspec
> 
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD/rubygem-openshift-origin-common-git-0.1722830/usr/share/gems/gems/openshift-origin-common-1.4.6/LICENSE
> 
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD/rubygem-openshift-origin-common-git-0.1722830/usr/share/gems/gems/openshift-origin-common-1.4.6/COPYRIGHT
> 
> Successfully installed openshift-origin-common-1.4.6
> 
> Installing ri documentation for openshift-origin-common-1.4.6
> 
> Installing darkfish documentation for openshift-origin-common-1.4.6
> 
> 1 gem installed
> 
> + exit 0
> 
> Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cOQulz
> 
> + umask 022
> 
> + cd
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD
> 
> + '['
> /root/rpmbuild/BUILDROOT/rubygem-openshift-origin-common-1.4.6-1.git.0.1722830.fc18.x86_64
> '!=' / ']'
> 
> + rm -rf
> /root/rpmbuild/BUILDROOT/rubygem-openshift-origin-common-1.4.6-1.git.0.1722830.fc18.x86_64
> 
> ++ dirname
> /root/rpmbuild/BUILDROOT/rubygem-openshift-origin-common-1.4.6-1.git.0.1722830.fc18.x86_64
> 
> + mkdir -p /root/rpmbuild/BUILDROOT
> 
> + mkdir
> /root/rpmbuild/BUILDROOT/rubygem-openshift-origin-common-1.4.6-1.git.0.1722830.fc18.x86_64
> 
> + cd rubygem-openshift-origin-common-git-0.1722830
> 
> + mkdir -p
> /root/rpmbuild/BUILDROOT/rubygem-openshift-origin-common-1.4.6-1.git.0.1722830.fc18.x86_64/usr/share/gems
> 
> + cp -a .//usr/share/gems/build_info .//usr/share/gems/cache
> .//usr/share/gems/doc .//usr/share/gems/gems
> .//usr/share/gems/specifications
> /root/rpmbuild/BUILDROOT/rubygem-openshift-origin-common-1.4.6-1.git.0.1722830.fc18.x86_64/usr/share/gems/
> 
> + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz
> --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000
> /tmp/tito/rpmbuild-rubygem-openshift-origin-common-1722830f4da05c227d4d277f2e5f764a6c020e4dZPSY6g/BUILD/rubygem-openshift-origin-common-git-0.1722830
> 
> + /usr/lib/rpm/check-buildroot
> 
> + /usr/lib/rpm/redhat/brp-compress
> 
> + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
> 
> + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
> 
> + /usr/lib/rpm/redhat/brp-python-hardlink
> 
> + /usr/lib/rpm/redhat/brp-java-repack-jars
> 
> Processing files:
> rubygem-openshift-origin-common-1.4.6-1.git.0.1722830.fc18.noarch
> 
> error: File not found:
> /root/rpmbuild/BUILDROOT/rubygem-openshift-origin-common-1.4.6-1.git.0.1722830.fc18.x86_64/usr/share/gems/gems/openshift-origin-common-1.4.6/.yardoc
> 
> 
> 
> 
> 
> RPM build errors:
> 
> File not found:
> /root/rpmbuild/BUILDROOT/rubygem-openshift-origin-common-1.4.6-1.git.0.1722830.fc18.x86_64/usr/share/gems/gems/openshift-origin-common-1.4.6/.yardoc
> 
> 
> 
> ERROR: Error running command
> 
> 
> 
> 
> 
> 
> _______________________________________________
> dev mailing list
> dev lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]