[MacPorts] #30511: ngrep fails to build
#30511: ngrep fails to build ----------------------------------+----------------------------------------- Reporter: david@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: ngrep ----------------------------------+----------------------------------------- Log attached. -- Ticket URL: <https://trac.macports.org/ticket/30511> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30511: ngrep fails to build ----------------------------------+----------------------------------------- Reporter: david@… | Owner: grace@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: ngrep ----------------------------------+----------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => grace@… -- Ticket URL: <https://trac.macports.org/ticket/30511#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30511: ngrep fails to build ----------------------------------+----------------------------------------- Reporter: david@… | Owner: grace@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: ngrep ----------------------------------+----------------------------------------- Comment(by arno+macports@…): I'm not sure if there's a deeper underlying cause, but it seems to be related to the "make" being performed as "make -j2 -w all". If you drop the "-w" the build proceeds without issue. The flag is being interpreted somewhere as a build target named "w" instead of as an argument to make. At least in my case, I also had to disable the universal build. i386 wasn't happy, but x86_64 was. -- Ticket URL: <https://trac.macports.org/ticket/30511#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30511: ngrep fails to build ----------------------------------+----------------------------------------- Reporter: david@… | Owner: grace@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: ngrep ----------------------------------+----------------------------------------- Comment(by arno+macports@…): OK, this is a bug in the ngrep Makefile.in. As described in [this http://www.mail-archive.com/bug- make@gnu.org/msg00102.html thread], MAKEFLAGS should not be passed recursively to calls to 'make' within the Makefile. Line 66 of Makefile.in contains such an error. Removing the "$(MAKEFLAGS)" bit from that line allows ngrep to build with "make -j2 -w all". A reinplace should be enough to strip that out prior to calling configure. I think the following should handle it. {{{ pre-configure { reinplace s|\$(MAKE) \$(MAKEFLAGS)|$(MAKE)| ${worksrcpath}/Makefile.in } }}} -- Ticket URL: <https://trac.macports.org/ticket/30511#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30511: ngrep fails to build ----------------------------------+----------------------------------------- Reporter: david@… | Owner: grace@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: ngrep ----------------------------------+----------------------------------------- Comment(by arno+macports@…): I've attached a patch which updates the Portfile to correct the MAKECFLAGS issue. It also disables universal building as that seems to be broken. And bumps the revision for good measure (I'm not sure if this is necessary or not). -- Ticket URL: <https://trac.macports.org/ticket/30511#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30511: ngrep fails to build ----------------------------------+----------------------------------------- Reporter: david@… | Owner: grace@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: ngrep ----------------------------------+----------------------------------------- Comment(by arno+macports@…): This is corrected by changeset r83135. It's still failing to build +universal for me under Lion though. I'll open a ticket later today. -- Ticket URL: <https://trac.macports.org/ticket/30511#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30511: ngrep fails to build -----------------------------------+---------------------------------------- Reporter: david@… | Owner: grace@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: fixed | Keywords: Port: ngrep | -----------------------------------+---------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: Universal fixed in r92800. -- Ticket URL: <https://trac.macports.org/ticket/30511#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts