LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2005-01-20 07:56:28


Somewhat non-intuitively, our most recent spec file is on the
branches/branch-7-1 trunk (we don't bother doing RPM stuff at the trunk
-- we only do RPM stuff when we do an actual release).

It contains a few more changes (as compared to what is on the trunk),
including this fix. We actually fixed it slightly differently (pardon
line wrapping; this is one long line):

%__chmod a-x $RPM_BUILD_ROOT%{_libdir}/lam/liblam_totalview*so 2>
/dev/null || :

So it hides the error message and allows rpm to continue if there is an
error.

I *thought* that we had included that in 7.1.1-2 SRPM that's on the web
site, but apparently not. :-\

I'll try to get a 7.1.1-3 SRPM up there soon that has this fix.

On Jan 20, 2005, at 2:27 AM, Ralf Wildenhues wrote:

> Hi Yu Chen,
>
> * Yu Chen wrote on Wed, Jan 19, 2005 at 07:58:47PM CET:
>> Hi, wondering if anybody can help me with this error, I am rebuild
>> lam-7.1.1-2.src.rpm on RedHat-EL-AS-3 using rpmbuild --rebuild, with
>> PGI
>> compiler (FC=pgf77, CC=pgcc, CXX=pgCC), at almost the end, after the
>> message:
>>
>> Installation of LAM/MPI 7.1.1 is complete.
>>
>> It gives out this error, it seems somehow the "." has been replaced by
>> "*", is it compiler problem, or any workaround?
>>
>> chmod: failed to get attributes of
>> `/var/tmp/lam-7.1.1-root/usr/lib/lam/liblam_totalview*so': No such
>> fileor
>> directory
>
> This is fixed in 7.1.2. (Your version uses a libtool that has not yet
> been taught about PIC flags for the PGI compilers, so the shared
> libraries are not built.)
> Still, this warning is harmless and could be shut up like below.
>
> Regards,
> Ralf
>
>
> Index: contrib/dist/linux/lam-caos.spec
> ===================================================================
> --- contrib/dist/linux/lam-caos.spec (revision 10026)
> +++ contrib/dist/linux/lam-caos.spec (working copy)
> @@ -178,7 +178,7 @@
> # Turn off the x bit on the totalview shared library so that rpm
> # doesn't strip it. #$%@#$%!!!
>
> -chmod a-x $RPM_BUILD_ROOT%{_libdir}/lam/liblam_totalview*so
> +chmod a-x $RPM_BUILD_ROOT%{_libdir}/lam/liblam_totalview*so
> 2>/dev/null
>
>
>
> #######################################################################
> ######
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/