[MacPorts] #30357: gcc46 select error if no gcj installed
#30357: gcc46 select error if no gcj installed -------------------------------------+-------------------------------------- Reporter: marshall.ward@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: -------------------------------------+-------------------------------------- I have the following gcc46 version installed: gcc46 @4.6-20110325_1+gfortran If I try to select gcc46 using the following command: sudo port select --set gcc mp-gcc46 Then I get the following error: Selecting 'mp-gcc46' for 'gcc' failed: could not create new link "/opt/local/bin/gcj": target "/opt/local/bin/gcj-mp-4.6" doesn't exist I assume that the problem occurs because I don't have the 4.6 version of GCC java installed. This is partly because the +gfortran and +java variants are incompatible (according to macports). -- Ticket URL: <https://trac.macports.org/ticket/30357> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30357: gcc46 select error if no gcj installed -------------------------------------+-------------------------------------- Reporter: marshall.ward@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: gcc46 -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => mww@… * port: => gcc46 Old description:
I have the following gcc46 version installed:
gcc46 @4.6-20110325_1+gfortran
If I try to select gcc46 using the following command:
sudo port select --set gcc mp-gcc46
Then I get the following error:
Selecting 'mp-gcc46' for 'gcc' failed: could not create new link "/opt/local/bin/gcj": target "/opt/local/bin/gcj-mp-4.6" doesn't exist
I assume that the problem occurs because I don't have the 4.6 version of GCC java installed. This is partly because the +gfortran and +java variants are incompatible (according to macports).
New description: I have the following gcc46 version installed: {{{ gcc46 @4.6-20110325_1+gfortran }}} If I try to select gcc46 using the following command: {{{ sudo port select --set gcc mp-gcc46 }}} Then I get the following error: {{{ Selecting 'mp-gcc46' for 'gcc' failed: could not create new link "/opt/local/bin/gcj": target "/opt/local/bin/gcj-mp-4.6" doesn't exist }}} I assume that the problem occurs because I don't have the 4.6 version of GCC java installed. This is partly because the +gfortran and +java variants are incompatible (according to macports). -- -- Ticket URL: <https://trac.macports.org/ticket/30357#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30357: gcc46 select error if no gcj installed -------------------------------------+-------------------------------------- Reporter: marshall.ward@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: gcc46 -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Replying to [ticket:30357 marshall.ward@…]:
This is partly because the +gfortran and +java variants are incompatible (according to macports).
There's no need for these variants to conflict. I supplied the fix in #16410 three years ago to make them not conflict. The maintainer elected two years ago to close the issue and not apply that fix. The additional problems we have here are that gcc46 is not current (#29184) and that gfortran doesn't actually work in gcc46 (#30166). -- Ticket URL: <https://trac.macports.org/ticket/30357#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30357: gcc46 select error if no gcj installed -------------------------------------+-------------------------------------- Reporter: marshall.ward@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: gcc46 -------------------------------------+-------------------------------------- Comment(by miles@…): This issue is still occurring. Any news? -- Ticket URL: <https://trac.macports.org/ticket/30357#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30357: gcc46 select error if no gcj installed --------------------------------------+------------------------------------- Reporter: marshall.ward@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: fixed | Keywords: Port: gcc46 | --------------------------------------+------------------------------------- Changes (by dports@…): * status: new => closed * resolution: => fixed Comment: Actually, gcc46 doesn't even have a variant to build java anymore; I don't really understand why... I removed gcj from the select file in r88285 to fix the error with `port select`. -- Ticket URL: <https://trac.macports.org/ticket/30357#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30357: gcc46 select error if no gcj installed --------------------------------------+------------------------------------- Reporter: marshall.ward@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: fixed | Keywords: Port: gcc46 | --------------------------------------+------------------------------------- Comment(by dports@…): Replying to [comment:5 dports@…]:
I removed gcj from the select file in r88285 to fix the error with `port select`.
...and I *actually* checked it in with r88286. -- Ticket URL: <https://trac.macports.org/ticket/30357#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts