[MacPorts] #19902: libgsasl: syntax error in compiling script

MacPorts noreply at macports.org
Tue Jun 9 12:34:23 PDT 2009


#19902: libgsasl: syntax error in compiling script
-----------------------------------+----------------------------------------
 Reporter:  Damien@…               |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  1.7.1                                
 Keywords:  syntax, script, link   |        Port:  libgsasl                             
-----------------------------------+----------------------------------------
 Using the +universal trick for 64 bits.
 Default port options are +ipv6 +quartz +no_x11 -x11 +universal

 {{{
 port -d install libgsasl +idn +universal
 …
 Making all in src
 /bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.0  -pipe -O2
 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -mmacosx-version-
 min=10.5 -version-info 13:0:6 -export-symbols-regex '^(gsasl|GSASL).*'
 -no-undefined  -L/opt/local/lib -arch x86_64 -mmacosx-version-min=10.5 -o
 libgsasl.la -rpath /opt/local/lib init.lo done.lo register.lo error.lo
 version.lo callback.lo property.lo supportp.lo suggest.lo listmech.lo
 xstart.lo xstep.lo xfinish.lo xcode.lo mechname.lo base64.lo md5pwd.lo
 crypto.lo saslprep.lo free.lo obsolete.lo ../gl/libgl.la ../external
 /libgsasl-external.la ../anonymous/libgsasl-anonymous.la ../plain
 /libgsasl-plain.la ../login/libgsasl-login.la ../cram-md5/libgsasl-
 cram_md5.la ../digest-md5/libgsasl-digest_md5.la  ../gssapi/libgsasl-
 gssapi.la  ../securid/libgsasl-securid.la  -dynamic -pipe -O2 -isysroot
 /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -mmacosx-version-min=10.5
 -Wl,-search_paths_first -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv
 libtool: link: link -dump -symbols  .libs/init.o .libs/done.o
 .libs/register.o .libs/error.o .libs/version.o .libs/callback.o
 .libs/property.o .libs/supportp.o .libs/suggest.o .libs/listmech.o
 .libs/xstart.o .libs/xstep.o .libs/xfinish.o .libs/xcode.o
 .libs/mechname.o .libs/base64.o .libs/md5pwd.o .libs/crypto.o
 .libs/saslprep.o .libs/free.o .libs/obsolete.o   ../gl/.libs/libgl.a
 ../external/.libs/libgsasl-external.a ../anonymous/.libs/libgsasl-
 anonymous.a ../plain/.libs/libgsasl-plain.a ../login/.libs/libgsasl-
 login.a ../cram-md5/.libs/libgsasl-cram_md5.a ../digest-md5/.libs
 /libgsasl-digest_md5.a ../gssapi/.libs/libgsasl-gssapi.a ../securid/.libs
 /libgsasl-securid.a |  | /opt/local/bin/gsed 's/.* //' | sort | uniq >
 .libs/libgsasl.exp
 ../libtool: eval: line 947: syntax error near unexpected token `|'
 ../libtool: eval: line 947: `link -dump -symbols  .libs/init.o
 .libs/done.o .libs/register.o .libs/error.o .libs/version.o
 .libs/callback.o .libs/property.o .libs/supportp.o .libs/suggest.o
 .libs/listmech.o .libs/xstart.o .libs/xstep.o .libs/xfinish.o
 .libs/xcode.o .libs/mechname.o .libs/base64.o .libs/md5pwd.o
 .libs/crypto.o .libs/saslprep.o .libs/free.o .libs/obsolete.o
 ../gl/.libs/libgl.a ../external/.libs/libgsasl-external.a
 ../anonymous/.libs/libgsasl-anonymous.a ../plain/.libs/libgsasl-plain.a
 ../login/.libs/libgsasl-login.a ../cram-md5/.libs/libgsasl-cram_md5.a
 ../digest-md5/.libs/libgsasl-digest_md5.a ../gssapi/.libs/libgsasl-
 gssapi.a ../securid/.libs/libgsasl-securid.a |  | /opt/local/bin/gsed
 's/.* //' | sort | uniq > .libs/libgsasl.exp'
 make[2]: *** [libgsasl.la] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Warning: the following items did not execute (for libgsasl):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.archive org.macports.install
 Error: Status 1 encountered during processing.

 }}}

 The problem is in the double pipe (look for " |  | "); a variable
 containing a command is probably empty, causing such output.

 Recently, I did encounter the same bug in another port (can't remember
 which one, sorry).

-- 
Ticket URL: <http://trac.macports.org/ticket/19902>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list