[MacPorts] #37817: gcc 4.x have gone missing
#37817: gcc 4.x have gone missing ---------------------------+-------------------------------- Reporter: yves.dubief@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ---------------------------+-------------------------------- Hi I am trying to install gcc45 and gcc47 without success. sudo port install gcc45 (or 47 or 48) returns Port gcc45 not found. The ports are also absent from the Available ports on http://www.macports.org/ports.php Is this a database problem? It seems to be linked with a recent update as I was able to compile gcc47 on a different mac a couple of weeks ago. -- Ticket URL: <https://trac.macports.org/ticket/37817> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37817: gcc 4.x have gone missing ----------------------------+-------------------------------- Reporter: yves.dubief@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | ----------------------------+-------------------------------- Comment (by cal@…): What version of MacPorts do you run? From what I see, these ports need MacPorts >= 2.1.0. Can you run {{{ cd $(port dir mplayer2)/../../lang/gcc48 && port info }}} and paste the output? -- Ticket URL: <https://trac.macports.org/ticket/37817#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37817: gcc 4.x have gone missing -----------------------------+------------------------- Reporter: yves.dubief@… | Owner: wsiegrist@… Type: defect | Status: new Priority: Normal | Milestone: Component: server/hosting | Version: 2.1.2 Resolution: | Keywords: Port: | -----------------------------+------------------------- Changes (by raimue@…): * owner: macports-tickets@… => wsiegrist@… * cc: raimue@… (added) * component: ports => server/hosting Comment: The PortIndex on the rsync server is currently incomplete and missing for example the gcc45 port. {{{ rsync -rv rsync://rsync.macports.org/release/tarballs/PortIndex* /tmp/ grep gcc45 /tmp/PortIndex_darwin_*/PortIndex.quick }}} This does not return any hits, although I would have expected an entry in each PortIndex.quick. -- Ticket URL: <https://trac.macports.org/ticket/37817#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37817: gcc 4.x have gone missing -----------------------------+------------------------- Reporter: yves.dubief@… | Owner: wsiegrist@… Type: defect | Status: new Priority: Normal | Milestone: Component: server/hosting | Version: 2.1.2 Resolution: | Keywords: Port: | -----------------------------+------------------------- Comment (by macsforever2000@…): I see this problem on regular non-trunk installs of Macports 2.1.2. If I manually run a portindex, it adds 36 ports including the missing gcc ports. -- Ticket URL: <https://trac.macports.org/ticket/37817#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37817: gcc 4.x have gone missing -----------------------------+------------------------- Reporter: yves.dubief@… | Owner: wsiegrist@… Type: defect | Status: new Priority: Normal | Milestone: Component: server/hosting | Version: 2.1.2 Resolution: | Keywords: Port: | -----------------------------+------------------------- Comment (by jmr@…): The problem seems to have come up only in the last day, as a machine I synced with the pregenerated PortIndex yesterday has no problem looking up the gcc ports. -- Ticket URL: <https://trac.macports.org/ticket/37817#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37817: gcc 4.x have gone missing -----------------------------+------------------------- Reporter: yves.dubief@… | Owner: wsiegrist@… Type: defect | Status: new Priority: Normal | Milestone: Component: server/hosting | Version: 2.1.2 Resolution: | Keywords: Port: | -----------------------------+------------------------- Changes (by jmr@…): * cc: jeremyhu@… (added) Comment: Looks like the culprit is r102108 and the other similar commits. The compiler_name_map isn't exactly meant to be a public API in the first place, which is why it's semi-hidden inside the portconfigure namespace, but the issue here is that there's no check for whether it actually contains a mapping for the current configure.compiler value. The server generating the indices runs Linux, so the Xcode compilers are not available. (This also means you can't rely on having configure.compiler set "correctly" at index time.) -- Ticket URL: <https://trac.macports.org/ticket/37817#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37817: gcc 4.x have gone missing -----------------------------+------------------------- Reporter: yves.dubief@… | Owner: wsiegrist@… Type: defect | Status: new Priority: Normal | Milestone: Component: server/hosting | Version: 2.1.2 Resolution: | Keywords: Port: | -----------------------------+------------------------- Comment (by ryandesign@…): Has duplicate #37824. -- Ticket URL: <https://trac.macports.org/ticket/37817#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37817: Ports using compiler_name_map are missing from the portindex ----------------------------+------------------------ Reporter: yves.dubief@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | ----------------------------+------------------------ Changes (by ryandesign@…): * cc: jeremyhu@… (removed) * owner: wsiegrist@… => jeremyhu@… * component: server/hosting => ports -- Ticket URL: <https://trac.macports.org/ticket/37817#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37817: Ports using compiler_name_map are missing from the portindex -------------------------------------------------+------------------------- Reporter: yves.dubief@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: MPlayer, VLC, VLC-devel, cgal, | dragonegg-3.0, dragonegg-3.1, dragonegg-3.2, | dragonegg-3.3, ffmpeg, ffmpeg-devel, gcc43, | gcc44, gcc45, gcc46, gcc47, gcc48, ld64, | llvm-2.9, llvm-3.0, llvm-3.1, llvm-3.2, | llvm-3.3, mplayer-devel, mythtv-core.25, | opencv, ppl, ruby, xorg-xcb-util | -------------------------------------------------+------------------------- Changes (by ryandesign@…): * port: => MPlayer, VLC, VLC-devel, cgal, dragonegg-3.0, dragonegg-3.1, dragonegg-3.2, dragonegg-3.3, ffmpeg, ffmpeg-devel, gcc43, gcc44, gcc45, gcc46, gcc47, gcc48, ld64, llvm-2.9, llvm-3.0, llvm-3.1, llvm-3.2, llvm-3.3, mplayer-devel, mythtv-core.25, opencv, ppl, ruby, xorg-xcb-util -- Ticket URL: <https://trac.macports.org/ticket/37817#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37817: Ports using compiler_name_map are missing from the portindex -------------------------------------------------+------------------------- Reporter: yves.dubief@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: MPlayer, VLC, VLC-devel, cgal, | dragonegg-3.0, dragonegg-3.1, dragonegg-3.2, | dragonegg-3.3, ffmpeg, ffmpeg-devel, gcc43, | gcc44, gcc45, gcc46, gcc47, gcc48, ld64, | llvm-2.9, llvm-3.0, llvm-3.1, llvm-3.2, | llvm-3.3, mplayer-devel, mythtv-core.25, | opencv, ppl, ruby, xorg-xcb-util | -------------------------------------------------+------------------------- Changes (by jeremyhu@…): * cc: jmr@… (added) Comment: Ok, so then what is the alternative? Can we just get a fix for #32542, so we can avoid having to hack around this? What's a safe thing to do in the interim until #32542 is actually fixed? -- Ticket URL: <https://trac.macports.org/ticket/37817#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37817: Ports using compiler_name_map are missing from the portindex -------------------------------------------------+------------------------- Reporter: yves.dubief@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: MPlayer, VLC, VLC-devel, cgal, | dragonegg-3.0, dragonegg-3.1, dragonegg-3.2, | dragonegg-3.3, ffmpeg, ffmpeg-devel, gcc43, | gcc44, gcc45, gcc46, gcc47, gcc48, ld64, | llvm-2.9, llvm-3.0, llvm-3.1, llvm-3.2, | llvm-3.3, mplayer-devel, mythtv-core.25, | opencv, ppl, ruby, xorg-xcb-util | -------------------------------------------------+------------------------- Comment (by jmr@…): I guess you'd a check like {{{ if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} { }}} instead of calling compiler_is_port, as the immediate workaround. That may be what compiler_is_port should just do anyway, come to think of it. If we decide to make this stuff public, it just needs to be a little more robust. -- Ticket URL: <https://trac.macports.org/ticket/37817#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37817: Ports using compiler_name_map are missing from the portindex -------------------------------------------------+------------------------- Reporter: yves.dubief@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: MPlayer, VLC, VLC-devel, cgal, | dragonegg-3.0, dragonegg-3.1, dragonegg-3.2, | dragonegg-3.3, ffmpeg, ffmpeg-devel, gcc43, | gcc44, gcc45, gcc46, gcc47, gcc48, ld64, | llvm-2.9, llvm-3.0, llvm-3.1, llvm-3.2, | llvm-3.3, mplayer-devel, mythtv-core.25, | opencv, ppl, ruby, xorg-xcb-util | -------------------------------------------------+------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: r102174 -- Ticket URL: <https://trac.macports.org/ticket/37817#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37817: Ports using compiler_name_map are missing from the portindex -------------------------------------------------+------------------------- Reporter: yves.dubief@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: MPlayer, VLC, VLC-devel, cgal, | dragonegg-3.0, dragonegg-3.1, dragonegg-3.2, | dragonegg-3.3, ffmpeg, ffmpeg-devel, gcc43, | gcc44, gcc45, gcc46, gcc47, gcc48, ld64, | llvm-2.9, llvm-3.0, llvm-3.1, llvm-3.2, | llvm-3.3, mplayer-devel, mythtv-core.25, | opencv, ppl, ruby, xorg-xcb-util | -------------------------------------------------+------------------------- Comment (by ryandesign@…): Has duplicate #37850. -- Ticket URL: <https://trac.macports.org/ticket/37817#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts