Facing issue in building 32 bit Alma Rpms in 64bit environment

Hi Team,

We are trying to build below RPMs in 64-BIT Alma pc, but getting architecture error.
libXext

  • for i in $(find . -name ltmain.sh)
  • /usr/bin/sed -i.backup -e ‘s~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~’ ./ltmain.sh
  • ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static
    checking for a BSD-compatible install… /usr/bin/install -c
    checking whether build environment is sane… yes
    checking for a thread-safe mkdir -p… /usr/bin/mkdir -p
    checking for gawk… gawk
    checking whether make sets $(MAKE)… yes
    checking whether make supports nested variables… yes
    checking build system type… x86_64-redhat-linux-gnu
    checking host system type… x86_64-redhat-linux-gnu
    checking how to print strings… printf
    checking whether make supports the include directive… yes (GNU style)
    checking for x86_64-redhat-linux-gnu-gcc… no
    checking for gcc… gcc
    checking whether the C compiler works… no
    configure: error: in /root/COLLAB_ALMA32bit/libXext32/BUILD/libXext-1.3.4': configure: error: C compiler cannot create executables See config.log’ for more details
    error: Bad exit status from /var/tmp/rpm-tmp.NoySBD (%build)

RPM build errors:
Macro expanded in comment on line 88: %{_mandir}/man3x

Have you done so, and what did it tell you?

Most likely you haven’t installed some i686 packages like glibc.i686 and others.
config.log will tell you what goes wrong.

1 Like

Modular dependency problems:

Problem 1: nothing provides requested module(ant:1.10:8000020191205111317)
Problem 2: nothing provides requested module(container-tools:rhel8:8040020210519080607)
Problem 3: nothing provides requested module(container-tools:rhel8:8040020210610140923)
Problem 4: nothing provides requested module(container-tools:rhel8:8040020210810210644)
Problem 5: nothing provides requested module(freeradius:3.0:8030020210126092209)
Problem 6: nothing provides requested module(gimp:2.8:8000020191210085034)
Problem 7: nothing provides requested module(go-toolset:rhel8:8040020210407203733)
Problem 8: nothing provides requested module(go-toolset:rhel8:8040020210630215609)
Problem 9: nothing provides requested module(go-toolset:rhel8:8040020210810210707)
Problem 10: nothing provides requested module(httpd:2.4:8040020210420103937)
Problem 11: nothing provides requested module(idm:client:8040020210519110642)
Problem 12: nothing provides requested module(inkscape:0.92.3:8040020210411165440)
Problem 13: nothing provides requested module(javapackages-runtime:201801:8020020200623174035)
Problem 14: nothing provides requested module(jmc:rhel8:8040020210520142704)
Problem 15: nothing provides requested module(llvm-toolset:rhel8:8040020210411062713)
Problem 16: nothing provides requested module(mailman:2.1:8040020210408180512)
Problem 17: nothing provides requested module(mariadb:10.3:8030020210420141939)
Problem 18: nothing provides requested module(maven:3.5:8000020191208181642)
Problem 19: nothing provides requested module(mercurial:4.8:8000020191208074406)
Problem 20: nothing provides requested module(mysql:8.0:8030020210124044934)
Problem 21: nothing provides requested module(nginx:1.14:8030020210419100506)
Problem 22: nothing provides requested module(nodejs:10:8030020210310142059)
Problem 23: nothing provides requested module(perl:5.26:8020020201210074505)
Problem 24: nothing provides requested module(perl-App-cpanminus:1.7044:8030020210126085450)
Problem 25: nothing provides requested module(perl-DBD-MySQL:4.046:8030020210126090503)
Problem 26: nothing provides requested module(perl-DBD-Pg:3.7:8030020210126105922)
Problem 27: nothing provides requested module(perl-DBD-SQLite:1.58:8030020210126113140)
Problem 28: nothing provides requested module(perl-DBI:1.641:8030020210125173702)
Problem 29: nothing provides requested module(perl-FCGI:0.78:8030020210123144641)
Problem 30: nothing provides requested module(perl-IO-Socket-SSL:2.066:8030020210126145451)
Problem 31: nothing provides requested module(perl-YAML:1.24:8030020210126125450)
Problem 32: nothing provides requested module(perl-libwww-perl:6.34:8030020210126212633)
Problem 33: nothing provides requested module(php:7.2:8030020210119114311)
Problem 34: nothing provides requested module(postgresql:10:8030020210122120906)
Problem 35: nothing provides requested module(postgresql:10:8040020210610084638)
Problem 36: nothing provides requested module(python27:2.7:8040020210524065757)
Problem 37: nothing provides requested module(python36:3.6:8040020210427172708)
Problem 38: nothing provides requested module(python38:3.8:8040020210426091811)
Problem 39: nothing provides requested module(python38:3.8:8040020210707124734)
Problem 40: nothing provides requested module(python39:3.9:8040020210520165519)
Problem 41: nothing provides requested module(redis:5:8000020191205100944)
Problem 42: nothing provides requested module(rhn-tools:1.0:8030020210216145056)
Problem 43: nothing provides requested module(ruby:2.5:8030020210121125520)
Problem 44: nothing provides requested module(ruby:2.5:8040020210707103237)
Problem 45: nothing provides requested module(rust-toolset:rhel8:8040020210415065906)
Problem 46: nothing provides requested module(rust-toolset:rhel8:8040020210810210800)
Problem 47: nothing provides requested module(satellite-5-client:1.0:8030020210125144138)
Problem 48: nothing provides requested module(scala:2.10:8000020191211091511)
Problem 49: nothing provides requested module(squid:4:8040020210519112115)
Problem 50: nothing provides requested module(subversion:1.10:8030020210311134923)
Problem 51: nothing provides requested module(swig:3.0:8030020210105114017)
Problem 52: nothing provides requested module(varnish:6:8030020210105175404)
Problem 53: nothing provides requested module(varnish:6:8040020210804094326)
Problem 54: nothing provides requested module(virt:rhel:8040020210520072053)
Problem 55: nothing provides requested module(virt:rhel:8040020210811062914)

Please reply, we are getting above dependencies.
From where to get these dependencies.