Opened 15 years ago

Closed 15 years ago

#21008 closed defect (fixed)

vnc-3.3.7 install/upgrade fail "-arch 1"

Reported by: einar.boson@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: vnc

Description

Installing vnc fails because it tries to build for arch 1, see output:

--->  Computing dependencies for vnc
--->  Building vnc
Error: Target org.macports.build returned: shell command "cd '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_vnc/work/vnc-3.3.7-unixsrc/Xvnc' && make World" returned error 2
Command output: cc -c -O2 -fno-strength-reduce -Wpointer-arith -no-cpp-precomp  -I. -I../../../../exports/include/X11 -I../../../../include/fonts -I../../../../exports/include/X11 	   -I../../cfb -I../../mfb -I../../mi -I../../include -I../../os 	   -I../../../../..  -I../../../.. -I../../../../exports/include  -D__i386__ -D__DARWIN__                                 -DNO_ALLOCA -DX_LOCALE -DSHAPE   				    				    				   				    -DSTATIC_COLOR -DAVOID_GLYPHBLT -DPIXPRIV   -DNDEBUG     -DDDXOSINIT -DSERVER_LOCK -DDDXOSFATALERROR  rre.c

 ... SNIP ...

/usr/bin/g++-4.0 -c -O2 -arch 1 -Wall -I. -I../../../../exports/include/X11 -I../../../../include/fonts -I../../../../exports/include/X11 	   -I../../cfb -I../../mfb -I../../mi -I../../include -I../../os 	   -I../../../../..  -I../../../.. -I../../../../exports/include  -D__i386__ -D__DARWIN__                                 -DNO_ALLOCA -DX_LOCALE -DSHAPE   				    				    				   				    -DSTATIC_COLOR -DAVOID_GLYPHBLT -DPIXPRIV   -DNDEBUG     -DDDXOSINIT -DSERVER_LOCK -DDDXOSFATALERROR zrle.cc
g++-4.0: Invalid arch name : 1
make[5]: *** [zrle.o] Error 1
make[5]: Target `all' not remade because of errors.
make[5]: Target `all' not remade because of errors.
make[4]: *** [hw/vnc] Error 2
make[4]: *** No rule to make target `hw/vnc/libvnc.a', needed by `Xvnc'.
make[4]: Target `all' not remade because of errors.
make[3]: *** [all] Error 2
make[2]: *** [all] Error 2
make[1]: *** [World] Error 2
make: *** [World] Error 2

Error: Status 1 encountered during processing.

some extra info:

$ pwd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_vnc/work/vnc-3.3.7-unixsrc 
$ find . -exec grep -H '[-]arch 1' {} \;
./Xvnc/lib/font/fontfile/Makefile:CXXFLAGS = -O2 -arch 1 -Wall
./Xvnc/lib/font/fontfile/Makefile.bak:CXXFLAGS = -O2 -arch 1 -Wall
./Xvnc/programs/Xserver/hw/vnc/Makefile:CXXFLAGS = -O2 -arch 1 -Wall
./Xvnc/programs/Xserver/hw/vnc/Makefile.bak:CXXFLAGS = -O2 -arch 1 -Wall
./Xvnc/programs/Xserver/Makefile:CXXFLAGS = -O2 -arch 1 -Wall

Change History (2)

comment:1 Changed 15 years ago by einar.boson@…

and I am on Leopard 10.5.8 btw.

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Keywords: arch 1 vnc removed
Resolution: fixed
Status: newclosed

Should be fixed by the update to 4.1.3 in r60552.

Note: See TracTickets for help on using tickets.