Ivan Hennessy | 4 Jan 04:10 2009
Picon

chapter 6.7.2 error

Hello all,

I'm building LFS 6.4 on a Dell Inspiron 700m (basically, 1.7 GHz Celeron, 512 Megs RAM), using Fedora 9
(xfce) for the host.

Everything seemed to go smoothly, until:
chapter 6.7.2

tar -xjvf linux-2.6.27.4.tar.bz2
[... extracted files list...]
cd linux*
make mrproper
make headers_check

  CHK     include/linux/version.h
  UPD     include/linux/version.h
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/unifdef
  INSTALL include/asm-generic (12 files)
Can't locate strict.pm in  <at> INC ( <at> INC contains: /tools/lib/perl5/5.10.0/i686-linux
/tools/lib/perl5/5.10.0 /tools/lib/perl5/site_perl/5.10.0/i686-linux
/tools/lib/perl5/site_perl/5.10.0 .) at scripts/headers_install.pl line 19.
BEGIN failed--compilation aborted at scripts/headers_install.pl line 19.
make[2]: *** [/sources/linux-2.6.27.4/usr/include/asm-generic/.install] Error 2
make[1]: *** [asm-generic] Error 2
make: *** [headers_install] Error 2

I spent some time with Google, and the mailing list plugin... but the search was not strong with this one.

(Continue reading)

Emanuele | 4 Jan 13:02 2009
Picon

Point 5.12 - GCC PASS 2 problem

Dear Friends,

i'm trying to do the point 5.12. "GCC-4.3.2 - Pass 2"
Now, i've this error when i do the make:

