rebuilding with source rpm available on centos vault is failing always for openjdk

General support questions
Post Reply
nupurpriya
Posts: 86
Joined: 2016/10/14 12:07:18

rebuilding with source rpm available on centos vault is failing always for openjdk

Post by nupurpriya » 2018/08/14 09:15:31

I tried rebuilding java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.src.rpm, taken from centos vault. It is always failing with below error:


make[1]: *** [hotspot-build] Error 2
make[1]: Leaving directory `/root/openjdki386/BUILD/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/openjdk'
make: *** [build_product_image] Error 2
+ pwd
/root/openjdki386/BUILD/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/openjdk
+ xargs cat
+ find /root/openjdki386/BUILD/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/openjdk/openjdk -name 'hs_err_pid*.log'
find: '/root/openjdki386/BUILD/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/openjdk/openjdk': No such file or directory
+ false
error: Bad exit status from /var/tmp/rpm-tmp.rlRIb0 (%build)


Can someone help

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: rebuilding with source rpm available on centos vault is failing always for openjdk

Post by TrevorH » 2018/08/14 09:59:18

Don't build as root. That won't fix the problem but it will stop you from accidentally trashing your entire system due to a build bug.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

nupurpriya
Posts: 86
Joined: 2016/10/14 12:07:18

Re: rebuilding with source rpm available on centos vault is failing always for openjdk

Post by nupurpriya » 2018/08/14 11:13:50

Ya Sure, I won't.

But could you suggest me, why I am not able to build using this srpm, I am not even making any changes. Just running --rebuild on this

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: rebuilding with source rpm available on centos vault is failing always for openjdk

Post by avij » 2018/08/14 13:48:28

Is this related to i386? Does it rebuild correctly on x86_64?

Post Reply