[Bro-Dev] #729: Linux bro build failure after distclean

Bro Tracker bro at tracker.bro-ids.org
Tue Dec 20 11:41:07 PST 2011


#729: Linux bro build failure after distclean
------------------------+---------------------
 Reporter:  amannb      |       Type:  Problem
   Status:  new         |   Priority:  Normal
Milestone:              |  Component:  Bro
  Version:  git/master  |   Keywords:
------------------------+---------------------
 When building bro on a linux box after either make distclean or a
 completely fresh checkout, the first "make install" will fail with an
 error. The error only occurs on the first "make install" directly after a
 make distclean / clean checkout for me. When doing "make" and "make
 install" seperately or doing "make install" for the second time everything
 works as intended.

 Furthermore, this error occurs only on Linux for me, on MacOs it works as
 intended.

 Steps I took:

 {{{
  make distclean && ./configure --prefix=/n/shokuji/db/bernhard/broinstall
 && make install
 }}}

 Resulting error:

 {{{
 -- Installing: /n/shokuji/db/bernhard/broinstall/bin/capstats
 -- Set runtime path of "/n/shokuji/db/bernhard/broinstall/bin/capstats" to
 "/n/shokuji/db/bernhard/broinstall/lib"
 -- Up-to-date: /n/shokuji/db/bernhard/broinstall/bin/trace-summary
 -- Up-to-date: /n/shokuji/db/bernhard/broinstall/bin/bro-cut
 -- Skipping: /n/shokuji/db/bernhard/broinstall/etc/broccoli.conf (already
 exists)
 -- Installing: /n/shokuji/db/bernhard/broinstall/bin/broccoli-config
 -- Installing: /n/shokuji/db/bernhard/broinstall/lib/libbroccoli.so.3.0.0
 -- Up-to-date: /n/shokuji/db/bernhard/broinstall/lib/libbroccoli.so.3
 CMake Error at aux/broccoli/src/cmake_install.cmake:41 (FILE):
   file INSTALL cannot find file
   "/n/shokuji/db/bernhard/bro/build/aux/broccoli/src/libbroccoli.so" to
   install.
 Call Stack (most recent call first):
   aux/broccoli/cmake_install.cmake:61 (INCLUDE)
   cmake_install.cmake:56 (INCLUDE)
 }}}

 When trying it a second time after this error (without make distclean), it
 works as intended.

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/729>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list