Opened 15 years ago

Closed 14 years ago

#20212 closed defect (wontfix)

neon fails to build +universal with universal_archs set only to x86_64

Reported by: jay+macports@… Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: neon

Description

I have

universal_archs x86_64

in macports.conf and

+universal

in variants.conf. neon fails builing with

/bin/sh ../libtool --quiet --mode=link /usr/bin/gcc-4.0 -no-undefined -L/opt/local/lib -arch x86_64 -mmacosx-version-min=10.5 -flat_namespace -rpath /opt/local/lib -version-info 28:4:1 -export-symbols-regex '^ne_[^_]' -o libneon.la ne_request.lo ne_session.lo ne_basic.lo  ne_string.lo ne_uri.lo ne_dates.lo ne_alloc.lo ne_md5.lo ne_utils.lo ne_socket.lo ne_auth.lo ne_redirect.lo ne_compress.lo ne_i18n.lo ne_pkcs11.lo ne_207.lo ne_xml.lo ne_props.lo ne_locks.lo ne_xmlreq.lo  ne_acl.lo ne_openssl.lo -lintl -lssl -lcrypto  -lz -dynamic -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 -lexpat 
../libtool: eval: line 941: syntax error near unexpected token `|'
../libtool: eval: line 941: `link -dump -symbols  .libs/ne_request.o .libs/ne_session.o .libs/ne_basic.o .libs/ne_string.o .libs/ne_uri.o .libs/ne_dates.o .libs/ne_alloc.o .libs/ne_md5.o .libs/ne_utils.o .libs/ne_socket.o .libs/ne_auth.o .libs/ne_redirect.o .libs/ne_compress.o .libs/ne_i18n.o .libs/ne_pkcs11.o .libs/ne_207.o .libs/ne_xml.o .libs/ne_props.o .libs/ne_locks.o .libs/ne_xmlreq.o .libs/ne_acl.o .libs/ne_openssl.o   |  | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libneon.exp'
make[1]: *** [libneon.la] Error 1
make: *** [subdirs] Error 2

Full log attached.

Attachments (1)

neon.log (32.3 KB) - added by jay+macports@… 15 years ago.

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by jay+macports@…

Attachment: neon.log added

comment:1 Changed 15 years ago by jay+macports@…

Cc: jay+macports@… added

Cc Me!

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Cc: jay+macports@… removed
Owner: changed from macports-tickets@… to dluke@…
Port: neon added

comment:3 Changed 15 years ago by danielluke (Daniel J. Luke)

Owner: changed from dluke@… to dluke@…
Status: newassigned

It looks like the generated libtool doesn't have global_symbol_pipe set (when building with +universal and universal_archs set to x86_64) which is the direct cause of that error.

I haven't generated a patch for this yet, but I am able to reproduce the issue.

comment:4 Changed 15 years ago by danielluke (Daniel J. Luke)

Summary: neon fails to build universalneon fails to build +universal with universal_archs set only to x86_64

comment:5 Changed 14 years ago by danielluke (Daniel J. Luke)

Resolution: wontfix
Status: assignedclosed

There is no longer any reason to use +universal with only one universal_arch set.

Note: See TracTickets for help on using tickets.