checking for i686-pc-linux-gnu-gcc... /mnt/lfs/gcc-build/./gcc/xgcc 
-B/mnt/lfs/gcc-build/./gcc/ -B/tools/i686-pc-linux-gnu/bin/ 
-B/tools/i686-pc-linux-gnu/lib/ -isystem 
/tools/i686-pc-linux-gnu/include -isystem 
/tools/i686-pc-linux-gnu/sys-include
checking for suffix of object files... configure: error: cannot compute 
suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `/mnt/lfs/gcc-build'
make: *** [all] Error 2

Below the config.log but i don't understand where is the problem
Could you please help me?
Thanks

$ ../gcc-4.3.2/configure --prefix=/tools --with-local-prefix=/tools 
--enable-clocale=gnu --enable-shared --enable-threads=posix 
--enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch 
--disable-bootstrap --with-gmp=/mnt/lfs/gmp --with-mpfr=/mnt/lfs/mpfr

## --------- ##
## Platform. ##
## --------- ##

(Continue reading)

Tomáš Skočdopole | 4 Jan 15:46 2009
Picon

5.10. Expect-5.43.0 - test fail

Hello,

I have some problems with chapter 5.10. Expect-5.43.0  (LFS version
6.4 stable). I am using LFS LiveCD v6.3.

I run testsuite in this chapter and some of tests failed. I have the
most fear with this chapter of the testsuite:

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: child killed: segmentation violation
    while executing
"exec rm /tmp/[pid]"
    ("uplevel" body line 11)
    invoked from within
"uplevel 1 $script"
---- errorCode: CHILDKILLED 19714 SIGSEGV {segmentation violation}
==== spawn-1.4 FAILED

Whole output from the testsuite is in the attachment expect.test.output.

Thank you for help!
Regards Tomáš Skočdopole
Attachment (expect.test.output): application/octet-stream, 5390 bytes
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
(Continue reading)

Ralph Porter | 5 Jan 03:03 2009
Picon

jhalfs issue with permissions

Hello folks,

Decided to try out jhalfs for 6.4.  Pretty slick  system.

I'm running fedora 8 as the host.  Logged in as a priv user rporter.

I start up the build (after of course downloads, configure $LFS, etc.)

Here is what I get.

Building the system...
make[1]: Entering directory `/mnt/lfs/jhalfs'
--------------------------------------------------------------------------------
mk_LUSER
You are going to log into the user account lfs
sudo requires a password
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
--------------------------------------------------------------------------------
 Building target 028-binutils-pass1
 [/du: cannot read directory `/mnt/lfs/.Trash-root': Permission denied 0 sec
du: cannot read directory `/mnt/lfs/.Trash-rporter': Permission denied

Now, I have only built one user on the host system (rporter).  I get
this prompt and the only valid password is rporter's password.  Not
sure what its trying to do.

(Continue reading)

DJ Lucas | 5 Jan 05:02 2009
Picon

Re: jhalfs issue with permissions

Ralph Porter wrote:

> mk_LUSER
> You are going to log into the user account lfs
> sudo requires a password
> Password:
> Sorry, try again.

Since you didn't explicitly say it, we'll go for the obvious first.  Did 
you add rporter to /etc/sudoers and give him all commands?  RedHat AS/EL 
used to have good comments in the /etc/sudoers file.  I don't know about 
Fedora, but the needed change is available on the BLFS sudo page:

http://www.linuxfromscratch.org/blfs/view/svn/postlfs/sudo.html

-- DJ Lucas

--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Ralph Porter | 5 Jan 18:13 2009
Picon

Re: jhalfs issue with permissions

On Sun, Jan 4, 2009 at 10:02 PM, DJ Lucas <dj <at> linuxfromscratch.org> wrote:
> Ralph Porter wrote:
>
>> mk_LUSER
>> You are going to log into the user account lfs
>> sudo requires a password
>> Password:
>> Sorry, try again.
>
> Since you didn't explicitly say it, we'll go for the obvious first.  Did
> you add rporter to /etc/sudoers and give him all commands?  RedHat AS/EL
> used to have good comments in the /etc/sudoers file.  I don't know about
> Fedora, but the needed change is available on the BLFS sudo page:
>

Yes I did update sudoers

## Allow root to run any commands anywhere
root    ALL=(ALL)       ALL
rporter ALL=(ALL)       ALL
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Wolfgang Messingschlager | 5 Jan 22:54 2009
Picon

jhalfs issue with permissions

Ralph Porter wrote:
> On Sun, Jan 4, 2009 at 10:02 PM, DJ Lucas <dj <at> linuxfromscratch.org> wrote:
>> Ralph Porter wrote:
>>
>>> mk_LUSER
>>> You are going to log into the user account lfs
>>> sudo requires a password
>>> Password:
>>> Sorry, try again.
>> Since you didn't explicitly say it, we'll go for the obvious first.  Did
>> you add rporter to /etc/sudoers and give him all commands?  RedHat AS/EL
>> used to have good comments in the /etc/sudoers file.  I don't know about
>> Fedora, but the needed change is available on the BLFS sudo page:
>>
> 
> Yes I did update sudoers
> 
> ## Allow root to run any commands anywhere
> root    ALL=(ALL)       ALL
> rporter ALL=(ALL)       ALL

I prefer to define

root    ALL=(ALL)       ALL
rporter ALL=NOPASSWD:   ALL

in /etc/sudoers or better to use visudo. Then iti not necessary to enter 
a password as OS user rporter.

Good luck
(Continue reading)

DJ Lucas | 6 Jan 01:50 2009
Picon

Re: jhalfs issue with permissions

Ralph Porter wrote:

>  Building target 028-binutils-pass1
>  [/du: cannot read directory `/mnt/lfs/.Trash-root': Permission denied 0 sec
> du: cannot read directory `/mnt/lfs/.Trash-rporter': Permission denied
> 
> 

Wait, it actually started the build!  I missed that part yesterday. 
What exactly is the problem? The du commands?  The build shouldn't stop 
because of that, did it stop, or did you stop it?  Anyway, the du errors 
are harmless, but the reason is that the lfs user (just created) does 
not have read access to those directories.  As for the 'Sorry, try 
again' errors...What happens if you do 'sudo useradd lfs'?  Assuming 
those were errors and not that I just misinterpreted the problem, is SE 
enabled?  I haven't heard of SE causing problems yet, but I'd disable or 
at least set to permissive.

-- DJ Lucas

--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Ralph Porter | 6 Jan 04:38 2009
Picon

Re: jhalfs issue with permissions

On Mon, Jan 5, 2009 at 6:50 PM, DJ Lucas <dj <at> linuxfromscratch.org> wrote:
> Ralph Porter wrote:
>
>>  Building target 028-binutils-pass1
>>  [/du: cannot read directory `/mnt/lfs/.Trash-root': Permission denied 0 sec
>> du: cannot read directory `/mnt/lfs/.Trash-rporter': Permission denied
>>
>>
>
> Wait, it actually started the build!  I missed that part yesterday.
> What exactly is the problem? The du commands?  The build shouldn't stop
> because of that, did it stop, or did you stop it?  Anyway, the du errors
> are harmless, but the reason is that the lfs user (just created) does
> not have read access to those directories.  As for the 'Sorry, try
> again' errors...What happens if you do 'sudo useradd lfs'?  Assuming
> those were errors and not that I just misinterpreted the problem, is SE
> enabled?  I haven't heard of SE causing problems yet, but I'd disable or
> at least set to permissive.
>
DJ...it just stops

Here is the text of the run

Downloading the lfs document, 6.3 version... done
 Document version <6.3>
------------------------------------------------------------------------------

Creating Makefile... START
        Processing... <Chapter4     ( SETUP ) >
        Processing... <Chapter5     ( LUSER ) >
(Continue reading)

Trent Shea | 6 Jan 04:51 2009
Picon

Re: jhalfs issue with permissions

On January 5, 2009 07:38:15 pm Ralph Porter wrote:
>  Building target 029-gcc-pass1
>  [+|du: cannot read directory `/mnt/lfs/.Trash-root': Permission denied1
> sec du: cannot read directory `/mnt/lfs/.Trash-rporter': Permission denied
>
> FROM HERE IT JUST SPINS AT THE PROMPT
>
> i have to ctrl-c to stop the script

Those .Trash folders look like they may be from the desktop environment. You 
may want to try altering their permissions so that all users can read them.

Trent.
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Gmane