[MacPorts] #21312: tripwire install fails on snow leopard
#21312: tripwire install fails on snow leopard ----------------------------------+----------------------------------------- Reporter: peter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: tripwire ----------------------------------+----------------------------------------- Mac Ports setup from scratch today. installed nmap, portsentry and snort ok. tripwire output shown below: sltestvbox:~ root# port install tripwire ---> Computing dependencies for tripwire ---> Building tripwire Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_tripwire/work/tripwire-2.4.1.2-src" && /usr/bin/make -j2 all " returned error 2 Command output: cd . && /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_tripwire/work/tripwire-2.4.1.2-src/missing --run automake-1.10 --foreign aclocal.m4:20: warning: this file was generated for autoconf 2.64. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. configure.in:8: error: Autoconf version 2.62 or higher is required aclocal.m4:530: AM_INIT_AUTOMAKE is expanded from... configure.in:8: the top level autom4te: /usr/bin/gm4 failed with exit status: 63 automake-1.10: /usr/bin/autoconf failed with exit status: 63 WARNING: `automake-1.10' is needed, and you do not seem to have it handy on your system. You might have modified some files without having the proper tools for further handling them. Check the `README' file, it often tells you about the needed prerequirements for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing `automake-1.10' program. make: *** [Makefile.in] Error 1 Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/21312> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21312: tripwire install fails on snow leopard ----------------------------------+----------------------------------------- Reporter: peter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: tripwire ----------------------------------+----------------------------------------- Changes (by toby@…): * version: 1.8.0 => Old description:
Mac Ports setup from scratch today. installed nmap, portsentry and snort ok. tripwire output shown below:
sltestvbox:~ root# port install tripwire ---> Computing dependencies for tripwire ---> Building tripwire Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_tripwire/work/tripwire-2.4.1.2-src" && /usr/bin/make -j2 all " returned error 2 Command output: cd . && /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_tripwire/work/tripwire-2.4.1.2-src/missing --run automake-1.10 --foreign aclocal.m4:20: warning: this file was generated for autoconf 2.64. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. configure.in:8: error: Autoconf version 2.62 or higher is required aclocal.m4:530: AM_INIT_AUTOMAKE is expanded from... configure.in:8: the top level autom4te: /usr/bin/gm4 failed with exit status: 63 automake-1.10: /usr/bin/autoconf failed with exit status: 63 WARNING: `automake-1.10' is needed, and you do not seem to have it handy on your system. You might have modified some files without having the proper tools for further handling them. Check the `README' file, it often tells you about the needed prerequirements for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing `automake-1.10' program. make: *** [Makefile.in] Error 1
Error: Status 1 encountered during processing.
New description: Mac Ports setup from scratch today. installed nmap, portsentry and snort ok. tripwire output shown below: {{{ sltestvbox:~ root# port install tripwire ---> Computing dependencies for tripwire ---> Building tripwire Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_tripwire/work/tripwire-2.4.1.2-src" && /usr/bin/make -j2 all " returned error 2 Command output: cd . && /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_tripwire/work/tripwire-2.4.1.2-src/missing --run automake-1.10 --foreign aclocal.m4:20: warning: this file was generated for autoconf 2.64. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. configure.in:8: error: Autoconf version 2.62 or higher is required aclocal.m4:530: AM_INIT_AUTOMAKE is expanded from... configure.in:8: the top level autom4te: /usr/bin/gm4 failed with exit status: 63 automake-1.10: /usr/bin/autoconf failed with exit status: 63 WARNING: `automake-1.10' is needed, and you do not seem to have it handy on your system. You might have modified some files without having the proper tools for further handling them. Check the `README' file, it often tells you about the needed prerequirements for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing `automake-1.10' program. make: *** [Makefile.in] Error 1 Error: Status 1 encountered during processing. }}} -- Comment: Please remember to use [wiki:WikiFormatting] -- Ticket URL: <http://trac.macports.org/ticket/21312#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21312: tripwire install fails on snow leopard ----------------------------------+----------------------------------------- Reporter: peter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: tripwire ----------------------------------+----------------------------------------- Comment(by hsivank@…): There is a bug with the automake version you are using : In fact, patch-configure {{{ 23 -am__api_version="1.8" 24 +am__api_version="1.10" }}} and patch-aclocal.m4 {{{ 7 -AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"]) 8 +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.10"]) }}} fix the variable "am__api_version" with value 1.10 and the automake gives : {{{ $automake --version automake (GNU automake) 1.11 }}} Maybe we should not use "am__api_version" in the configure process ... Attached 2 patches tested on SL x86_64 -- Ticket URL: <http://trac.macports.org/ticket/21312#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21312: tripwire install fails on snow leopard ----------------------------------+----------------------------------------- Reporter: peter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: tripwire ----------------------------------+----------------------------------------- Comment(by peter@…): hsivank, Thank you very much for your quick and skillful fix. Once I'd worked out to what todo with the patch files the build worked a treat! commands used to get tripwire built: # cd $(port dir tripwire) # patch -p0 <Portfile-tripwire.diff # cp patch-configure.diff files/. # port install tripwire -- Ticket URL: <http://trac.macports.org/ticket/21312#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21312: tripwire install fails on snow leopard ----------------------------------+----------------------------------------- Reporter: peter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: tripwire ----------------------------------+----------------------------------------- Comment(by ron@…): Replying to [comment:3 peter@…]:
hsivank, Thank you very much for your quick and skillful fix.
Once I'd worked out to what todo with the patch files the build worked a treat!
Can you share what you did with the patch files? I'm having the same problem. -- Ticket URL: <http://trac.macports.org/ticket/21312#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21312: tripwire install fails on snow leopard -----------------------------------+---------------------------------------- Reporter: peter@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: tripwire | -----------------------------------+---------------------------------------- Changes (by blb@…): * status: new => closed * resolution: => fixed Comment: Fixed in r58164. -- Ticket URL: <http://trac.macports.org/ticket/21312#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21312: tripwire install fails on snow leopard -----------------------------------+---------------------------------------- Reporter: peter@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: tripwire | -----------------------------------+---------------------------------------- Comment(by peter@…): Replying to [comment:5 ron@…]: An attempt was made to detail how the patch was applied however the 4 commands all got displayed on one line, so I'll try again: 1. copy the 2 patch files to the "/opt/local/var/macports/sources/rsync.macports.org/release/ports/security/tripwire" directory 2. as root type the following 4 commands: # cd $(port dir tripwire) # patch -p0 <Portfile-tripwire.diff # cp patch-configure.diff files/. # port install tripwire -- Ticket URL: <http://trac.macports.org/ticket/21312#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts