[MacPorts] #21008: vnc-3.3.7 install/upgrade fail "-arch 1"
MacPorts
noreply at macports.org
Tue Sep 1 18:00:14 PDT 2009
#21008: vnc-3.3.7 install/upgrade fail "-arch 1"
-----------------------------------+----------------------------------------
Reporter: einar.boson@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: arch 1, vnc | Port: vnc
-----------------------------------+----------------------------------------
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
}}}
--
Ticket URL: <http://trac.macports.org/ticket/21008>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list