Opened 12 years ago
Closed 12 years ago
#35333 closed defect (fixed)
agrep: error: non-void function 'asearch1' should return a value
Reported by: | david.s.nunn@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | clang | Cc: | |
Port: | agrep |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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
Attachments (1)
Change History (5)
Changed 12 years ago by david.s.nunn@…
Attachment: | agrep.main.log added |
---|
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | clang added |
Port: | agrep added |
Summary: | port install agrep fails → agrep: error: non-void function 'asearch1' should return a value |
comment:2 Changed 12 years ago 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
comment:4 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
main.log from sudo port install agrep