[OpenAFS] new difficulties to build OpenAFS 1.8.0 stable on Solaris X86 11

Karl Behler karl.behler@ipp.mpg.de
Thu, 19 Apr 2018 11:20:17 +0200


This is a multi-part message in MIME format.
--------------CB8BD09623DC1E2FCA647FC3
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Dear All,

I'm sorry to bother with some exotic issue.

I've checked out openafs_stable_1.8.0 from the github and under Linux 
the build was just straight. (To prove my build scripts are sane.)

Using these - in principle - same build scripts in our Solaris 
environment fails with a strange eval syntax error in libtool already 
when making the first library libroken

"/afs/ipp/home/k/kcb/src/openafs/1.8.0/include/roken-common.h", line 463: warning:  attribute "format" is unknown, ignored
"/afs/ipp/home/k/kcb/src/openafs/1.8.0/include/roken-common.h", line 475: warning:  attribute "format" is unknown, ignored
"/afs/ipp/home/k/kcb/src/openafs/1.8.0/include/roken.h", line 501: warning:  attribute "format" is unknown, ignored
"/afs/ipp/home/k/kcb/src/openafs/1.8.0/include/roken.h", line 510: warning:  attribute "format" is unknown, ignored
/bin/sh ../../libtool --quiet --mode=compile --tag=CC /opt/developerstudio12.5/bin/cc   -m64  -O -dy -Bdynamic -m64  -I/afs/ipp/home/k/kcb/src/openafs/1.8.0/src/config -I/afs/ipp/home/k/kcb/src/openafs/1.8.0/include -I. -I.     -mt -DAFS_PTHREAD_ENV  -o snprintf.lo -c /afs/ipp/home/k/kcb/src/openafs/1.8.0/src/external/heimdal/roken/snprintf.c
"/afs/ipp/home/k/kcb/src/openafs/1.8.0/include/roken-common.h", line 463: warning:  attribute "format" is unknown, ignored
"/afs/ipp/home/k/kcb/src/openafs/1.8.0/include/roken-common.h", line 475: warning:  attribute "format" is unknown, ignored
"/afs/ipp/home/k/kcb/src/openafs/1.8.0/include/roken.h", line 501: warning:  attribute "format" is unknown, ignored
"/afs/ipp/home/k/kcb/src/openafs/1.8.0/include/roken.h", line 510: warning:  attribute "format" is unknown, ignored
/usr/ccs/bin/ginstall -c -m 644 /afs/ipp/home/k/kcb/src/openafs/1.8.0/src/external/heimdal/roken/err.hin err.h
/bin/sh ../../libtool --quiet --mode=compile --tag=CC /opt/developerstudio12.5/bin/cc   -m64  -O -dy -Bdynamic -m64  -I/afs/ipp/home/k/kcb/src/openafs/1.8.0/src/config -I/afs/ipp/home/k/kcb/src/openafs/1.8.0/include -I. -I.     -mt -DAFS_PTHREAD_ENV  -o warnerr.lo -c /afs/ipp/home/k/kcb/src/openafs/1.8.0/src/external/heimdal/roken/warnerr.c
/bin/sh ../../libtool --quiet --mode=link --tag=CC /opt/developerstudio12.5/bin/cc -rpath /usr/local/lib   -L/afs/ipp/home/k/kcb/src/openafs/1.8.0/lib -L/afs/ipp/home/k/kcb/src/openafs/1.8.0/lib  -O   -m64  -O -dy -Bdynamic -m64  -I/afs/ipp/home/k/kcb/src/openafs/1.8.0/src/config -I/afs/ipp/home/k/kcb/src/openafs/1.8.0/include -I. -I.     -mt -DAFS_PTHREAD_ENV  -o librokenafs.la -version-info 2:0:0 -export-symbols-regex "($(sed -e 's/^/^/' -e 's/$/$/' ./librokenafs.la.sym | tr '\n' '|' | sed -e 's/|$//'))" ecalloc.lo emalloc.lo erealloc.lo flock.lo base64.lo cloexec.lo ct.lo hex.lo issuid.lo mkdir.lo net_read.lo net_write.lo socket.lo snprintf.lo warnerr.lo
:( ../../libtool: eval: line 1083: syntax error near unexpected token `|'
:( ../../libtool: eval: line 1083: `/usr/ccs/bin/nm -p  .libs/ecalloc.o .libs/emalloc.o .libs/erealloc.o .libs/flock.o .libs/base64.o .libs/cloexec.o .libs/ct.o .libs/hex.o .libs/issuid.o .libs/mkdir.o .libs/net_read.o .libs/net_write.o .libs/socket.o .libs/snprintf.o .libs/warnerr.o   |  | /usr/ccs/bin/gsed 's/.* //' | sort | uniq > .libs/librokenafs.exp'
gmake[3]: *** [librokenafs.la] Error 2
gmake[3]: Leaving directory `/afs/ipp-garching.mpg.de/home/k/kcb/src/openafs/1.8.0/src/roken'
gmake[2]: *** [roken] Error 2
gmake[2]: Leaving directory `/afs/ipp-garching.mpg.de/home/k/kcb/src/openafs/1.8.0'
gmake[1]: *** [build] Error 2
gmake[1]: Leaving directory `/afs/ipp-garching.mpg.de/home/k/kcb/src/openafs/1.8.0'
gmake: *** [all] Error 2

(The smilies have been inserted by me :(
I've tried various regen's, configure's etc. but no clue what's wrong.
Any idea?

Best regards,
Karl

-- 
Dr. Karl Behler	
CODAC & IT services ASDEX Upgrade
phon +49 89 3299-1351 fax 3299-961351


--------------CB8BD09623DC1E2FCA647FC3
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Dear All,</p>
    <p>I'm sorry to bother with some exotic issue.</p>
    <p>I've checked out openafs_stable_1.8.0 from the github and under
      Linux the build was just straight. (To prove my build scripts are
      sane.)</p>
    <p>Using these - in principle - same build scripts in our Solaris
      environment fails with a strange eval syntax error in libtool
      already when making the first library libroken</p>
    <pre>"/afs/ipp/home/k/kcb/src/openafs/1.8.0/include/roken-common.h", line 463: warning:  attribute "format" is unknown, ignored
"/afs/ipp/home/k/kcb/src/openafs/1.8.0/include/roken-common.h", line 475: warning:  attribute "format" is unknown, ignored
"/afs/ipp/home/k/kcb/src/openafs/1.8.0/include/roken.h", line 501: warning:  attribute "format" is unknown, ignored
"/afs/ipp/home/k/kcb/src/openafs/1.8.0/include/roken.h", line 510: warning:  attribute "format" is unknown, ignored
/bin/sh ../../libtool --quiet --mode=compile --tag=CC /opt/developerstudio12.5/bin/cc   -m64  -O -dy -Bdynamic -m64  -I/afs/ipp/home/k/kcb/src/openafs/1.8.0/src/config -I/afs/ipp/home/k/kcb/src/openafs/1.8.0/include -I. -I.     -mt -DAFS_PTHREAD_ENV  -o snprintf.lo -c /afs/ipp/home/k/kcb/src/openafs/1.8.0/src/external/heimdal/roken/snprintf.c
"/afs/ipp/home/k/kcb/src/openafs/1.8.0/include/roken-common.h", line 463: warning:  attribute "format" is unknown, ignored
"/afs/ipp/home/k/kcb/src/openafs/1.8.0/include/roken-common.h", line 475: warning:  attribute "format" is unknown, ignored
"/afs/ipp/home/k/kcb/src/openafs/1.8.0/include/roken.h", line 501: warning:  attribute "format" is unknown, ignored
"/afs/ipp/home/k/kcb/src/openafs/1.8.0/include/roken.h", line 510: warning:  attribute "format" is unknown, ignored
/usr/ccs/bin/ginstall -c -m 644 /afs/ipp/home/k/kcb/src/openafs/1.8.0/src/external/heimdal/roken/err.hin err.h
/bin/sh ../../libtool --quiet --mode=compile --tag=CC /opt/developerstudio12.5/bin/cc   -m64  -O -dy -Bdynamic -m64  -I/afs/ipp/home/k/kcb/src/openafs/1.8.0/src/config -I/afs/ipp/home/k/kcb/src/openafs/1.8.0/include -I. -I.     -mt -DAFS_PTHREAD_ENV  -o warnerr.lo -c /afs/ipp/home/k/kcb/src/openafs/1.8.0/src/external/heimdal/roken/warnerr.c
/bin/sh ../../libtool --quiet --mode=link --tag=CC /opt/developerstudio12.5/bin/cc -rpath /usr/local/lib   -L/afs/ipp/home/k/kcb/src/openafs/1.8.0/lib -L/afs/ipp/home/k/kcb/src/openafs/1.8.0/lib  -O   -m64  -O -dy -Bdynamic -m64  -I/afs/ipp/home/k/kcb/src/openafs/1.8.0/src/config -I/afs/ipp/home/k/kcb/src/openafs/1.8.0/include -I. -I.     -mt -DAFS_PTHREAD_ENV  -o librokenafs.la -version-info 2:0:0 -export-symbols-regex "($(sed -e 's/^/^/' -e 's/$/$/' ./librokenafs.la.sym | tr '\n' '|' | sed -e 's/|$//'))" ecalloc.lo emalloc.lo erealloc.lo flock.lo base64.lo cloexec.lo ct.lo hex.lo issuid.lo mkdir.lo net_read.lo net_write.lo socket.lo snprintf.lo warnerr.lo
:( ../../libtool: eval: line 1083: syntax error near unexpected token `|'
:( ../../libtool: eval: line 1083: `/usr/ccs/bin/nm -p  .libs/ecalloc.o .libs/emalloc.o .libs/erealloc.o .libs/flock.o .libs/base64.o .libs/cloexec.o .libs/ct.o .libs/hex.o .libs/issuid.o .libs/mkdir.o .libs/net_read.o .libs/net_write.o .libs/socket.o .libs/snprintf.o .libs/warnerr.o   |  | /usr/ccs/bin/gsed 's/.* //' | sort | uniq &gt; .libs/librokenafs.exp'
gmake[3]: *** [librokenafs.la] Error 2
gmake[3]: Leaving directory `/afs/ipp-garching.mpg.de/home/k/kcb/src/openafs/1.8.0/src/roken'
gmake[2]: *** [roken] Error 2
gmake[2]: Leaving directory `/afs/ipp-garching.mpg.de/home/k/kcb/src/openafs/1.8.0'
gmake[1]: *** [build] Error 2
gmake[1]: Leaving directory `/afs/ipp-garching.mpg.de/home/k/kcb/src/openafs/1.8.0'
gmake: *** [all] Error 2

</pre>
    (The smilies have been inserted by me :(<br>
    I've tried various regen's, configure's etc. but no clue what's
    wrong.<br>
    Any idea?<br>
    <br>
    Best regards,<br>
    Karl<br>
    <pre class="moz-signature" cols="72">-- 
Dr. Karl Behler	
CODAC &amp; IT services ASDEX Upgrade
phon +49 89 3299-1351 fax 3299-961351

</pre>
  </body>
</html>

--------------CB8BD09623DC1E2FCA647FC3--