compiling error after ubuntu new installation.

Maicon - NetConsult <[email protected]> Mon, 24 Aug 2015 09:12:27 -0300
Newsgroups gmane.comp.security.ipcop.devel
Message-ID <[email protected]>
--===============8069598348637991080==
Content-Type: multipart/alternative;
	boundary="=_8e3026306a2eaf811be1220c2ab3f4a5"

--=_8e3026306a2eaf811be1220c2ab3f4a5
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=UTF-8

 

Hi All,

I needed to do a fresh install of Ubuntu 14.04.3 LTS (before, was with
14:04 LTS). and after that suddenly it fails in the compilation. logs
below.

downloaded the latest version of SVN 8001.

./make.sh build
*** IPCop build .config not found. Using defaults
*** Checking for host prerequisites
Checking if we're using bash [ DONE ]
Checking if we're running as non-root user [ DONE ]
Checking if we have sudo [ DONE ]
Checking if sudo is configured [ DONE ]
Building IPCop-2.2.0 for i486 on x86_64
Stage toolchain already built (found files_i486/01_toolchain/strip) [
DONE ]
Running compilation tests : no [ INFO ]
*** Setting up our build environment
Using nice level : 10
Last svn up : no svn history found
*** Building base options version time (sec) status
stage2 [ PASS=0 ] [ svn-7742 ] [ 1 ] [ FAIL ] 

ERROR: Building stage2 [ FAIL ]
Check log_i486/_latest_interrupt.log for errors if applicable 

tail -f log_i486/_latest_interrupt.log 
chown -R 0:0 /etc
chmod -R 644 /etc
find /etc -type d -exec chmod 755 {} ;
# Use mtab as regular file. This allow 'df' not to fail during coreutils
test with mount points out
# of the chroot that didn't exist inside (like debian /lib/init/rw)
rm -f /etc/mtab # In case you experiment with symlink to /proc/mounts
# rootfs line need to be absent or coreutils du/bind-mount-dir-cycle.sh
fail
grep '^/dev.* / ' /proc/mounts >/etc/mtab
stage2:59: recipe for target '/usr/src/files_i486/02_base/stage2' failed
make: *** [/usr/src/files_i486/02_base/stage2] Error 1 

Commenting line "grep '^/dev.* / ' /proc/mounts >/etc/mtab" on
lfs/stage2, build proceeds normally.

Anyone have any ideas to solve this problem?

Many thanks,

Maicon Wendhausen

 
--=_8e3026306a2eaf811be1220c2ab3f4a5
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style=3D'font-family: Arial,Helvetica,sans-serif'>
<pre>Hi All,

I needed to do a fresh install of Ubuntu 14.04.3 LTS (before, was with
14:04 LTS). and after that suddenly it fails in the compilation. logs below=
=2E

downloaded the latest version of SVN 8001.<br /><br /></pre>
<p>./make.sh build<br />*** IPCop build .config not found. Using defaults<b=
r />*** Checking for host prerequisites<br />Checking if we're using bash [=
 DONE ]<br />Checking if we're running as non-root user [ DONE ]<br />Check=
ing if we have sudo [ DONE ]<br />Checking if sudo is configured [ DONE ]<b=
r />Building IPCop-2.2.0 for i486 on x86_64<br />Stage toolchain already bu=
ilt (found files_i486/01_toolchain/strip) [ DONE ]<br />Running compilation=
 tests : no [ INFO ]<br />*** Setting up our build environment<br />Using n=
ice level : 10<br />Last svn up : no svn history found<br />*** Building ba=
se options version time (sec) status<br />stage2 [ PASS=3D0 ] [ svn-7742 ] =
[ 1 ] [ FAIL ]</p>
<p>ERROR: Building stage2 [ FAIL ]<br />Check log_i486/_latest_interrupt.lo=
g for errors if applicable</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>tail -f log_i486/_latest_interrupt.log <br />chown -R 0:0 /etc<br />chmo=
d -R 644 /etc<br />find /etc -type d -exec chmod 755 {} \;<br /># Use mtab =
as regular file. This allow 'df' not to fail during coreutils test with mou=
nt points out<br /># of the chroot that didn't exist inside (like debian /l=
ib/init/rw)<br />rm -f /etc/mtab # In case you experiment with symlink to /=
proc/mounts<br /># rootfs line need to be absent or coreutils du/bind-mount=
-dir-cycle.sh fail<br />grep '^\/dev.* / ' /proc/mounts &gt;/etc/mtab<br />=
stage2:59: recipe for target '/usr/src/files_i486/02_base/stage2' failed<br=
 />make: *** [/usr/src/files_i486/02_base/stage2] Error 1</p>
<pre>Commenting line "grep '^/dev.* / ' /proc/mounts &gt;/etc/mtab" on
lfs/stage2, build proceeds normally.</pre>
<pre>Anyone have any ideas to solve this problem?

Many thanks,<br />
Maicon Wendhausen</pre>
<p>&nbsp;</p>
<div>&nbsp;</div>
</body></html>

--=_8e3026306a2eaf811be1220c2ab3f4a5--



--===============8069598348637991080==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============8069598348637991080==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
IPCop-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-devel

--===============8069598348637991080==--