Opened 13 years ago
Closed 5 years ago
#33792 closed defect (fixed)
libbonobo: ../idl/Bonobo.idl compilation failed
Reported by: | digitalrinaldo@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt), adamb2903 | |
Port: | libbonobo libidl |
Description (last modified by mf2k (Frank Schima))
while doing a selfupdate
TION --imodule ../idl/Bonobo.idl :info:build orbit-idl-2 2.14.19 compiling :info:build mode, hide preprocessor errors, passes: stubs skels common headers imodule :info:build :info:build Processing file ../idl/Bonobo.idl :info:build orbit-idl-2 2.14.19 compiling :info:build mode, hide preprocessor errors, passes: stubs skels common headers imodule :info:build :info:build Processing file ../idl/Bonobo.idl :info:build orbit-idl-2 2.14.19 compiling :info:build mode, hide preprocessor errors, passes: stubs skels common headers imodule :info:build :info:build Processing file ../idl/Bonobo.idl :info:build Error: Empty file :info:build Error: Empty file :info:build :info:build ** (orbit-idl-2:5066): WARNING **: ../idl/Bonobo.idl compilation failed :info:build :info:build ** (orbit-idl-2:5067): WARNING **: ../idl/Bonobo.idl compilation failed
Attachments (2)
Change History (23)
Changed 13 years ago by digitalrinaldo@…
comment:1 follow-up: 2 Changed 13 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Port: | libbonoboui added |
This is not a clean build attempt. Please clean the port and try again and post the new log if it fails.
comment:2 Changed 13 years ago by digitalrinaldo@…
Replying to macsforever2000@…:
This is not a clean build attempt. Please clean the port and try again and post the new log if it fails.
I have tried to do a clean build, port clean unable to
bash-3.2# port clean Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /Users/rinaldo"). Please verify that the directory and portfile syntax are correct. To use the current port, you must be in a port's directory.
I have searched for solutions to the above issue about not having a port conf file.
I also downloaded the .dmg file and the results are the same.
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | libbonobo added; libbonoboui removed |
---|
You haven't told it what port to clean. Use "sudo port clean libbonobo"
comment:4 Changed 13 years ago by digitalrinaldo@…
Thanks, I had tried that here is the list of my actions and the results and I have attached a new file.
bash-3.2# port clean libbonobo ---> Cleaning libbonobo bash-3.2# port selfupdate---> Updating MacPorts base sources using rsync MacPorts base version 2.0.4 installed, MacPorts base version 2.0.4 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated bash-3.2# port upgrade outdated ---> Computing dependencies for libbonobo ---> Fetching archive for libbonobo ---> Attempting to fetch libbonobo-2.24.3_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/libbonobo ---> Fetching libbonobo ---> Verifying checksum(s) for libbonobo ---> Extracting libbonobo ---> Configuring libbonobo ---> Building libbonobo Error: Target org.macports.build returned: shell command failed (see log for details) Log for libbonobo is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libbonobo/libbonobo/main.log Error: Problem while installing libbonobo To report a bug, see <http://guide.macports.org/#project.tickets>
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | Mac 10.7.3 -- Xcode 4.3.2 -- Error: Problem while installing libbonobo → libbonobo: ../idl/Bonobo.idl compilation failed |
---|
Thanks. Not sure why it fails for you. It builds for me—but I'm on Snow Leopard with Xcode 3.2.6, and you're on Lion with Xcode 4.3.2 and its much different clang compiler. It could be a problem with orbit2, which is the port that provides the orbit-idl-2 compiler which is the one producing the error message here. If it is, you could try rebuilding orbit2 using a different compiler, then cleaning libbonobo and trying again.
You could test whether updating libbonobo to the latest version changes things. And you could try building without parallel make jobs. ("sudo port install libbonobo build.jobs=1
")
P.S: Remember to use WikiFormatting when writing in Trac, and preview before submitting to ensure you got it right.
comment:7 Changed 13 years ago by skymoo (Adam Mercer)
just tried rebuilding orbit2 with llvm-gcc-4.2 and it failed with the following:
../../../src/idl-compiler/orbit-idl-2 -I../../../src/idl/CORBA_PIDL -I../../../src/idl/CORBA -I../../../src/idl/interop -I../../../src/orb/orb-core --noskels --nodefskels --nostubs --noidata --nocommon --showcpperrors --define=Object=OObject --define=TypeCode=TTypeCode --deps ./.deps/corba-defs.idl.P ../../../src/orb/orb-core/corba-defs.idl orbit-idl-2 2.14.19 compiling mode, show preprocessor errors, passes: headers Processing file ../../../src/orb/orb-core/iop-defs.idl orbit-idl-2 2.14.19 compiling mode, show preprocessor errors, passes: headers Processing file ../../../src/orb/orb-core/orbit-interface.idl orbit-idl-2 2.14.19 compiling mode, show preprocessor errors, passes: headers Processing file ../../../src/orb/orb-core/corba-defs.idl sh: /Developer/usr/bin/clang: No such file or directory Error: Empty file sh: /Developer/usr/bin/clang: No such file or directory ** (orbit-idl-2:94244): WARNING **: ../../../src/orb/orb-core/iop-defs.idl compilation failed Error: Empty file ** (orbit-idl-2:94245): WARNING **: ../../../src/orb/orb-core/orbit-interface.idl compilation failed make[8]: *** [iop-defs.h] Error 1 make[8]: *** Waiting for unfinished jobs.... make[8]: *** [orbit-interface.h] Error 1 sh: /Developer/usr/bin/clang: No such file or directory
Seems like the old compiler location is hard coded somewhere...
comment:8 Changed 13 years ago by skymoo (Adam Mercer)
Seems like that somewhere would be libidl
forcing a rebuild of that allows me to install orbit2
and libbonobo
comment:9 follow-up: 10 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
So you just needed to force a rebuild of libidl with its default compiler, and then you could build orbit2 and libbonobo with their default compilers? You did not need to switch any port to an alternate compiler?
comment:10 Changed 13 years ago by skymoo (Adam Mercer)
Replying to ryandesign@…:
So you just needed to force a rebuild of libidl with its default compiler, and then you could build orbit2 and libbonobo with their default compilers? You did not need to switch any port to an alternate compiler?
Yep, just rebuilt libidl
, then orbit2
and libbonobo
built without issue. No need to switch compilers.
comment:11 Changed 13 years ago by neverpanic (Clemens Lang)
Cc: | cal@… added |
---|---|
Port: | libidl added |
I can confirm rebuilding (in my case only downloading from the buildbot) libidl fixes this problem. Maybe we should revbump libidl to trigger this for everybody?
comment:12 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
The problem is that libidl needs to be rebuilt when a user upgrades Xcode in such a way that the default compiler changes. (Xcode 3 -> 4, or Xcode 4.0/4.1 -> 4.2+) MacPorts doesn't have a feature for ensuring that. (I've proposed such a feature on the mailing list, but there was no response.) Increasing libidl's revision today will only help users who have already upgraded Xcode, and will not help users who upgrade Xcode in the future.
comment:13 follow-up: 14 Changed 13 years ago by digitalrinaldo@…
It is good to know that Apple doesn't seem to think the MacPorts is important enough to address. My problem seems to have improved. I have no issues but the above issue has resolved itself as far as I can tell. I am not sure why since I have not updated my development system.
comment:14 follow-up: 15 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to digitalrinaldo@…:
It is good to know that Apple doesn't seem to think the MacPorts is important enough to address.
The company Apple has nothing to do with it. MacPorts is an independent open-source project; we're not paid to work on it, so we do what we can and what we're interested in in our spare time. Sometimes that means some things don't get fixed, if there's nobody sufficiently motivated to fix a particular problem.
comment:15 Changed 13 years ago by digitalrinaldo@…
Replying to ryandesign@…:
Replying to digitalrinaldo@…:
It is good to know that Apple doesn't seem to think the MacPorts is important enough to address.
The company Apple has nothing to do with it. MacPorts is an independent open-source project; we're not paid to work on it, so we do what we can and what we're interested in in our spare time. Sometimes that means some things don't get fixed, if there's nobody sufficiently motivated to fix a particular problem.
I reread your post and I see that Apple has nothing to do with it. I am very grateful for Macports. I wish there was something small enough that I could work on to make a contribution. I would be interested and capable of maintaining something in the node.js area.
comment:16 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | adam.bartley@… added |
---|
Has duplicate #34725.
comment:17 Changed 12 years ago by neverpanic (Clemens Lang)
Cc: | cal@… removed |
---|
comment:19 Changed 12 years ago by skymoo (Adam Mercer)
Cc: | ram@… removed |
---|
comment:21 Changed 5 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
The current version of libbonobo built fine on 10.6-10.15. I would assume this was at least worked around by requiring the Command Line Tools to be installed and choosing the clang in /usr/bin if present.
The Log file for the port selfupdate failure