[MacPorts] #30055: port mpkg gcc45 +universal does not work on MacPorts 2.0.0b2
#30055: port mpkg gcc45 +universal does not work on MacPorts 2.0.0b2 ---------------------------------+------------------------------------------ Reporter: dojo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.0.0 Component: base | Version: 1.9.99 Keywords: | Port: ---------------------------------+------------------------------------------ {{{ $ port installed No ports are installed. $ sudo port mpkg gcc45 +universal Warning: configured user/group macports does not exist, will build as root ---> Computing dependencies for gcc45 ---> Dependencies to be installed: gcc_select gmp libiconv gperf libmpc mpfr xz gettext expat ncurses ncursesw Error: Failed to install gcc_select Log for gcc_select is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_gcc_select/gcc_select/main.log Error: The following dependencies were not installed: gcc_select gmp libiconv gperf libmpc mpfr xz gettext expat ncurses ncursesw Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> $ cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_gcc_select/gcc_select/main.log version:1 :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 4294967295 :debug:main euid changed to: 4294967295 :error:main Failed to install gcc_select :notice:main Log for gcc_select is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_gcc_select/gcc_select/main.log }}} Might be related to #30054 -- Ticket URL: <https://trac.macports.org/ticket/30055> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30055: port mpkg gcc45 +universal does not work on MacPorts 2.0.0b2 ---------------------------------+------------------------------------------ Reporter: dojo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.0.0 Component: base | Version: 1.9.99 Keywords: | Port: ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Why did gcc_select fail to install? Please attach its main.log file. -- Ticket URL: <https://trac.macports.org/ticket/30055#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30055: port mpkg gcc45 +universal does not work on MacPorts 2.0.0b2 ---------------------------------+------------------------------------------ Reporter: dojo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.0.0 Component: base | Version: 1.9.99 Keywords: | Port: ---------------------------------+------------------------------------------ Comment(by dojo@…): Replying to [comment:1 ryandesign@…]:
Why did gcc_select fail to install? Please attach its main.log file.
I'm pretty sure it was to do with the macports user not existing (see #30054). Once I edited macports.conf to set the user to 'root', I was able to get by this step. However the original main.log file for gcc_select is in the bug description above. -- Ticket URL: <https://trac.macports.org/ticket/30055#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30055: port mpkg gcc45 +universal does not work on MacPorts 2.0.0b2 ---------------------------------+------------------------------------------ Reporter: dojo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.0.0 Component: base | Version: 1.9.99 Keywords: | Port: ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Oh, that's all of it. I see. "4294967295" is a pretty large user id or group id -- in fact that's the largest unsigned 32-bit integer, so that's probably an error somewhere. -- Ticket URL: <https://trac.macports.org/ticket/30055#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30055: port mpkg gcc45 +universal does not work on MacPorts 2.0.0b2 ---------------------------------+------------------------------------------ Reporter: dojo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.99 Keywords: | Port: ---------------------------------+------------------------------------------ Changes (by jmr@…): * milestone: MacPorts 2.0.0 => -- Ticket URL: <https://trac.macports.org/ticket/30055#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30055: port mpkg gcc45 +universal does not work on MacPorts 2.0.0b2 with nonexistent macportsuser ---------------------------------+------------------------------------------ Reporter: dojo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.99 Keywords: | Port: ---------------------------------+------------------------------------------ -- Ticket URL: <https://trac.macports.org/ticket/30055#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30055: port mpkg gcc45 +universal does not work on MacPorts 2.0.0b2 with nonexistent macportsuser ---------------------------------+------------------------------------------ Reporter: dojo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.99 Keywords: | Port: ---------------------------------+------------------------------------------ Comment(by jmr@…): Could we have debug output please? The error isn't happening in the portfile context so it doesn't show up in the log for the port. The big number is actually -1 (converted to unsigned), which is what name_to_uid returns when you give it a nonexistent username. But the call to that proc should only happen if privileges had been dropped previously. -- Ticket URL: <https://trac.macports.org/ticket/30055#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30055: port mpkg gcc45 +universal does not work on MacPorts 2.0.0b2 with nonexistent macportsuser ----------------------------------+----------------------------------------- Reporter: dojo@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.9.99 Resolution: fixed | Keywords: Port: | ----------------------------------+----------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: Should be fixed by r80229, reopen if not. -- Ticket URL: <https://trac.macports.org/ticket/30055#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts