[MacPorts] #48809: Readline incompatibility with lsh
#48809: Readline incompatibility with lsh -----------------------+-------------------------------- Reporter: greeneg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: lsh -----------------------+-------------------------------- While attempting to build lsh, I've found a few errors that block it from building. First, clang is not compatible with the build unless the -std=gnu89 flag is passed to the compiler since it uses inline externs in a way that is incompatible with C99. After patching the Portfile to use the extra flag for clang, I get errors pointing to readline 6.3 being incompatible with it due to using a function that is no longer present in readline. At this point, I checked upstream, found that there is a newer release available from the FSF's site, but it also has the same incompatibility with readline 6.3. Build log for the current version of the port in the repository is attached. -- Ticket URL: <https://trac.macports.org/ticket/48809> MacPorts <https://www.macports.org/> Ports system for OS X
#48809: Readline incompatibility with lsh ------------------------+-------------------------------- Reporter: greeneg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: lsh | ------------------------+-------------------------------- Comment (by greeneg@…): Added patched version of the port file to add the extra flags for testing by others. Will upload another version of it for the new release for testing tomorrow. -- Ticket URL: <https://trac.macports.org/ticket/48809#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48809: Readline incompatibility with lsh ------------------------+-------------------------------- Reporter: greeneg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: lsh | ------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: => haspatch Comment: You should attach a unified diff of your changes instead of a complete new Portfile. -- Ticket URL: <https://trac.macports.org/ticket/48809#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48809: Readline incompatibility with lsh ------------------------+-------------------------------- Reporter: greeneg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: lsh | ------------------------+-------------------------------- Comment (by greeneg@…): As requested, attaching it as a diff. -- Ticket URL: <https://trac.macports.org/ticket/48809#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48809: Readline incompatibility with lsh ------------------------+-------------------------------- Reporter: greeneg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: lsh | ------------------------+-------------------------------- Comment (by ryandesign@…): Your diff appears to include unrelated whitespace changes. Please restrict your diff to only the changes that resolve the issue you are reporting. -- Ticket URL: <https://trac.macports.org/ticket/48809#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#48809: Readline incompatibility with lsh ------------------------+-------------------------------- Reporter: greeneg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: lsh | ------------------------+-------------------------------- Comment (by khindenburg@…): adding this doesn't fix the build for me configure.cflags-append "-std=gnu89" -- Ticket URL: <https://trac.macports.org/ticket/48809#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts