Opened 14 years ago

Last modified 10 years ago

#23558 new defect

omniORB: +universal variant fails

Reported by: jakub.moskal@… Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: omniORB

Description

I am trying to upgrade my current installation of omniORB to include the i386 architecture, but it fails. I tried moving the /usr/local to /usr/local.SAVE and cleaning the port, but it still ends up with this error. I need omniORBpy to work in a 32-bit mode..

port installed omniORB
The following ports are currently installed:
  omniORB @4.1.4_0+python26 (active)
sudo port -u -d upgrade --enforce-variants omniORB +universal
[...]
/usr/bin/g++-4.2 -c -O2 -arch x86_64 -arch i386 -fno-common -bind_at_load  -I/opt/local/include -DIDLMODULE_VERSION="\"0x2630\"" -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include -DPYTHON_INCLUDE="<python2.6/Python.h>" -fPIC -I. -I. -I../../../../include -I../../../../include -D__OSVERSION__=1 -D__darwin__ -D__x86__ -o idlexpr.o idlexpr.cc
idlexpr.cc:179: error: integer constant is too large for 'long' type
idlexpr.cc:881: error: integer constant is too large for 'long' type
idlexpr.cc:887: error: integer constant is too large for 'long' type
idlexpr.cc:1109: error: integer constant is too large for 'long' type
idlexpr.cc:1198: error: integer constant is too large for 'long' type
idlexpr.cc: In member function 'IDL_LongLong IdlExpr::evalAsLongLong()':
idlexpr.cc:179: warning: comparison is always false due to limited range of data type
idlexpr.cc: In member function 'virtual IdlLongLongVal SubExpr::evalAsLongLongV()':
idlexpr.cc:881: warning: comparison is always false due to limited range of data type
idlexpr.cc:887: warning: comparison is always false due to limited range of data type
idlexpr.cc: In member function 'virtual IdlLongLongVal DivExpr::evalAsLongLongV()':
idlexpr.cc:1109: warning: comparison is always false due to limited range of data type
idlexpr.cc: In member function 'virtual IdlLongLongVal MinusExpr::evalAsLongLongV()':
idlexpr.cc:1198: warning: comparison is always false due to limited range of data type
lipo: can't figure out the architecture type of: /var/tmp//ccM6g0dx.out
make[4]: *** [idlexpr.o] Error 1
make[3]: *** [export] Error 1
make[2]: *** [export] Error 1
make[1]: *** [export] Error 1
make: *** [all] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_omniORB/work/omniORB-4.1.4" && /usr/bin/make -j2 all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_omniORB/work/omniORB-4.1.4" && /usr/bin/make -j2 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 omniORB): org.macports.destroot org.macports.build
DEBUG: couldn't read file "/opt/local/share/macports/Tcl/darwintrace1.0/pkgIndex.tcl": no such file or directory
    while executing
"source [file join $dir pkgIndex.tcl]"
Error: Unable to upgrade port: 1

Change History (3)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Keywords: snowleopard added; 10.6.2 removed
Owner: changed from macports-tickets@… to stromnov@…

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

Partial fix committed in r77464. It still seems to be ignoring our archflags when building a couple of its libs.

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: snowleopard removed
Summary: omniORB +universal fails to build on 10.6.2omniORB: +universal variant fails

The universal variant was disabled in r90176 since it does not work.

Note: See TracTickets for help on using tickets.