Opened 15 years ago

Closed 14 years ago

#23882 closed defect (fixed)

vantages doesn't build universal

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: anand@…
Port: vantages

Description

vantages doesn't build universal. This should either be fixed or the universal variant should be disabled by specifying "universal_variant no".

$ sudo port -d install vantages +universal
[snip]
--->  Building vantages
DEBUG: Executing org.macports.build (vantages)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_net_vantages/work/vantages-0.8.3.1b" && /usr/bin/nice -n 10 /usr/bin/make -j1 all'
( mkdir -p bin )
( mkdir -p lib )
( cp ./libtool dns/ )
( cp ./libtool src/ )
LIBS="-L/opt/local/lib -arch x86_64 -arch i386 -lcrypto -lpcap -lexpat -lgpg-error -lgpgme-pthread -lsqlite3 -lpthread  -ldl  -lcurl" /usr/bin/make unix -C shttpd-1.42/src
cc -c  string.c -o string.o
cc -c  shttpd.c -o shttpd.o
cc -c  log.c -o log.o
cc -c  auth.c -o auth.o
cc -c  md5.c -o md5.o
cc -c  cgi.c -o cgi.o
cc -c  io_ssi.c -o io_ssi.o
cc -c  io_file.c -o io_file.o
cc -c  io_socket.c -o io_socket.o
cc -c  io_ssl.c -o io_ssl.o
cc -c  io_emb.c -o io_emb.o
cc -c  io_dir.c -o io_dir.o
cc -c  io_cgi.c -o io_cgi.o
cc -c  compat_unix.c -o compat_unix.o
ar -r libshttpd.a string.o shttpd.o log.o auth.o md5.o cgi.o io_ssi.o io_file.o io_socket.o io_ssl.o io_emb.o io_dir.o io_cgi.o compat_unix.c compat_unix.o 2>&1
ar: creating archive libshttpd.a
ranlib libshttpd.a 2>&1
cp libshttpd.a ../../lib/
cc  standalone.c -o shttpd -L/opt/local/lib -arch x86_64 -arch i386 -lcrypto -lpcap -lexpat -lgpg-error -lgpgme-pthread -lsqlite3 -lpthread  -ldl  -lcurl -L. -lshttpd
ld: warning: in ./libshttpd.a, file is not of required architecture
Undefined symbols for architecture i386:
  "__shttpd_usage", referenced from:
      _main in cciPAsFW.o
      _main in cciPAsFW.o
  "__shttpd_edit_passwords", referenced from:
      _main in cciPAsFW.o
  "_shttpd_fini", referenced from:
      _main in cciPAsFW.o
  "_shttpd_poll", referenced from:
      _main in cciPAsFW.o
  "__shttpd_elog", referenced from:
      _main in cciPAsFW.o
      _main in cciPAsFW.o
      _main in cciPAsFW.o
  "_shttpd_init", referenced from:
      _main in cciPAsFW.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccSqOry4.out (No such file or directory)
make[1]: *** [unix] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_net_vantages/work/vantages-0.8.3.1b" && /usr/bin/nice -n 10 /usr/bin/make -j1 all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_net_vantages/work/vantages-0.8.3.1b" && /usr/bin/nice -n 10 /usr/bin/make -j1 all " returned error 2
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for vantages): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
$ 

Change History (2)

comment:1 Changed 15 years ago by anand@…

I have corrected this by setting "universal_variant no" in the Portfile. The updated Portfile is in #23881.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Thanks; committed the disabling of the universal variant in r70977.

Note: See TracTickets for help on using tickets.