Hi Hakim,
You can check this with command "cat ~/.rpmmacros"
I think you are having a different "_build_name_fmt" in your .rpmmacros file than the default one which is causing this issue.
%_build_name_fmt %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
Instead of the default one.
# rpm --showrc | grep _build_name_fmt
-13: _build_name_fmt %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{OS}.%%{ARCH}.rpm
------------------------------
SANGAMESH
------------------------------
Original Message:
Sent: Thu June 16, 2022 06:31 AM
From: Hakim BOUDJEMIL
Subject: Insallation unzip AIX7.2
Hi Sangamesh,
Thank for all
root@bu8z] /
# rpm --showrc | grep topdir
-13: _builddir %{_topdir}/BUILD
-13: _rpmdir %{_topdir}/RPMS
-13: _sourcedir %{_topdir}/SOURCES
-13: _specdir %{_topdir}/SPECS
-13: _srcrpmdir %{_topdir}/SRPMS
-13: _topdir %{_usrsrc}/creation_rpm
[root@bu8z] /
For Do you have .rpmmacros file in your users home path where _topdir is set to "/packages/aix/creation_rpm/" ?
I didn't not really understand your request and how I can answer it.
Hope to read you
Thank
Regards,
Hakim
------------------------------
HBO
------------------------------
Original Message:
Sent: Tue June 14, 2022 11:25 AM
From: SANGAMESH MALLAYYA
Subject: Insallation unzip AIX7.2
Hi Hakim,
Can you check what is the output of "rpm --showrc | grep topdir" ?
By default the _topdir macro is set as " _topdir %{_usrsrc}/packages" where usrsrc is /opt/freeware/src.
Do you have .rpmmacros file in your users home path where _topdir is set to "/packages/aix/creation_rpm/" ?
------------------------------
SANGAMESH
Original Message:
Sent: Tue June 14, 2022 09:51 AM
From: Hakim BOUDJEMIL
Subject: Insallation unzip AIX7.2
Hello Sanket,
Thank you very much for your help.
I don't urderstand what do you mean about differently than default AIX path ( what is this default path in AIX) /opt/freeware/packages ?? And probably this directory structure does not exist on your system.
The version of rpm is
# lslpp -l|grep rpm.rte
rpm.rte 4.15.1.3 COMMITTED RPM Package Manager
rpm.rte 4.15.1.3 COMMITTED RPM Package Manager
# rpm -q AIX-rpm --provides
package AIX-rpm is not installed
Concretely, what should I modify to have AIX-rpm installed please ?
Thanks a lot for your availability
HBO
------------------------------
Hakim BOUDJEMIL
Original Message:
Sent: Mon June 13, 2022 06:28 AM
From: SANKET RATHI
Subject: Insallation unzip AIX7.2
You are not able to create virtual rpm package that provides AIX libraries and files.
updtvpkg command is used to build virtual rpm package AIX-rpm.
In your case updtvpkg command is failing because looks like you have set rpm dirs path (/packages/aix/creation_rpm/) differently than default AIX.
And probably this directory structure does not exist on your system.
------------------------------
SANKET RATHI