[MacPorts] #35333: port install agrep fails
#35333: port install agrep fails ------------------------------------+--------------------------------------- Reporter: david.s.nunn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ------------------------------------+--------------------------------------- Newly installed Mac OSX 10.8 (Mountain Lion); newly installed XCode 4.4, with command lines downloaded; % sudo port -f uninstall installed % sudo port clean all reinstalled macports from MacPorts-2.1.2-10.8-MountainLion.pkg [all good so far] % sudo port install agrep Installing agrep failed. From the [attached] logfile, problems in agrep.h -- Ticket URL: <https://trac.macports.org/ticket/35333> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35333: agrep: error: non-void function 'asearch1' should return a value ------------------------------------+--------------------------------------- Reporter: david.s.nunn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: clang | Port: agrep ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * keywords: => clang * port: => agrep Old description:
Newly installed Mac OSX 10.8 (Mountain Lion); newly installed XCode 4.4, with command lines downloaded; % sudo port -f uninstall installed % sudo port clean all reinstalled macports from MacPorts-2.1.2-10.8-MountainLion.pkg [all good so far] % sudo port install agrep Installing agrep failed. From the [attached] logfile, problems in agrep.h
New description: Newly installed Mac OSX 10.8 (Mountain Lion); newly installed XCode 4.4, with command lines downloaded; {{{ % sudo port -f uninstall installed % sudo port clean all }}} reinstalled macports from MacPorts-2.1.2-10.8-MountainLion.pkg [all good so far] {{{ % sudo port install agrep }}} Installing agrep failed. From the [attached] logfile, problems in agrep.h -- -- Ticket URL: <https://trac.macports.org/ticket/35333#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35333: agrep: error: non-void function 'asearch1' should return a value ------------------------------------+--------------------------------------- Reporter: david.s.nunn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: clang | Port: agrep ------------------------------------+--------------------------------------- Comment(by david.s.nunn@…): If you're desperate (like me): {{{ edit /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_agrep/agrep/work/agrep-2.04/Makefile by adding " -Wno-return-type" to the CFLAGS line. Then: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_agrep/agrep/work/agrep-2.04; [sudo] make; [sudo] cp agrep /usr/local/bin/; Resulting agrep seems to work fine }}} -- Ticket URL: <https://trac.macports.org/ticket/35333#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35333: agrep: error: non-void function 'asearch1' should return a value -----------------------------+-------------------------------- Reporter: david.s.nunn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: clang Port: agrep | -----------------------------+-------------------------------- Comment (by jmr@…): Clang is right, the code is invalid. -- Ticket URL: <https://trac.macports.org/ticket/35333#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35333: agrep: error: non-void function 'asearch1' should return a value -----------------------------+-------------------------------- Reporter: david.s.nunn@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: clang Port: agrep | -----------------------------+-------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r98019 -- Ticket URL: <https://trac.macports.org/ticket/35333#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts