[MacPorts] #32011: Error: Failed to install protobuf-python26
#32011: Error: Failed to install protobuf-python26 ------------------------------------+--------------------------------------- Reporter: thekilon@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: MacPorts 2.0.4 Component: ports | Version: 2.0.3 Keywords: protobuf python 26 2.6 | Port: protobuf-python26 ------------------------------------+--------------------------------------- Macports can't install protobuf-python26 on Lion. here is the log file http://www.pasteall.org/26232 I tried both my macs I am getting exactly the same error , both having Lion installed and of course the latest Xcode Tried this sudo port clean protobuf-python26 sudo port install protobuf-python26 configure.compiler=llvm-gcc-4.2 and this sudo port clean protobuf-python26 sudo port install apple-gcc42 sudo port install protobuf-python26 configure.compiler=apple-gcc-4.2 configure.cxx=g++-apple-4.2 still the same error another use that tries the same thing but from snow leopard does not have this issue -- Ticket URL: <https://trac.macports.org/ticket/32011> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32011: protobuf-python26: error: 'google/protobuf/descriptor.h' file not found ----------------------------------+----------------------------------------- Reporter: thekilon@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: protobuf-python26 ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * priority: High => Normal * keywords: protobuf python 26 2.6 => * milestone: MacPorts 2.0.4 => * owner: macports-tickets@… => blair@… Old description:
Macports can't install protobuf-python26 on Lion.
here is the log file
I tried both my macs I am getting exactly the same error , both having Lion installed and of course the latest Xcode
Tried this
sudo port clean protobuf-python26 sudo port install protobuf-python26 configure.compiler=llvm-gcc-4.2
and this
sudo port clean protobuf-python26 sudo port install apple-gcc42 sudo port install protobuf-python26 configure.compiler=apple-gcc-4.2 configure.cxx=g++-apple-4.2
still the same error
another use that tries the same thing but from snow leopard does not have this issue
New description: Macports can't install protobuf-python26 on Lion. here is the log file http://www.pasteall.org/26232 I tried both my macs I am getting exactly the same error , both having Lion installed and of course the latest Xcode Tried this {{{ sudo port clean protobuf-python26 sudo port install protobuf-python26 configure.compiler=llvm-gcc-4.2 }}} and this {{{ sudo port clean protobuf-python26 sudo port install apple-gcc42 sudo port install protobuf-python26 configure.compiler=apple-gcc-4.2 configure.cxx=g++-apple-4.2 }}} still the same error another use that tries the same thing but from snow leopard does not have this issue -- Comment: You are certain the error "error: 'google/protobuf/descriptor.h' file not found" is the same when using llvm-gcc-4.2? That file should have been provided by dependency protobuf-cpp (was it? -- check with "`port contents protobuf-cpp`") and I was going to guess the error was because you're using clang, and [http://lists.macosforge.org/pipermail/macports- dev/2011-August/015543.html clang doesn't use CPATH / LIBRARY_PATH], but that wouldn't affect llvm-gcc-4.2. -- Ticket URL: <https://trac.macports.org/ticket/32011#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32011: protobuf-python26: error: 'google/protobuf/descriptor.h' file not found ----------------------------------+----------------------------------------- Reporter: thekilon@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: protobuf-python26 ----------------------------------+----------------------------------------- Comment(by blair@…): Thanks, I can reproduce it. I have the package installed on Lion, but now it fails to compile. Commenting out all the PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp lines in the Portfile gets it to compile, but it should continue to work. -- Ticket URL: <https://trac.macports.org/ticket/32011#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32011: protobuf-python26: error: 'google/protobuf/descriptor.h' file not found ----------------------------------+----------------------------------------- Reporter: thekilon@… | Owner: blair@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: protobuf-python26 ----------------------------------+----------------------------------------- Changes (by blair@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/32011#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32011: protobuf-python26: error: 'google/protobuf/descriptor.h' file not found ----------------------------------+----------------------------------------- Reporter: thekilon@… | Owner: blair@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: protobuf-python26 ----------------------------------+----------------------------------------- Comment(by blair@…): Found a fix, working on a patch now. -- Ticket URL: <https://trac.macports.org/ticket/32011#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32011: protobuf-python26: error: 'google/protobuf/descriptor.h' file not found ----------------------------------+----------------------------------------- Reporter: thekilon@… | Owner: blair@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: protobuf-python26 ----------------------------------+----------------------------------------- Comment(by thekilon@…): Replying to [comment:1 ryandesign@…]:
You are certain the error "error: 'google/protobuf/descriptor.h' file not found" is the same when using llvm-gcc-4.2? That file should have been provided by dependency protobuf-cpp (was it? -- check with "`port contents protobuf-cpp`") and I was going to guess the error was because you're using clang, and [http://lists.macosforge.org/pipermail/macports- dev/2011-August/015543.html clang doesn't use CPATH / LIBRARY_PATH], but that wouldn't affect llvm-gcc-4.2.
yes ryan the file does exist, and yes it reports the same error, don't know why it can't compile it. Maybe blair does ;) thank you both for responding so quickly. I was trying to compile mypaint on Lion and came against this error but even if i try to install it separately again I get the error. -- Ticket URL: <https://trac.macports.org/ticket/32011#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32011: protobuf-python26: error: 'google/protobuf/descriptor.h' file not found ----------------------------------+----------------------------------------- Reporter: thekilon@… | Owner: blair@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: protobuf-python26 ----------------------------------+----------------------------------------- Comment(by blair@…): Fixed in r87096. Your next 'port -v sync' that updates your Portfiles should fix it. -- Ticket URL: <https://trac.macports.org/ticket/32011#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32011: protobuf-python26: error: 'google/protobuf/descriptor.h' file not found -----------------------------------+---------------------------------------- Reporter: thekilon@… | Owner: blair@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: protobuf-python26 | -----------------------------------+---------------------------------------- Changes (by jmr@…): * status: assigned => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/32011#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts