[MacPorts] #31999: tutorial_dome.c don't compile
#31999: tutorial_dome.c don't compile ------------------------------------------+--------------------------------- Reporter: ferran.casarramona@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: indi ------------------------------------------+--------------------------------- Trying to install indi port in a 10.7.2 OSX the following compiling error is logged: :info:build /opt/local/var/macports/build/_Users_Alnair_ports_science_indi08/indi/work/libindi-0.8/examples/tutorial_dome.c:185:6: error: conflicting types for 'closeDome' Complete log file is attached. -- Ticket URL: <https://trac.macports.org/ticket/31999> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31999: tutorial_dome.c don't compile ------------------------------------------+--------------------------------- Reporter: ferran.casarramona@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: indi ------------------------------------------+--------------------------------- Comment(by ferran.casarramona@…): Another user has experienced the same bug in indi mailing list. Same 10.7.2 OSX version, and XCode just installed from AppStore. -- Ticket URL: <https://trac.macports.org/ticket/31999#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31999: indi: conflicting types for 'closeDome' ------------------------------------------+--------------------------------- Reporter: ferran.casarramona@… | Owner: jtomshine@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: indi ------------------------------------------+--------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jtomshine@… Comment: The log you attached is incomplete (clean and try again to generate a complete log) but it looks like you're using clang. Have you tried llvm- gcc-4.2 instead? See wiki:ProblemHotlist#compiler. Somebody should file a bug report with the indi project: http://sourceforge.net/tracker/?group_id=90275&atid=593019 -- Ticket URL: <https://trac.macports.org/ticket/31999#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31999: indi: conflicting types for 'closeDome' ------------------------------------------+--------------------------------- Reporter: ferran.casarramona@… | Owner: jtomshine@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: indi ------------------------------------------+--------------------------------- Comment(by ferran.casarramona@…): Replying to [comment:2 ryandesign@…]:
The log you attached is incomplete (clean and try again to generate a complete log) but it looks like you're using clang. Have you tried llvm- gcc-4.2 instead? See wiki:ProblemHotlist#compiler.
Somebody should file a bug report with the indi project: http://sourceforge.net/tracker/?group_id=90275&atid=593019
There are other users with OSX 10.7.2 than could compile without problems. I will check with them. -- Ticket URL: <https://trac.macports.org/ticket/31999#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31999: indi: conflicting types for 'closeDome' ------------------------------------------+--------------------------------- Reporter: ferran.casarramona@… | Owner: jtomshine@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: indi ------------------------------------------+--------------------------------- Comment(by ferran.casarramona@…): Replying to [comment:2 ryandesign@…]:
The log you attached is incomplete (clean and try again to generate a complete log) but it looks like you're using clang. Have you tried llvm- gcc-4.2 instead? See wiki:ProblemHotlist#compiler.
Good, with llvm-gcc-4.2 compiles ok. Can you change port file in order to configure llvm-gcc-4.2 as compiler? Thanks. -- Ticket URL: <https://trac.macports.org/ticket/31999#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31999: indi: conflicting types for 'closeDome' -------------------------------------------+-------------------------------- Reporter: ferran.casarramona@… | Owner: jtomshine@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: indi | -------------------------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: r87076. -- Ticket URL: <https://trac.macports.org/ticket/31999#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31999: indi: conflicting types for 'closeDome' -------------------------------------------+-------------------------------- Reporter: ferran.casarramona@… | Owner: jtomshine@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: indi | -------------------------------------------+-------------------------------- Changes (by ferran.casarramona@…): * status: closed => reopened * resolution: fixed => Comment: Replying to [comment:5 ryandesign@…]:
r87076.
You missed the '=' in: configure.compiler'''='''llvm-gcc-4.2 Thanks -- Ticket URL: <https://trac.macports.org/ticket/31999#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31999: indi: conflicting types for 'closeDome' -------------------------------------------+-------------------------------- Reporter: ferran.casarramona@… | Owner: jtomshine@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: indi | -------------------------------------------+-------------------------------- Changes (by ryandesign@…): * status: reopened => closed * resolution: => fixed Old description:
Trying to install indi port in a 10.7.2 OSX the following compiling error is logged: :info:build /opt/local/var/macports/build/_Users_Alnair_ports_science_indi08/indi/work/libindi-0.8/examples/tutorial_dome.c:185:6: error: conflicting types for 'closeDome'
Complete log file is attached.
New description: Trying to install indi port in a 10.7.2 OSX the following compiling error is logged: {{{ :info:build /opt/local/var/macports/build/_Users_Alnair_ports_science_indi08/indi/work/libindi-0.8/examples/tutorial_dome.c:185:6: error: conflicting types for 'closeDome' }}} Complete log file is attached. -- Comment: One does not use an "=" in Tcl when setting a variable. The block I inserted into the portfile is copied directly from wiki:PortfileRecipes#compiler and works correctly. -- Ticket URL: <https://trac.macports.org/ticket/31999#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31999: indi: conflicting types for 'closeDome' -------------------------------------------+-------------------------------- Reporter: ferran.casarramona@… | Owner: jtomshine@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: indi | -------------------------------------------+-------------------------------- Comment(by ferran.casarramona@…): Replying to [comment:7 ryandesign@…]:
One does not use an "=" in Tcl when setting a variable. The block I inserted into the portfile is copied directly from wiki:PortfileRecipes#compiler and works correctly.
Ok, but it doesn't work to me. The same error when compiling. However if I do "sudo port install indi configure.compiler=llvm-gcc-4.2" it works fine. By the way, the user who can install with 10.7.2 hase XCode 4.1 installed, not 4.2 -- Ticket URL: <https://trac.macports.org/ticket/31999#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31999: indi: conflicting types for 'closeDome' -------------------------------------------+-------------------------------- Reporter: ferran.casarramona@… | Owner: jtomshine@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: indi | -------------------------------------------+-------------------------------- Comment(by ryandesign@…): Replying to [comment:8 ferran.casarramona@…]:
Ok, but it doesn't work to me. The same error when compiling. However if I do "sudo port install indi configure.compiler=llvm-gcc-4.2" it works fine.
Did you "`sudo port selfupdate`" and "`sudo port clean indi`"?
By the way, the user who can install with 10.7.2 hase XCode 4.1 installed, not 4.2
Yes, the default compiler MacPorts chooses for Xcode 4.0 and 4.1 is llvm- gcc-4.2, and for Xcode 4.2 it's clang. -- Ticket URL: <https://trac.macports.org/ticket/31999#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31999: indi: conflicting types for 'closeDome' -------------------------------------------+-------------------------------- Reporter: ferran.casarramona@… | Owner: jtomshine@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: indi | -------------------------------------------+-------------------------------- Comment(by ferran.casarramona@…): Replying to [comment:9 ryandesign@…]:
Replying to [comment:8 ferran.casarramona@…]:
Ok, but it doesn't work to me. The same error when compiling. However if I do "sudo port install indi configure.compiler=llvm- gcc-4.2" it works fine.
Did you "`sudo port selfupdate`" and "`sudo port clean indi`"?
Yes, I did. Also I verified the new code was in my local port tree. -- Ticket URL: <https://trac.macports.org/ticket/31999#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31999: indi: conflicting types for 'closeDome' -------------------------------------------+-------------------------------- Reporter: ferran.casarramona@… | Owner: jtomshine@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: indi | -------------------------------------------+-------------------------------- Comment(by ryandesign@…): Hmm, I can't explain that. Can you selfupdate and clean and try again one more time, and attach the new main.log? -- Ticket URL: <https://trac.macports.org/ticket/31999#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31999: indi: conflicting types for 'closeDome' -------------------------------------------+-------------------------------- Reporter: ferran.casarramona@… | Owner: jtomshine@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: indi | -------------------------------------------+-------------------------------- Comment(by ferran.casarramona@…): Replying to [comment:11 ryandesign@…]:
Hmm, I can't explain that. Can you selfupdate and clean and try again one more time, and attach the new main.log?
I replaced the main.log file for a new one. -- Ticket URL: <https://trac.macports.org/ticket/31999#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31999: indi: conflicting types for 'closeDome' -------------------------------------------+-------------------------------- Reporter: ferran.casarramona@… | Owner: jtomshine@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: indi | -------------------------------------------+-------------------------------- Comment(by ryandesign@…): I think you have a local copy of the old indi portfile in /Users/Alnair/ports/science/indi08. -- Ticket URL: <https://trac.macports.org/ticket/31999#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31999: indi: conflicting types for 'closeDome' -------------------------------------------+-------------------------------- Reporter: ferran.casarramona@… | Owner: jtomshine@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: indi | -------------------------------------------+-------------------------------- Comment(by ferran.casarramona@…): Replying to [comment:13 ryandesign@…]:
I think you have a local copy of the old indi portfile in /Users/Alnair/ports/science/indi08. That's it. I apologize.
Thanks. -- Ticket URL: <https://trac.macports.org/ticket/31999#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts