Greetings Jakub; thanks for the bug report.
I've replicated your error. Off the top of my head, I don't see why this is happening. I see that rpmbuild has compressed the man pages in the multi-build scenario (e.g., BUILDROOT contains /usr/share/man/man3/MPI_<foo>.3.gz -- NOT .../man3/MPI_<foo>.3). So I see that the error is *correct*, but I'm not sure offhand why it's not picking up the .3.gz files instead of the .3 files.
I've opened https://svn.open-mpi.org/trac/ompi/ticket/3410 to track this issue.
On Nov 21, 2012, at 4:06 AM, Jakub Nowacki wrote:
> I tried to build OpenMPI 1.6.3 RPM on RHEL 5.5 and CentOS 6.3 for usage with SGE (--with-sge) but the build of multiple RPMs fail with the error:
> Processing files: openmpi-runtime-1.6.3-1.x86_64
> error: File not found: /root/rpmbuild/BUILDROOT/
> error: File not found: /root/rpmbuild/BUILDROOT/openmpi-1.6.3-1.x86_64/usr/share/man/man3/MPI_Comm_remote_group.3
> Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0HfCky
> RPM build errors:
> File not found: /root/rpmbuild/BUILDROOT/openmpi-1.6.3-1.x86_64/usr/share/man/man3/MPI_Comm_remote_size.3
> File not found: /root/rpmbuild/BUILDROOT/openmpi-1.6.3-1.x86_64/usr/share/man/man3/MPI_Comm_remote_group.3
> *** FAILURE BUILDING MULTIPLE RPM!
> Indeed, these man pages does not seem to be there but there are gzipped files there:
> -rw-r--r-- 1 root root 884 Nov 20 15:29 /root/rpmbuild/BUILDROOT/openmpi-1.6.3-1.x86_64/usr/share/man/man3/MPI_Comm_remote_group.3.gz
> -rw-r--r-- 1 root root 904 Nov 20 15:29 /root/rpmbuild/BUILDROOT/openmpi-1.6.3-1.x86_64/usr/share/man/man3/MPI_Comm_remote_size.3.gz
> Interestingly, single RPM build is successful. I get the same error on both RHEL 5.5 and CentOS 6.3 using SRPM and tar package along with buildrpm.sh script. I have tried to find a solution but most of the sources I have found use single RPM build.
> Thank you very much for the help.
> Jakub Nowacki
> users mailing list
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/