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
rebuilding with source rpm available on centos vault is failing always for openjdk
-
- Posts: 86
- Joined: 2016/10/14 12:07:18
Re: rebuilding with source rpm available on centos vault is failing always for openjdk
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
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
-
- Posts: 86
- Joined: 2016/10/14 12:07:18
Re: rebuilding with source rpm available on centos vault is failing always for openjdk
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
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
Re: rebuilding with source rpm available on centos vault is failing always for openjdk
Is this related to i386? Does it rebuild correctly on x86_64?