sudo port install gdb problem
Hi, I see the following error message. Does anybody know what is wrong with it and how to get it work? Thanks. ~$ sudo port install gdb --- Cleaning gdb --- Scanning binaries for linking errors: 100.0% --- Found 14 broken file(s), matching files to ports --- Found 1 broken port(s), determining rebuild order --- Rebuilding in order arpack @3.1.2 +accelerate+gcc47+openmpi Error: arpack: Variant openmpi conflicts with gcc47 Error: Unable to open port: Error evaluating variants Error rebuilding arpack while executing error Error rebuilding $portname (procedure revupgrade_scanandrebuild line 382) invoked from within revupgrade_scanandrebuild broken_port_counts $opts (procedure macports::revupgrade line 5) invoked from within macports::revupgrade $opts (procedure action_revupgrade line 2) invoked from within action_revupgrade $action $portlist $opts (procedure action_target line 96) invoked from within $action_proc $action $portlist [array get global_options] (procedure process_cmd line 93) invoked from within process_cmd $remaining_args invoked from within if { [llength $remaining_args] 0 } { # If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining... (file /opt/local/bin/port line 4857) -- Regards, Peng ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: sudo port install gdb problem
On Sun, Dec 1, 2013 at 9:13 AM, Peng Yu pengyu...@gmail.com wrote: I see the following error message. Does anybody know what is wrong with it and how to get it work? Thanks. ~$ sudo port install gdb --- Cleaning gdb gdb was already installed, so it didn't actually do anything. MacPorts does a sanity check after any install or upgrade, to look for anything (not just the port you installed/upgraded) that is broken for some reason: --- Scanning binaries for linking errors: 100.0% --- Found 14 broken file(s), matching files to ports --- Found 1 broken port(s), determining rebuild order --- Rebuilding in order arpack @3.1.2 +accelerate+gcc47+openmpi Error: arpack: Variant openmpi conflicts with gcc47 Older versions of various ports using openmpi had a bug where they thought they could specify it along with a compiler; in fact, openmpi requires that the same compiler be used everywhere and acts like a compiler itself. The fix for this is sudo port upgrade --enforce-variants arpack +accelerate+openmpi (note lack of +gcc47, which was the bug). -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: sudo port install gdb problem
On Sun, Dec 1, 2013 at 7:37 PM, Ryan Schmidt ryandes...@macports.orgwrote: On Dec 1, 2013, at 08:23, Brandon Allbery wrote: sudo port upgrade --enforce-variants arpack +accelerate+openmpi (note lack of +gcc47, which was the bug). Since +gcc47 is already in the installed variants, you may actually have to explicitly disable it: sudo port upgrade --enforce-variants arpack +accelerate +openmpi -gcc47 Doesn't --enforce-variants mean exactly these variants, no others? -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: sudo port install gdb problem
On Dec 1, 2013, at 18:38, Brandon Allbery wrote: On Sun, Dec 1, 2013 at 7:37 PM, Ryan Schmidt wrote: Since +gcc47 is already in the installed variants, you may actually have to explicitly disable it: sudo port upgrade --enforce-variants arpack +accelerate +openmpi -gcc47 Doesn't --enforce-variants mean exactly these variants, no others”? I think it means “add these variants to the ones I already selected”. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: sudo port install gdb problem
On Sun, Dec 1, 2013 at 7:44 PM, Ryan Schmidt ryandes...@macports.orgwrote: On Dec 1, 2013, at 18:38, Brandon Allbery wrote: On Sun, Dec 1, 2013 at 7:37 PM, Ryan Schmidt wrote: Since +gcc47 is already in the installed variants, you may actually have to explicitly disable it: sudo port upgrade --enforce-variants arpack +accelerate +openmpi -gcc47 Doesn't --enforce-variants mean exactly these variants, no others”? I think it means “add these variants to the ones I already selected”. I thought that was the default behavior. -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: sudo port install gdb problem
On Dec 1, 2013, at 18:45, Brandon Allbery wrote: On Sun, Dec 1, 2013 at 7:44 PM, Ryan Schmidt wrote: On Dec 1, 2013, at 18:38, Brandon Allbery wrote: On Sun, Dec 1, 2013 at 7:37 PM, Ryan Schmidt wrote: Since +gcc47 is already in the installed variants, you may actually have to explicitly disable it: sudo port upgrade --enforce-variants arpack +accelerate +openmpi -gcc47 Doesn't --enforce-variants mean exactly these variants, no others”? I think it means “add these variants to the ones I already selected”. I thought that was the default behavior. The only thing that --enforce-variants changes is that MacPorts will rebuild a port that is not considered outdated. From port(1): Note that in selecting the variants to use in the upgraded build of the port, any variants specified on the command line take highest precedence, then the variants active in the latest installed version of the port, and finally the global variants specified in variants.conf, if any. Note that upgrade will not normally rebuild a port only to change the selected vari- ants; you can either specify --enforce-variants, or deactivate the port and reinstall it with different variants. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users