Hello Marubin,
now I can see that disk space shortage indeed can be ruled out (~12GB
free). What about the /tmp/customize_eac_rpm.log-root logfile that
collects specifically output for rpmbuild operation? customize_eac_rpm
only manipulates CAeAC content as per its command-line options, but the
actual rebuild is all on Red Hat's rpm. the whole thing works fine for me
on CentOS 7.9 and RHEL 9.2. If there is a problem with a particular
version of RPM on a particular distribution, the matter should be
rather brought up with the vendor. BTW, customizing CAeAC can be done on
*any* machine that has RPM - not just the target machine. It can be even
done on a different Linux platform, e.g., on x64 for 390x, and ince
customized the package can be installed on all of its intended target
machines.
BTW, Is there a support ticket for this to enable expeditious exchange of
information and data?
Dmitry
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
Original Message:
Sent: 5/21/2024 7:29:00 PM
From: MARUBUN SUPPORT
Subject: RE: how to install PAMSC14.1CP05 using rpm
Hi Dmitry,
# df -m
Filesystem 1M-blocks Used Available Use% Mounted on
devtmpfs 377 0 377 0% /dev
tmpfs 404 0 404 0% /dev/shm
tmpfs 404 11 393 3% /run
tmpfs 404 0 404 0% /sys/fs/cgroup
/dev/xvda2 20468 7745 12724 38% /
tmpfs 81 0 81 0% /run/user/0
So disk space is no problem, I think.
Best regards,
Marubun.
Original Message:
Sent: May 21, 2024 08:16 AM
From: Dmitry Grebenev
Subject: how to install PAMSC14.1CP05 using rpm
Hello Marubin,
the "Repacking the CAeAC rpm package..." message indicates the start of a
rpmbuild operatio. The fact that no "Copying a repacked rpm package into
<..." message was shown (and the script exits with a non-zero exit code in
that case) suggests that rpmbuild failed for some reason. If disk space
was checked and there is plenty of it (should be at least about 1.3 GB free
with the latest cAeAC rpms), then please examine a log file called
/tmp/customize_eac_rpm.log-root that the customize_eac_rpm script creates
for that operation and provide the last dozen lines from it for further
analysis. BTW, can you also provide df -k from the failing system?
Best regards
Dmitry
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
Original Message:
Sent: 5/21/2024 1:12:00 AM
From: MARUBUN SUPPORT
Subject: RE: how to install PAMSC14.1CP05 using rpm
HI Dmitry,
I tried to test the same steps another Linux box on AWS.
Red Hat Enterprise Linux Server release 7.9 (Maipo)
# rpm -q rpm
rpm-4.11.3-48.el7_9.x86_64
# rpm -q rpm-build
rpm-build-4.11.3-48.el7_9.x86_64
# rpm -q rpm-libs
rpm-libs-4.11.3-48.el7_9.x86_64
In this box, it worked properly.
# ./customize_eac_rpm -g -f parameter2.txt -d /home/media/PAMSC141CP5/RPM14.10.50.151 CAeAC-1410-50.151.x86_64.rpm
Extracted into <parameter2.txt>.
# ./customize_eac_rpm -s -f parameter2.txt -d /home/media/PAMSC141CP5/RPM14.10.50.151 CAeAC-1410-50.151.x86_64.rpm
Successfully customized installation parameters.
Repacking the CAeAC rpm package...
Copying a repacked rpm package into </home/media/PAMSC141CP5/RPM14.10.50.151/CAeAC-1410-50.151.x86_64.rpm>.
The difference between not working and working is OS version and rpm version.
[Not working Env]
Red Hat Enterprise Linux release 8.4
# rpm -q rpm
rpm-4.14.3-13.el8.x86_64
# rpm -q rpm-build
rpm-build-4.14.3-13.el8.x86_64
# rpm -q rpm-libs
rpm-libs-4.14.3-13.el8.x86_64
# ./customize_eac_rpm -g -f parameter2.txt -d /home/media/PAMSC141CP5/RPM14.10.50.151 CAeAC-1410-50.151.x86_64.rpm
Extracted into <parameter2.txt>.
# ./customize_eac_rpm -s -f parameter2.txt -d /home/media/PAMSC141CP5/RPM14.10.50.151 CAeAC-1410-50.151.x86_64.rpm
Successfully customized installation parameters.
Repacking the CAeAC rpm package...
What do you think about it?
Best regards,
Marubun
Original Message:
Sent: May 20, 2024 07:51 PM
From: MARUBUN SUPPORT
Subject: how to install PAMSC14.1CP05 using rpm
HI Dmitry,
Thank you for your update.
Yes, the desk space is no problem.
Also, I checked the output file between 14.10-50 (151) and 14.10-50 (61).
# diff parameter1.txt param3.txt
7c7
< # VeRsIoN: 14.10-50 (151)
---
> # VeRsIoN: 14.10-50 (61)
#
So the output file is no problem.
About my testbox(Red Hat Enterprise Linux release 8.4):
The box is on AWS.
I cannot use Linux boxes on VMware or VirtualBOX.
Can you test the steps on AWS?
Best regards.
Marubun.
Original Message:
Sent: May 20, 2024 10:24 AM
From: Dmitry Grebenev
Subject: how to install PAMSC14.1CP05 using rpm
Any chance you don't have enought disk space? Please check that first and do clean up if you are running short.
The steps themselves are correct and I have just verified that they work fine, though, I did it using CAeAC-1410-60.97.x86_64.rpm, which should not matter since there were no changes in that area for a while. Can you extract parameters from the current rpm, and see if it is there, i.e.,
./customize_eac_rpm -g -f param3.txt -d /root/tmp/rpmpkg CAeAC-1410-50.61.x86_64.rpm
diff parameter1.txt param3.txt
Dmitry
Original Message:
Sent: May 19, 2024 11:52 PM
From: MARUBUN SUPPORT
Subject: how to install PAMSC14.1CP05 using rpm
Hi PAMSC Support team:
I need your help.
[Environment]
Red Hat Enterprise Linux release 8.4
CA PAMSC14.1CP05(1410-50.151)
# rpm -q rpm
rpm-4.14.3-13.el8.x86_64
# rpm -q rpm-build
rpm-build-4.14.3-13.el8.x86_64
# rpm -q rpm-libs
rpm-libs-4.14.3-13.el8.x86_64
[Question]
I tired to install PAMSC14.1CP05 latest version RPM package with root user like this.
CAeAC-1410-50.151.x86_64.rpm, pre.tar and customize_eac_rpm are in /root/tmp/rpmpkg directory.
#./customize_eac_rpm -g -f parameter1.txt -d /root/tmp/rpmpkg CAeAC-1410-50.151.x86_64.rpm
After that, I modified the parameter1.txt file to enable a token.
#./customize_eac_rpm -s -f parameter1.txt -d /root/tmp/rpmpkg CAeAC-1410-50.61.x86_64.rpm
At this point, there is no error messages.
However, the update date&time for the CAeAC-1410-50.61.x86_64.rpm was not updated.
So the CAeAC-1410-50.61.x86_64.rpm was not repackaged.
What do you think about it?
Best regrads,
Marubun,