Re: [lfs-support] Cross-compiling in Ch6

2017-09-02 Thread akhiezer
> From: Paul Rogers 
> Date: Fri, 01 Sep 2017 09:04:36 -0700
>
> Being able to use my (now old) i7 to build (B)LFS has made this much
> faster, but seems to have tripped me up.  I was trying to build an i686
> LFS, and thought it was enough to use an older i686-made OS and
> toolchain.  Works on Conroe targets, but when I actually tried a
> Pentium-3 the kernel panicked, and when trying to rebuild the kernel
> with a chroot from a real i686 OS and toolchain, make kept segfaulting.
>
> In spite of my package management wrappers, I always have followed the
> book closely, but the book presumes one will run on the same system, not
> a lower-grade member of the family.  I'm guessing I'll need to use
> --host=i686-pc-linux-gnu throughout Ch6, and perhaps even a similar
> --target for binutils, GMP, MPFR, MPC, & gcc?  Is that right?
>


clfs.org



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Testing toolchain after first pass

2017-06-21 Thread akhiezer
> Date: Wed, 21 Jun 2017 18:49:11 -0400
> From: "Isaac D. Cohen" 
>
> I'm up to the end of section 5.7.1 and everything compiled
> successfully. The book now says to do a "sanity check" to see if all
> is working out. It doesn't say in what directory to do it, but I
> figured it must mean /tools/bin. So I went to /tools/bin and tried
> compiling the test file (dummy.c) and it failed with the following
> error:
>
>
> /media/isaac/LFS/Programs/Compiler/bin/../lib/gcc/x86_64-lfs-linux-
> gnu/6.3.0/../../../../x86_64-lfs-linux-gnu/bin/ld: cannot find 
> crt1.o: No such file or directory
> /media/isaac/LFS/Programs/Compiler/bin/../lib/gcc/x86_64-lfs-linux-
> gnu/6.3.0/../../../../x86_64-lfs-linux-gnu/bin/ld: cannot find 
> crti.o: No such file or directory
> /media/isaac/LFS/Programs/Compiler/bin/../lib/gcc/x86_64-lfs-linux-
> gnu/6.3.0/../../../../x86_64-lfs-linux-gnu/bin/ld: cannot find 
> /tools/lib/libc.so.6 inside /media/isaac/LFS
> /media/isaac/LFS/Programs/Compiler/bin/../lib/gcc/x86_64-lfs-linux-
> gnu/6.3.0/../../../../x86_64-lfs-linux-gnu/bin/ld: cannot find 
> /tools/lib/libc_nonshared.a inside /media/isaac/LFS
> /media/isaac/LFS/Programs/Compiler/bin/../lib/gcc/x86_64-lfs-linux-
> gnu/6.3.0/../../../../x86_64-lfs-linux-gnu/bin/ld: cannot find 
> /tools/lib/ld-linux-x86-64.so.2 inside /media/isaac/LFS
> collect2: error: ld returned 1 exit status
>
>
> Btw /tools is a symbolic link to /media/isaac/LFS/Programs/Compiler.
> I'm not sure if this is really a problem or did I just do the test
> in the wrong directory. If it is a real problem what does it mean?
>


Deviations from the book to the extent that you have thus far exhibited,
are often a sign of trolling.



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] gcc error cannot compute suffix of files

2017-06-12 Thread akhiezer
> Date: Sun, 11 Jun 2017 17:24:59 -0400
> From: "Isaac D. Cohen" 
>
> Hi,
>
> While compiling GCC on the first pass I got the following error:
>
> checking for suffix of object files... configure: error: in
>  `/media/isaac/LFS/Source_Code/build-gcc/i686-elf/libgcc':
> configure: error: cannot compute suffix of object files: cannot
>  compile
> See `config.log' for more details.
> Makefile:12212: recipe for target 'configure-target-libgcc' failed
>
> As the books says I used GCC 6.3.0 this time. I ran the
> download_prerequisites script after unpacking the zipped folder.



Why run that script: it's not in the book instructions; try just
following the book instructions - they're known to work.


> So I
> have the correct versions of GMP, MPC and MPFR.


The book already is known to have the correct versions. If you follow
the book (properly), then there is no need to run such a script as
'download_prerequisites': you should already have everything in place,
via book instructions.


> What can be the
> problem?


Running 'download_prerequisites' : has it ballsed-up the by-the-book
working environment?


> In the FAQ (https://gcc.gnu.org/wiki/FAQ#configure_suffix)
> it says an error like mine can either result from not running the
> download_prerequisites script, or from a bug in the compiler. My
> system compiler is gcc-5.4.0 and Imy system binutils is version 2.28.
> Can that be the problem? Or is there another reason it might happen
> on LFS?
>
> Thank you very much,
> Isaac D. Cohen
>



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Where Do I Go From Here on Booting systemd Development?

2017-05-18 Thread akhiezer
> From: Alan Feuerbacher 
> Date: Wed, 17 May 2017 23:09:59 -0600
>
> On 5/17/2017 10:29 PM, Ken Moffat wrote:
[...]
>
> I'm using LVM and LABEL/UUID (experimenting).
>
[...]
> > But
> > can I suggest that you try breaking the problem into smaller parts ?


+1 .


> > 
> > 1. Enough of a kernel (filesystem, disk driver(s)) to be able to
> > boot to runlevel 3 on the current system.
> > 
> > 2. Once that works (maybe there are other problems in your build -
> > anything is possible), adjust the kernel config for the current
> > machine so that it can run Xorg (the various kernel graphics
> > drivers) if you wish to do that, similarly sound, working USB ports
> > of the various flavours.
> > 
> > 3. Using an initrd.
>
> Sounds like a plan. Can you point to any reading material to allow me to 
> do step 1. without running into the LVM issue mentioned above, with 
> respect to "About initramfs"?


From your starting point, you're trying to do too many steps in the
one go.


Get systemd booting, _without_ LVM, LABEL/UUID in fstab, (net-booting),
(nfs/network-filesys), networking (other than lo), initramfs, Xorg,
... 


And then, and only then, start adding things from that list, probably
1 at a time, given your starting point here.


Does LFS syd (sysd/systemd) by-the-book work ok for you? I'd suggest
that be your primary ref for reading.



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Where Do I Go From Here on Booting systemd Development?

2017-05-18 Thread akhiezer
> From: Alan Feuerbacher 
> Date: Wed, 17 May 2017 23:09:59 -0600
>
> On 5/17/2017 10:29 PM, Ken Moffat wrote:
[...]
> > [...]  And I know nothing about Rod, or his books.


'Get over yerself, mate'?

rodsbooks.com - esp well-known for gpt/uefi/... works.



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] [blfs-support] LFS on Windows

2017-05-16 Thread akhiezer
> From: Richard Melville <6tric...@gmail.com>
> Date: Tue, 16 May 2017 16:18:19 +0100
>
> n 16 May 2017 at 15:44, akhiezer <lf...@cruziero.com> wrote:
>
> > > From: Richard Melville <6tric...@gmail.com>
> > > Date: Tue, 16 May 2017 13:19:19 +0100
[...]
> > > denied that the use of proprietary software is the major issue.  A
> > > colleague told me recently that his University had bought a proprietary
> > > database which, on installation, didn't function as expected.  When the
> > > University pointed this out to the software company it was told that no
> > > other customer had that issue, and if changes were made it would cost a
> > > great deal more money.  Again, vendor lock-in at work.  Apparently, the
> > > University is no longer in the market for proprietary software.
> >
> >
> >   s/University/'University'/g
> >
>
> Why? I could understand if you were being critical of the capital "U".
>


(It was a _tiny _attempted _quip - ie, so-called 'University' - ie,
such dumb practices being not consistent with being a _real
University. IOW, such dmbfkcs having no place in a proper univ. )


>
[...]
> >



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] [blfs-support] LFS on Windows

2017-05-16 Thread akhiezer
> From: Richard Melville <6tric...@gmail.com>
> Date: Tue, 16 May 2017 13:19:19 +0100
>
>
> On 16 May 2017 at 11:57, Simon Geard  wrote:
>
> > On Tue, 2017-05-16 at 11:03 +0100, Richard Melville wrote:
[...]
> Maybe so, but the problem still returns to the use of proprietary software
> in the first place.
>
[...]
> It certainly is a problem that has built up over many years, and, in the
> short term, there appears to be no easy answer.  However, it cannot be
> denied that the use of proprietary software is the major issue.  A
> colleague told me recently that his University had bought a proprietary
> database which, on installation, didn't function as expected.  When the
> University pointed this out to the software company it was told that no
> other customer had that issue, and if changes were made it would cost a
> great deal more money.  Again, vendor lock-in at work.  Apparently, the
> University is no longer in the market for proprietary software.


  s/University/'University'/g


>
> Only free and open source software can provide value.  Having attended the
> Cabinet Office on a number of occasions I can say that even our Government
> is finally coming round to that realisation.  Microsoft Office is now being
> systematically replaced with LibreOffice within Government.


(I recall the rather pleasant surprise on seeing, then learning more
details about, PC World using openoffice (istr not staroffice) way back
in the early 2000's, on their staff PCs (back office & front-of-house).)


>
> [...] if the source code is open at
> least there's a chance that patches can be created to bring it up to date,
> or even a new program written.  The market (and software) needs to be open,
> not closed off in a proprietary manner, [...]



 - open hardware too, o/c (risc-v ). (& readily-attainable, & for >>
short-term).

(There's a project here to build clfs-embedded on risc-v hardware; &
incorp into book release if pssbl.)



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] [blfs-support] LFS on Windows

2017-05-16 Thread akhiezer
> From: Simon Geard 
> Date: Tue, 16 May 2017 22:57:04 +1200
>
> On Tue, 2017-05-16 at 11:03 +0100, Richard Melville wrote:
[...]
>
> > Recently, I saw Windows XP on a consultants terminal at a local 
> > hospital.  When I expressed my concern, and disbelief, he just threw 
> > up his hands in a helpless manner and said that that was what he was 
> > stuck with.  Now we've seen the results of that folly.
>
> My understanding is that that has little to do with Windows, and more
> to do with the nature of the healthcare IT industry - lots of small
> companies that sell something useful, but go out of business quite
> quickly due to an inability to make money out of it. As such, hospitals
> are full of unsupported old software - often tied to specialised
> hardware - that can't easily be made to work on a newer OS.
>
> If the same companies released software for Linux, they'd be in the
> same position... a binary-only solution that only works with a specific
> RedHat version dating to 2005 or so.
>


(There are ms-based softwares that have worked for 20+ years, and
companies still making good money from them, with v.little/minimal u/g
hassle, because there was/is throughout enough foresight to only use
core facilities of the os.)



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] :

2017-05-11 Thread akhiezer
> From: Bruce Dubbs 
> Date: Wed, 10 May 2017 21:00:38 -0500
>
> Ken Moffat wrote:
> > Since when has anybody purporting to be Cliff sent mail from
> > nlvz.yandex.ru ?  Bloody impersonators.  I expect they'll try to
> > claim to be me next.
>
> I suspect a hacked box but I'm not sure.  I've blocked that user.
>


 - not the first time that that email-address has appeared in such
spamming.



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Using an SSD with LFS

2017-04-29 Thread akhiezer
> Date: Sat, 29 Apr 2017 07:32:00 +0100
> From: lf...@cruziero.com (akhiezer)
>
> > Date: Fri, 28 Apr 2017 23:57:11 -0400
> > From: Michael Shell <li...@michaelshell.org>
> >
> > On Sat, 29 Apr 2017 00:29:00 +0100
> > Ken Moffat <zarniwh...@ntlworld.com> wrote:
> >
> > > Thanks to both of you for this thread - I had assumed that only
> > > DataCenter-grade products (as in "unaffordable") were nvme, and those
> > > (of course) have ridiculous prices.
> >
> >
> > Bearing in mind that I haven't played with SSD's (yet), but looking
> > around the web I found this:
> >
> > https://www.newegg.com/Product/Product.aspx?Item=N82E16820236156
> >
> > Corsair Force MP500 M.2 2280 120GB, M.2 2280, PCI-Express 3.0 x4,
> > for $85 (they do have larger versions). Pulls < 5 Watts so it should
> > run cool.
> >
> > And also:
> >
> > https://www.newegg.com/Product/Product.aspx?Item=N82E16815124167_re=PCIe_M.2_adapter-_-15-124-167-_-Product
> >
> > a Syba SI-PEX40110 M.2 PCI-e SSD to PCI-e bus adapter card.
> > Will work with PCI-e versions below 3.0, although with some speed loss.
> > From the reviews, it seems that the integrated M.2 slot on some
> > motherboards is not as fast as it could be (800Mb/s read versus
> > 3072Mb/s with the card) and so this $15 card can greatly speed things
> > up in those cases as well as keep the SSD cooler if the motherboard's
> > M.2 slot is close to the graphics card, CPU, etc.
> >
>
>
> (yikes...) where to begin ...
>
> * there's also many reports of m.2 boards heating up too much - and
>   throttling performance back down - when in a pci-e mount-card.
>
> * corsair ... borderline already; but compound it w/ lesser-reputation
>   syba; not good.
>
> * samsung evo 850 sata III 500g ssd will serve very well.
>
> * (consumer-reach) nvme stuff still (imho) has too many ifs'n'buts and
>   not- clear-cut-enough advantages, to be worth paying anything like a
>   premium for - whether in terms of cash or time 


 - ie the consumer-reach/lower-end, for nvme/pcie-addins/m2, is still
quite rough-terrain: the bumps are not nearly as smoothed-out as for
the sata drives.


>
> * anandtech reviews of the samsung 9xx & 8xx nvme/ssd products, are a


s/ssd/sata/ - ie re the _interface_ .


>   good solid base for starting-off on spec/purchasing decisions.
>
> * 
>



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Using an SSD with LFS

2017-04-29 Thread akhiezer
> Date: Fri, 28 Apr 2017 23:57:11 -0400
> From: Michael Shell 
>
> On Sat, 29 Apr 2017 00:29:00 +0100
> Ken Moffat  wrote:
>
> > Thanks to both of you for this thread - I had assumed that only
> > DataCenter-grade products (as in "unaffordable") were nvme, and those
> > (of course) have ridiculous prices.
>
>
> Bearing in mind that I haven't played with SSD's (yet), but looking
> around the web I found this:
>
> https://www.newegg.com/Product/Product.aspx?Item=N82E16820236156
>
> Corsair Force MP500 M.2 2280 120GB, M.2 2280, PCI-Express 3.0 x4,
> for $85 (they do have larger versions). Pulls < 5 Watts so it should
> run cool.
>
> And also:
>
> https://www.newegg.com/Product/Product.aspx?Item=N82E16815124167_re=PCIe_M.2_adapter-_-15-124-167-_-Product
>
> a Syba SI-PEX40110 M.2 PCI-e SSD to PCI-e bus adapter card.
> Will work with PCI-e versions below 3.0, although with some speed loss.
> From the reviews, it seems that the integrated M.2 slot on some
> motherboards is not as fast as it could be (800Mb/s read versus
> 3072Mb/s with the card) and so this $15 card can greatly speed things
> up in those cases as well as keep the SSD cooler if the motherboard's
> M.2 slot is close to the graphics card, CPU, etc.
>


(yikes...) where to begin ...

* there's also many reports of m.2 boards heating up too much - and
  throttling performance back down - when in a pci-e mount-card.

* corsair ... borderline already; but compound it w/ lesser-reputation
  syba; not good.

* samsung evo 850 sata III 500g ssd will serve very well.

* (consumer-reach) nvme stuff still (imho) has too many ifs'n'buts and
  not- clear-cut-enough advantages, to be worth paying anything like a
  premium for - whether in terms of cash or time 

* anandtech reviews of the samsung 9xx & 8xx nvme/ssd products, are a
  good solid base for starting-off on spec/purchasing decisions.

* 



hth,
akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS Installation on Latest Hardware

2017-04-26 Thread akhiezer
> From: Alan Feuerbacher 
> Date: Tue, 25 Apr 2017 11:35:37 -0600
>
> On 4/25/2017 7:24 AM, Wayne Blaszczyk wrote:
> > On Sun, 2017-04-23 at 16:07 -0600, Alan Feuerbacher wrote:
[...]
> I had a similar experience last time I tried this 2 1/2 years ago. But I 
> had so much trouble with booting on a UEFI system that I lost interest 
> until now.
>
> > As Bruce mentioned, disable the secure boot which meant I had to remove the 
> > PK key. (Not sure how Windows will cope)
> > At some stage I'll look at enabling this with my own private keys. (I've 
> > successfully managed to this under a VM.)
>
> So you're trying to dual boot with Windows?


((
 - more like 'duel boot'.

And as usual, best o/c to isolate win(/mac/) stuff as much as possible.
))


>
[...]
>



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Chapter 5's tar bug

2017-04-26 Thread akhiezer
> From: Bruce Dubbs 
> Date: Tue, 25 Apr 2017 19:02:47 -0500
>
> > Paul Rogers wrote:
[...]
>
> Since you are doing something beyond the book, why don't you create the 
> tarball with the host system?  There is really no need to do that inside 
> chroot.


Maybe do also (if not already): a destdir install of tar 1.29 in host
system; and see if that works ok in place of your new-lfs tar-1.29, for
the ch.5 task where you are seeing the failure with ch.5-lfs-tar-1.29  .


>
[...]
>



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] What is the best way to backup whole lfs system?

2016-12-31 Thread akhiezer
> From: ssmtpmailtesting ssmtpmailtesting 
> Date: Sat, 31 Dec 2016 19:27:07 +0600
> Subject: [lfs-support] What is the best way to backup whole lfs system?
>
> I did this: cp -arf /mnt/lfs /media/sda7


 '-a' includes '-r'  .


>
> Is it ok? Or should I use other tool to backup whole system?


Generally:
==
* try to avoid 'needing' to use '-f' (or '--backup=...' or '-i') here:
  instead, try to copy to an empty target area.


* if you have more than one source partition to backup, and you want
  to retain that 'more-than-one-partition' structure, then look at the
  '-x' option for 'cp', or use the 'dd' command.

  You'd do 'cp -ax src-partition-N tgt-area-N' (or 'dd ...') once for
  each value of N, ie for each partition to be backed-up.

  It's ok to omit the '-x' and just use 'cp -a ...': but you'll lose the
  'more-than-one-(separate-)partition' structure.


* if you want the backed-up stuff to be in a ready-to-boot state,
  then you'd likely need to mark the backup-of-'/mnt/lfs' as bootable
  in partition table; and adjust grub/fstab .
==



hth,
akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] How can I remove linux kernel-4.7.2 from lfs completely?

2016-12-31 Thread akhiezer
> From: ssmtpmailtesting ssmtpmailtesting 
> Date: Sat, 31 Dec 2016 15:17:52 +0600
> Subject: [lfs-support] How can I remove linux kernel-4.7.2 from lfs
>   completely?
>
> I've installed this:
> http://www.linuxfromscratch.org/lfs/view/stable/chapter08/kernel.html
>
> Now I want to remove/delete this kernel and it's all modules and related
> files from system completely. How can I do this?


Be careful about possibly removing stuff that is needed for booting the
system: you 'need' to have at least one verified-ok means of booting
the system.


For removal as asked:
--
* ref the above lfs url: **BUT** again, be careful; e.g. you normally
  don't want to just remove the '/lib/modules' path.

* ref 'Documentation/kbuild/' files in kernel source tree; usually also
  installed in '/usr/src/linux/Documentation/kbuild/' in live-os.
  Those (few) files give info on the vars (incl default vals) that
  control install locations/ for the various files/ that get installed.
--


>
> I've deleted /source/linux-4.7.2 after installation.



hth,
akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Is the style of kernel booting message correct?

2016-12-31 Thread akhiezer
> From: ssmtpmailtesting ssmtpmailtesting 
> Date: Sat, 31 Dec 2016 12:29:38 +0600
> Subject: [lfs-support] Is the style of kernel booting message correct?
>
> After booting the kernel successfully, the init scripts start running.
> Everything works well.
>
> I see messages like this:
>
> * Starting network   [ok]
> * Starting other service[ok]
>
> The [ok] is at the right side.
>
> Is this the correct style of message? Is this style set by sysvinit? Or is
> it set by lfs bootscripts? Or is it set by kernel by default?
>
> I think, debian system has systemd instead of sysvinit. When I boot debian
> system I see the style in this way:
>
> [OK] Started network
> [OK] Started other service
>
> The [OK] is at the left side.
>
> Which program sets the style of these messages? One sets [OK] at left and
> another sets [ok] at right.


grep -ir OK /etc/init.d/ /etc/rc.d/ # or just '-r' .



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Can't login after boot, typing keyboard doesn't display any character on console, why?

2016-12-30 Thread akhiezer
> From: ssmtpmailtesting ssmtpmailtesting 
> Date: Fri, 30 Dec 2016 10:02:07 +0600
> Subject: Re: [lfs-support] Can't login after boot,
>  typing keyboard doesn't display any character on console, why?
>
> cat /etc/inittab
> # Begin /etc/inittab
>
> id:3:initdefault:
>
> si::sysinit:/etc/rc.d/init.d/rc S
>
> l0:0:wait:/etc/rc.d/init.d/rc 0
> l1:S1:wait:/etc/rc.d/init.d/rc 1
> l2:2:wait:/etc/rc.d/init.d/rc 2
> l3:3:wait:/etc/rc.d/init.d/rc 3
> l4:4:wait:/etc/rc.d/init.d/rc 4
> l5:5:wait:/etc/rc.d/init.d/rc 5
> l6:6:wait:/etc/rc.d/init.d/rc 6
>
> ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
>
> su:S016:once:/sbin/sulogin
>
> 1:2345:respawn:/sbin/agetty --noclear tty1 9600
> 2:2345:respawn:/sbin/agetty tty2 9600
> 3:2345:respawn:/sbin/agetty tty3 9600
> 4:2345:respawn:/sbin/agetty tty4 9600
> 5:2345:respawn:/sbin/agetty tty5 9600
> 6:2345:respawn:/sbin/agetty tty6 9600
>
> # End /etc/inittab
>
> There is no /etc/rc.d folder though. After booting the kernel it says:
> there is no /etc/rc.d/init.d/rc


Guess where in the book does '/etc/rc.d' & contents get installed. Clue:
'http://www.linuxfromscratch.org/lfs/view/stable/chapter07/bootscripts.html'  .


>
> On Fri, Dec 30, 2016 at 9:57 AM, ssmtpmailtesting ssmtpmailtesting <
> ssmtpmailtest...@gmail.com> wrote:
>
> > I looks, kernel is booting well. Mounted rootfs(ext4). I got the login
> > prompt as: (none) login: , if I type username there, characters are not
> > displayed there. It's not doing anything from there. I think, system is
> > freezed.
> >
> > cat /etc/sysconfig/console:
> > KEYMAP="us"
> > FONT="lat1-16 -m 8859-1"
> >
> > I didn't install this: http://www.linuxfromscratch.
> > org/lfs/view/stable/chapter07/bootscripts.html
> >
> > cat /etc/sysconfig/ifconfig.eth0
> >
> > ONBOOT=yes
> > IFACE=eth0
> > SERVICE=ipv4-static
> > IP=192.168.1.2
> > GATEWAY=192.168.1.1
> > PREFIX=24
> > BROADCAST=192.168.1.255
> >
> > (none) login: prompt was before. I was able to login before without
> > installing lfs bootscripts. But I recompiled the kernel, then tried again
> > to change the (none) login: to mybox login: prompt. Now can't type anything
> > and can't login.
> >
> > cat /etc/hostname
> > mybox
> >
> > What can be the problem? What should I do?
> >



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] How can I install binutils and gcc with one pass to build temporary system?

2016-12-28 Thread akhiezer
> From: ssmtpmailtesting ssmtpmailtesting 
> Date: Wed, 28 Dec 2016 07:03:20 +0600
> Subject: Re: [lfs-support] How can I install binutils and gcc with one pass
>  to build temporary system?
>
> http://www.linuxfromscratch.org/lfs/view/stable/chapter05/
> binutils-pass2.html ,  http://www.linuxfromscratch.
> org/lfs/view/stable/chapter05/glibc.html
>
> Why didn't they use  --with-sysroot=$LFS and --target=$LFS_TGT in pass 2
> there?
> Can we call the pass2 of binutils and gcc as cross compilation?
> When do we need cross linker and cross compiler?


It may be useful for such questions (incl. initial query
per current subject-line) to compare'n'contrast with a clfs
build sequence - e.g. ch.4 of the clfs->embedded->arm book (
http://clfs.org/view/clfs-embedded/arm/index.html ) .



hth,
akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Why are /usr/bin, /usr/sbin, /sbin in chroot command?

2016-12-28 Thread akhiezer
> From: ssmtpmailtesting ssmtpmailtesting 
> Date: Wed, 28 Dec 2016 07:13:56 +0600
> Subject: [lfs-support] Why are /usr/bin, /usr/sbin, /sbin in chroot command?
>
> http://www.linuxfromscratch.org/lfs/view/stable/chapter06/chroot.html
>
> chroot "$LFS" /tools/bin/env -i \
> HOME=/root  \
> TERM="$TERM"\
> PS1='\u:\w\$ '  \
> PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
> /tools/bin/bash --login +h
>
> Why are /usr/bin, /usr/sbin, /sbin, /bin in chroot command? Aren't these
> directories empty after completing temporary system? Aren't all packages
> installed in /tools/bin not in /bin, /usr/bin, /usr/sbin, /sbin?


Why not - if not already - follow the book past (& indeed up to &
including) that point; think, observe, keep your question in mind,
and see if it gets addressed satisfactorily in due course.


And similarly in general (at least): for the first 1/2/.../few builds of
the book, do it manually, and follow the book carefully; and >= many/most
queries (that are likely to be had early-on) are likely to be addressed
at least substantially; and then one is more likely to have a better
understanding of the why/why-not.



hth,
akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Error systemd

2016-12-06 Thread akhiezer
> From: Frans de Boer 
> Date: Tue, 6 Dec 2016 22:46:02 +0100
> Subject: [lfs-support] Error systemd
>
> While building systemd-232, I encounter the next errors during installing:
>
> mv: cannot stat '/usr/lib/libnss_myhostname.so.2': No such file or directory
> mv: cannot stat '/usr/lib/libnss_mymachines.so.2': No such file or directory
> mv: cannot stat '/usr/lib/libnss_resolve.so.2': No such file or directory
> root:/sources-lfs# find / -iname libnss_resolve.so.2
> /lib/libnss_resolve.so.2
>
> As one can see, the libraries are not in /usr/lib, rather they are in 
> /lib. Has this been overlooked or am I the only one? In which case I 
> have to hunt deeper.
>


Perhaps it's assuming that /usr/lib is/will-be/"should"-be a symlnk to /lib ?



rgds,
akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] how to test rw/ro/ of a file [Was: "I don't need to know"]

2016-11-11 Thread akhiezer
> Date: Fri, 11 Nov 2016 09:09:02 +
> From: lf...@cruziero.com (akhiezer)
> Subject: Re: [lfs-support] how to test rw/ro/ of a file [Was: "I don't
>  need to know"]
>
> > From: Paul Rogers <paulgrog...@fastmail.fm>
> > Date: Thu, 10 Nov 2016 17:29:56 -0800
> > Subject: [lfs-support] how to test rw/ro/ of a file [Was: "I don't need to
> > know"]
> >
> > > $ help test
> > >   .
> > >   .
> > >  -w [...]
> > >   .   # 
> > >   .
> > >$
> > >
> > > ?
> >
> > Didn't work for me.  Tried it first, and apparently all the bash test
> > uses is the permissions.  
> >
>
>
> Does 'mount -l [...]' give you accurate info?
>


Or, you might just try a write, to see if the fs is read-only or read-write:

Slackware 13.37
sl1337:/etc/rc.d/rc.S
==
Early in boot, & prior to any remount rw:
==
.
.
# Test to see if the root partition is read-only, like it ought to be.
READWRITE=no

if touch /fsrwtestfile 2>/dev/null; then

  rm -f /fsrwtestfile   

  READWRITE=yes 

else

  echo "Testing root filesystem status:  read-only filesystem"  

fi  

.
.




akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] how to test rw/ro/ of a file [Was: "I don't need to know"]

2016-11-11 Thread akhiezer
> From: Paul Rogers 
> Date: Thu, 10 Nov 2016 17:29:56 -0800
> Subject: [lfs-support] how to test rw/ro/ of a file [Was: "I don't need to
>   know"]
>
> > $ help test
> > .
> > .
> >  -w [...]
> > .   # 
> > .
> >$
> >
> > ?
>
> Didn't work for me.  Tried it first, and apparently all the bash test
> uses is the permissions.  
>


Does 'mount -l [...]' give you accurate info?



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] how to test rw/ro/ of a file [Was: "I don't need to know"]

2016-11-10 Thread akhiezer
> From: Paul Rogers 
> Date: Thu, 10 Nov 2016 10:48:38 -0800
> Subject: [lfs-support] "I don't need to know"
>
> I want to write to a file on a device that may be mounted RO or RW.
> If it's RO, fine but I don't need to know, just drop it.  The error
> appearing on the console can't be redirected to /dev/null--that'd
> be too easy!
>
> /proc/mounts always claims it's RW!  /proc/1/mounts does seem to switch
> between RO, RW, RO, but that seems pretty invasive, somewhere I
> shouldn't ought to be looking, and it gets a little complex to parse.
> (Yes, it's the root device.)
>
> I've tried to drop the console log level down to KERN_CRIT just before I
> do.  I suppose I could try ALERT or EMERG, but there's got to be a
> better simple way!
>
> Anybody know, or got a good idea?


$ help test
.
.
  -w [...]
.   # 
.
$

 ?



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] gcc 4.1.2 when make bootstrap

2016-10-10 Thread akhiezer
> From lfs-support-boun...@lists.linuxfromscratch.org Tue Oct 11 02:16:53 2016
> Date: Tue, 11 Oct 2016 09:37:19 +0800 (GMT+08:00)
> From: chenyiwei02 
> To: "lfs-support@lists.linuxfromscratch.org"
>  
> Subject: Re: [lfs-support] gcc 4.1.2 when make bootstrap
>
>
>
> I am sorry for I donot use the Re: before.
> And thanks for your answer.But, what should I do without using OS released  
> around 2008,to achieve it use LFS6.3 .


There appears to be a Chineses translation of 7.7-systemd - ref:

  http://www.linuxfromscratch.org/lfs/read.html
  https://linux.cn/lfs/LFS-BOOK-7.7-systemd/
  http://lctt.github.io/


Also, if you've read 6.8 , then a later book (in English) may still
be understandable ok: the basic principles are still much the same.



hth,

akh




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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] B- and LFS Roadmap

2016-10-10 Thread akhiezer
> From: "Rob" 
> Date: Mon, 10 Oct 2016 10:49:10 -0500
> Subject: [lfs-support] B- and LFS  Roadmap
>
> Do we have something like a milestone tracker that shows the
> status/progress of B and LFS development?
>

Yes: ref b/lfs sections of website; u want to arrive at respective 'trac' 
areas.



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] p.s. -- Re: [OT] Post questions that do not rely completely on the book

2016-09-30 Thread akhiezer
> From: Michele Bucca <michele.bu...@gmail.com>
> Date: Fri, 30 Sep 2016 12:40:08 +
> Subject: Re: [lfs-support] p.s. -- Re: [OT] Post questions that do not rely
>  completely on the book
>
> Il 30 set 2016 1:54 PM, "akhiezer" <lf...@cruziero.com> ha scritto:
> >
> > > Date: Fri, 30 Sep 2016 12:24:50 +0100
> > > From: lf...@cruziero.com (akhiezer)
> > > Subject: Re: [lfs-support] [OT] Post questions that do not rely
> completely
> > >  on the book
> > >
> > .
> > .
> > >
> > > > and here's my question. is there a way to build a LFS system using
> busybox,
> > > > e2fs-utils, glibc instead of the full blown standard linux utilities?
> I
> > > > would like to build a sort of clone of tinycorelinux for the sake of
> > > > learning after I finish my LFS.
> > > >
> > > > http://tinycorelinux.net/
> > > >
> > > > I could manage to build the cli system on my own. I already did it
> once, I
> > > > connected it to the Internet and sent a ping to google. But how do I
> get a
> > > > vesa Xserver with a WM running? How do I install a gcc toolchain to
> compile
> > > > new software?
> > >
> > >
> > > * clfs.org - incl 'embedded' book (& incl the ref to 'barebox'
> bootloader).
> > > * 'sabotage linux'
> > > * 'alpine linux'
> > > * 'void linux'
> > > * elinux.org
> > > * 'yocto'
> > > * 'buildtools'
> > > * 
> >
> >
> >  - meant to add:
> > ---
> > * igor-zivkovic.from.hr/LFS
> > * igor-zivkovic.from.hr/BLFS
> > ---
> >
> >
> Where did you find them? who made them? it's different from the original.
> Nice :)


Igor (Zivkovic) works also on 'mainline' b/lfs - ref
e.g. changelogs/trac/list-archives.


How found: iirc, was investig some (other) part of some code-repo (&
iirc not nec github), saw the name 'in passing', recognised it (~obv),
had a look, & there it was - links to the materials.



rgds,
akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] p.s. -- Re: [OT] Post questions that do not rely completely on the book

2016-09-30 Thread akhiezer
> Date: Fri, 30 Sep 2016 12:24:50 +0100
> From: lf...@cruziero.com (akhiezer)
> Subject: Re: [lfs-support] [OT] Post questions that do not rely completely
>  on the book
>
.
.
>
> > and here's my question. is there a way to build a LFS system using busybox,
> > e2fs-utils, glibc instead of the full blown standard linux utilities? I
> > would like to build a sort of clone of tinycorelinux for the sake of
> > learning after I finish my LFS.
> >
> > http://tinycorelinux.net/
> >
> > I could manage to build the cli system on my own. I already did it once, I
> > connected it to the Internet and sent a ping to google. But how do I get a
> > vesa Xserver with a WM running? How do I install a gcc toolchain to compile
> > new software?
>
>
> * clfs.org - incl 'embedded' book (& incl the ref to 'barebox' bootloader).
> * 'sabotage linux'
> * 'alpine linux'
> * 'void linux'
> * elinux.org
> * 'yocto'
> * 'buildtools'
> * 


 - meant to add:
---
* igor-zivkovic.from.hr/LFS
* igor-zivkovic.from.hr/BLFS
---



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] [OT] Post questions that do not rely completely on the book

2016-09-30 Thread akhiezer
> From: Michele Bucca 
> Date: Fri, 30 Sep 2016 10:30:57 +
> Subject: [lfs-support] [OT] Post questions that do not rely completely on
>   the book
>
> I was wondering where i could ask some questions that are not covered in
> lfs or blfs. for example:
>
> - suggestions to improve the toolchain (adding a text editor and less can
> really savs lifes if you want to read the logs, edit a simple script with a
> typo that was created with cat > file.txt << "EOF"


lfs-dev .


>
> - how to make a livecd with LFS? (found a hint on the website)
>


Ref recent-ish thread(s) - up to a month or so back.

Also ref other distros' methods - e.g. Eric Hameleers' work on Slackware livecd.


> and here's my question. is there a way to build a LFS system using busybox,
> e2fs-utils, glibc instead of the full blown standard linux utilities? I
> would like to build a sort of clone of tinycorelinux for the sake of
> learning after I finish my LFS.
>
> http://tinycorelinux.net/
>
> I could manage to build the cli system on my own. I already did it once, I
> connected it to the Internet and sent a ping to google. But how do I get a
> vesa Xserver with a WM running? How do I install a gcc toolchain to compile
> new software?


* clfs.org - incl 'embedded' book (& incl the ref to 'barebox' bootloader).
* 'sabotage linux'
* 'alpine linux'
* 'void linux'
* elinux.org
* 'yocto'
* 'buildtools'
* 



hth,

akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Force i386

2016-09-05 Thread akhiezer
> From: "Rob" 
> Date: Mon, 05 Sep 2016 06:02:20 -0500
> Subject: Re: [lfs-support] Force i386
>
> Ken Moffat  wrote:
> > Building LFS for the first time is hard. Many people have trouble.
> > And multilib is harder still (or perhaps just "more tedious", but
> > "harder" is probably a better starting assumption).
>
> I wouldn't say harder but tedious definitely. There aren't a lot of 
> instructions out there, either. The stuff I found says things like, enable 
> multilib repository in xx distribution; or edit your apt sources and install 
> these packages. Nothing about enabling a multilib toolchain from source. I'm 
> beginning to think I'll have to read C programming books to figure everything 
> out.
>


Slackware's multilib acknowledges 'Slamd64' and 'CLFS' as the two
principal references used:
http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:multilib  .


> > Cross-lfs may well be using older packages than LFS - they have even
> > fewer developers and builders than we do - but to suggest they are
> > "a few years behind" is an overstatement.  
>
> Well it's using kernel 3.14. We're at kernel 4.7.2. I am not sure about the 
> security risks of running such old stuff. The copyright date is 2014. That's 
> what I meant by a few years behind.
>


You can usually drop-in a newer kernel no-probs.


>
> > My suggestion to Rob is that he should build LFS, plus whichever
> > parts of BLFS are useful to him.  
>
> This is my third build of LFS/BLFS. The first two times, I built for i686. 
> This time, I wanted to build for x86_64, but still be able to run a couple of 
> i686 binaries and libes on there. Here is where I ran into problems, and 
> which is what prompted my questions.
> I eventually gave up trying to figure out the multilib/arch stuff, and 
> yesterday I just built LFS 7.10 on an i686 machine.


Another way is to run a 32-bit os as a vm.


> As I said earlier, I think I'll have to find a good C reference and try to 
> figure everything out. The problem I've found with that is a lot of C books 
> figure you already have everything installed already--all your toolchains and 
> stuff. So they don't talk about it.


Or just read gcc docs first.



rgds,
akh


p.s. pls wrap your lines to ca 74-80 chars' width.





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Can Regular Users Contribute?

2016-08-27 Thread akhiezer
(Top-posting as I gather that can be useful re accessibility stuff:
is that correct?)

I'd certainly be very interested in learning such info in practice.

Although the software side would be the main info, if possible could
there be some details on hardware that would be used typically.


akh


> From: "Rob" 
> Date: Sat, 27 Aug 2016 08:10:44 -0500
> Subject: [lfs-support] Can Regular Users Contribute?
>
> One of the things missing from the LFS book is the inclusion of accessibility 
> services, such as speakup and BRLTTY. Now these services aren't exactly 
> essential for most users, but for those with vision impairment, we need them 
> in order to use the basic system.
> These packages should be installed during chroot so that we could have speech 
> and braille after (and optionally during)  the boot process. I managed to do 
> this, but I thought it would be helfpul to include at least a page on the LFS 
> hints site; and a reference to such a page in the LFS book.
> What can I do to get such a thing published up there?




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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Grub failed me, my boot has sink

2016-06-30 Thread akhiezer

Top-posting for summary of current/latest understanding here:
--
* you used a debian to build lfs.

* I had assumed that the debian that was used to build lfs, was therefore
  the bare-metal OS on the computer. (That's mainly why 'the penny was
  slow to drop' here, that both the debian that was used to build lfs,
  and the lfs, really _are_ on virtual disks - despite your statement
  stating that they were, plus the fdisk/ outputs.)

* Therefore the question here now is - cf too Paul's note ~today on
  the thread:
- the computer that you've got debian/lfs work-area setup on:
** what is the bare-metal OS on that computer?
** ie, when you powered-on the computer immediately- pre- any
   work on lfs, what is the OS that is booted into: is it the 
   debian that you used to build lfs, or another debian, or 
   another linux (installed on disk), or linux live-cd, or 
   windows, or what?
--


> From: thibaut noah <thibaut.n...@gmail.com>
> Date: Thu, 30 Jun 2016 01:31:37 +0200
> Subject: Re: [lfs-support] Grub failed me, my boot has sink
>
.
.
> > [Ken]:
>
> you mean virtualbox right? i don't use qemu for this, virtualbox only see
> the disk i give to it so yes one disk.
>
> > And, nost importantly - what happens ?  "Does not boot" tells us
> > nothing.  Does grub report any error ?
>
> What i mean is virtualbox doesn't find anything to boot on, so no grub no
> anything, i don't have the exact message because i'm home
> but it's something like "no boot device detected"
>
.
.
>
>
> 2016-06-29 14:22 GMT+02:00 akhiezer <lf...@cruziero.com>:
> >
> > From this and what you say in other parts of the thread:
> > ==
> > * you have got only one _physical_ disk; is that correct?
> >
>
> Not at all, i don't have ANY Physical disk, i have two virtual disks (said
> it earlier) and what i do is creating another virtual machine with just the
> virtual drive of lfs


OK, understood now; cf top-post summary, above.


> and i want to boot like this.
>
> > * you want to boot directly from power-on thru bios/uefi, directly into
> >   lfs; is that correct?
>
> yes
>


Apols if am being dumb, but your two statements there, seem to be
contradictory:
--
* 'and i want to boot like this':
- machine powers-on,
- goes thru bios/uefi,
- starts _an OS_ (ref top-posted summary, above: which OS is that),
- then that os starts virtualbox,
- then you use that virtualbox to run the lfs instance.

* "you want to boot directly ...?" + 'yes':
- machine powers-on,
- goes thru bios/uefi,
- hits grub/ screen (no 'a.n.other os'/virtualbox/),
- boot lfs directly to lfs login prompt (again, 'a.n.other os'/
  virtualbox/).
--


> > ==
> >
> > Assuming 'yes' to both questions, then very likely:
> > --
> > * said bios/uefi will see the single disk as sda .
> >
> >
> I verified this by booting with the arch-live iso, disk is indeed seen as
> sda.
>
>
> > * said grub will need to know what are the _real_ partitions on sda that
> >   '/' and '/boot' are on.
> > --
> >
> >
> >
> Will run your command as soon as i arrive to work thanks.


The info is less-needed, if at all, if you really are wanting to
run/boot-into lfs only via virtualbox: I had gotten onto the 'booting
lfs as bare-metal os' track; whereas Bruce/Ken/ posts deal with the
virtualbox route.


If still relevant:
==
* *NB* that you'd want to run the commands from the bare-metal OS on
  the computer: that was the intent, while I was mistakenly thinking
  that 'the debian used to build lfs' was the bare-metal os.

* may also be useful to run:
parted /dev/sda print unit s print unit chs print
parted /dev/sdb print unit s print unit chs print

* If the bare-metal os is non-linux, then I guess run the commands
  from e.g. a linux live-cd that you have booted the _computer_ from;
  don't run them from within virtualbox 
==


>
.
.
> > In any case: where on the single _physical_ disk, do those sdb{1,2,3}
> > partitions live? You need to be able to say/know, effectively: 'sdb1'
> > is 'really' 'sdaN', for some number 'N'; and similarly for 'sdb2' &
> > 'sdb3'  .
> >
> There is no physical disk.
>


(There is, but just not (IIUIC now) in this context - ref 'penny dropped'
note in top-post, above.)



rgds,
akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Grub failed me, my boot has sink

2016-06-29 Thread akhiezer
> From: thibaut noah <thibaut.n...@gmail.com>
> Date: Wed, 29 Jun 2016 11:16:11 +0200
> Subject: Re: [lfs-support] Grub failed me, my boot has sink
>
>
> 2016-06-29 9:39 GMT+02:00 akhiezer <lf...@cruziero.com>:
>
> For example, if:
> > --
> > * you have two separate physical disks;
> >
> > * and your debian (without any ~unusual remappings/) sees them as sda
> >   (for disk1) & sdb (for disk2);
> >
> > * and you don't change the physical connections of the disks to the
> >  computer;
> >
> > * then your lfs should see the same sda (for disk1) & sdb (for disk2)
> >   - again, without any ~unusual remappings/
> > --
> >
> They are both virtual disks and i am trying to run sdb alone (by creating
> another virtual machine with just sdb as a virtual disk).
>


From this and what you say in other parts of the thread:
==
* you have got only one _physical_ disk; is that correct?

* you want to boot directly from power-on thru bios/uefi, directly into
  lfs; is that correct?
==

Assuming 'yes' to both questions, then very likely:
--
* said bios/uefi will see the single disk as sda .

* said grub will need to know what are the _real_ partitions on sda that
  '/' and '/boot' are on.
--


From your _Debian_ host, do - and don't worry about errors:
==
LG_FP="$(mktemp /tmp/lfsinfos.XX)";
{
 for i in a b ; do
  DSK_DEV=/dev/sd$i ;
  for j in 'hdparm -i' 'fdisk -l' 'gdisk -l' ; do
cmd="$j \"${DSK_DEV}\"" ;
echo -e ":\n:$ ${cmd}" ;
eval $cmd 2>&1 ; 
echo -e ":$" ;
  done;
done;
} >"${LG_FP}" 2>&1 ;
echo "(logfile) = (${LG_FP})";
==
; & paste logfile here.


> >
.
.
>
> Please note that my fstab and my grub file have been made with the
> assumption that by having one disk only sdb would become sda on the new
> virtual machine.
>
> fstab :
>1. /dev/sda1 /ext4   defaults1 1
>2. /dev/sda2 swap swap pri=1   0 0
>3. /dev/sda3 /bootext2   defaults1 1
>4. proc   /procproc nosuid,noexec,nodev 0 0
>5. sysfs  /sys sysfsnosuid,noexec,nodev 0 0
>6. devpts /dev/pts devpts   gid=5,mode=620  0 0
>7. tmpfs  /run tmpfsdefaults0 0
>8. devtmpfs   /dev devtmpfs mode=0755,nosuid0 0
>
> grub.cfg :
>1. # Begin /boot/grub/grub.cfg
>2. set default=0
>3. set timeout=5
>4.
>5. insmod ext2
>6. set root=(hd0,3)
>7.
>8. menuentry "GNU/Linux, Linux 4.4.2-noah" {
>9. linux   /vmlinuz-4.4.2-tnoah root=/dev/sda1 ro
>10. }
>
> fdisk -l :


Was this fdisk-l generated from your Debian host or from your lfs?


> - Disk /dev/sda: 8 GiB, 8589934592 bytes, 16777216 sectors
> - Units: sectors of 1 * 512 = 512 bytes
> - Sector size (logical/physical): 512 bytes / 512 bytes
> - I/O size (minimum/optimal): 512 bytes / 512 bytes
> - Disklabel type: dos
> - Disk identifier: 0x5c2e89f5
> -
> - Device BootStart  End  Sectors  Size Id Type
> - /dev/sda1  *2048 15988735 15986688  7.6G 83 Linux
> - /dev/sda2   15990782 16775167   784386  383M  5 Extended
> - /dev/sda5   15990784 16775167   784384  383M 82 Linux swap / Solaris
> -


Is sda1 there your 7.6 GB Debian host?


> - Disk /dev/sdb: 15 GiB, 16106127360 bytes, 31457280 sectors
> - Units: sectors of 1 * 512 = 512 bytes
> - Sector size (logical/physical): 512 bytes / 512 bytes
> - I/O size (minimum/optimal): 512 bytes / 512 bytes
> - Disklabel type: gpt
> - Disk identifier: F700B567-368F-4096-BB5B-6B2A5C670F10
> -
> - DeviceStart  End  Sectors  Size Type
> - /dev/sdb1  2048 20973567 20971520   10G Linux filesystem
> - /dev/sdb2  20973568 29362175  83886084G Linux filesystem
> - /dev/sdb3  29362176 31457246  2095071 1023M BIOS boot
>


And is the sdb1 there your 10 GB lfs '/' ; and the sdb2 your (4 GB)
lfs swap; and the sdb3 your 1 GB lfs /boot ?


In any case: where on the single _physical_ disk, do those sdb{1,2,3}
partitions live? You need to be able to say/know, effectively: 'sdb1'
is 'really' 'sdaN', for some number 'N'; and similarly for 'sdb2' &
'sdb3'  .


Hope that makes sense and am not confusing things (further).



hth,
akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Grub failed me, my boot has sink

2016-06-29 Thread akhiezer
> From: thibaut noah 
> Date: Wed, 29 Jun 2016 07:58:59 +0200
> Subject: [lfs-support] Grub failed me, my boot has sink
>
>
>
> Hi guys, i managed to get to the end of the lfs build.
>
> The problem i have now is that my /boot is on a separate partition and
> unfortunatly the book doesn't tell me much for this situation.
> I don't get what is happening because i managed to install grub
> successfully on the disk and my fstab and grub.cfg looks ok to me.
>
> I would like to add that i created my lfs on virtualbox, my /dev/sda is my
> debian host and my /dev/sdb is lfs.
> I intented to just quit debian after the build and boot directly on the
> virtual disk where /dev/sdb is (so supposedly it should become /dev/sda? )


You need to consider how the disks will look to bios/uefi/grub at the
point when you are booting into it.


For example, if:
--
* you have two separate physical disks;

* and your debian (without any ~unusual remappings/) sees them as sda
  (for disk1) & sdb (for disk2);

* and you don't change the physical connections of the disks to the
 computer;

* then your lfs should see the same sda (for disk1) & sdb (for disk2)
  - again, without any ~unusual remappings/
--


>
> I join my config files in case someone can enlighten me on what is going
> on, any documentation or hint would be welcome, thanks.
>
> fstab : http://pastebin.com/iE18fXEZ
>
> grub.cfg : http://pastebin.com/DpPfb6ic
>
> I used the "parted /dev/sdb set 3 bios_grub on" command on my /boot
> partition to manage to install grub, /dev/sdb3 is formatted with ext2 format
>
> fdisk -l : http://pastebin.com/NHjkCDNf


Paste the three pastebin contents into your message - not least as
they'll be short-enough.



rgds,
akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] ***SPAM*** Problem with find and -exec

2016-06-25 Thread akhiezer
 - is it beyond your wit to get rid of that '***SPAM***' once and for all.


rgds,
akh




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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] #!/bin/sh: No such file or directory

2016-06-20 Thread akhiezer
> From: rhubarbpie...@gmail.com
> Date: Mon, 20 Jun 2016 10:24:35 -0500
> Subject: Re: [lfs-support] #!/bin/sh: No such file or directory
>
>
> It appears the problem was file format.  I wrote some scripts in 
> OpenOffice and saved them as Text (.txt) but "file SomeScript_OO.sh" shows:
>
> POSIX shell script, UTF-8 Unicode (with BOM) text executable
>
> I first edited the scripts with vi looking for errors but none were 
> apparent.  And identical files written in OO and vi appear identical 
> when edited.


cmp -bl
cat -A
diff -a
od -c
tr -d '[[:print:]]'
  .
  .
, can help show if stray non-ascii chars are present.


What do you get if you do e.g.:
$
cat ORIG_FILE | tr -cd '[[:print:]]' > NEW_FILE
diff -a ORIG_FILE NEW_FILE | cat -A
diff -a ORIG_FILE NEW_FILE | od -c
cmp -bl ORIG_FILE NEW_FILE | cat -A
cmp -bl ORIG_FILE NEW_FILE | od -c
$
(Other args to the commands can be useful too.)


>
> Again, the scripts worked, I just didn't know why I received "#!/bin/sh: 
> No such file or directory."  I assumed I'd made an error when building 
> 7.9.  Perhaps the file format problem is widely know but it was news to 
> me.  I assumed Text (.txt) meant ASCII text.


(Filename extensions are just basically conventions, and no
guarantee/requirement that any particular program will make any use of
them, whether at all or as-'expected'.)



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Messages not arriving at your end - test

2016-06-20 Thread akhiezer
> From: Hazel Russman 
> Date: Mon, 20 Jun 2016 10:34:15 +0100
> Subject: Re: [lfs-support] Messages not arriving at your end - test
>
> On Sat, 18 Jun 2016 11:40:42 +0100
> Richard Melville  wrote:
>
> > Thanks Ken -- Bruce resolved my issue.  Apparently I will have to
> > register the email address twice, once with the .googlemail extension
> > and again with the .gmail.  I'm not sure if Hazel's issue is the same.
> > Your problem does sound like spam blocking as you suggest.
.
.
> This is a test post out of Crux. I want to see if it bounces. The email
> address in sylpheed is the same one that I use from LFS, but I think the
> gmail smtp server may have been renaming them.
>
> If it does appear on the list, perhaps someone could let me know. 


See excerpted header-list below - incl:
--
> From: Hazel Russman 
> X-Google-Original-From: Hazel Russman 
--


 Start of Header List 
> From lfs-support-boun...@lists.linuxfromscratch.org Mon Jun 20 11:47:50 2016
.
.
> Received: by mail-wm0-f47.google.com with SMTP id f126so61364718wma.1
>  for ;
>  Mon, 20 Jun 2016 02:37:56 -0700 (PDT)
> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
>  d=googlemail.com; s=20120113;
>  h=from:date:to:subject:message-id:in-reply-to:references:mime-version
>  :content-transfer-encoding;
>  bh=LZbUgiASK2m3HW7A78vifyI092BqjFYGAkDE9sJ1UCU=;
>  b=u1mcTGv9cBse7j2G+GQBAkK/JU1vEok9Y9gCcOq8J45IoWi6F9ACoTmzUkzpAtSFis
>  sy22LLVYbecrxKhwEgD4ewg7aiaSHa5ofv0va4nA8gbe/oFzilqztwiSGkfq5c6TqX7p
>  qS8SJeXhv+RIPTYKUY/BoH1VpSn9lTXLYmTw+9b3ybvTfU+S92grKT1x/pDiO+NH8Awz
>  Ly7yUFfAHd5kS9tqVj3yIM2iTg01bybBUgVwOw1W1r+dPLmsipIazzCtVaJuQd0nkclI
>  vsYShiA0oFn/aWDKu0Olefu9gmMqKqXPcmMmfyTLh8Z7MuNAm2EnC6w0apR4JsXUrsjs
>  olJg==
> X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
>  d=1e100.net; s=20130820;
>  h=x-gm-message-state:from:date:to:subject:message-id:in-reply-to
>  :references:mime-version:content-transfer-encoding;
>  bh=LZbUgiASK2m3HW7A78vifyI092BqjFYGAkDE9sJ1UCU=;
>  b=B9nXwx1/IAG93kUhWjnc2zwoq0TNMQM+B+7dlGiOveaY+pni/9xyjRIr8dgDM6/elF
>  UU9QwaEQ8YcaDm6h+wM8VUgQ5WhupBfaVv3n00JaDgnU806yC3nX7z+jop8+iOBA1tfF
>  /LoGiseZ4qkMrpETdRzjlIGVj5zy0VI7bmJ2YtMM6j2SXg1Wgfwc0hPpUU0GMJT6FzRO
>  dliXX1w8DaqoiN8zxx2nNXU2K3hbso1O0vtH+Y9OKFIWzHNKn68hSFxtYH+WrhcCUCty
>  97W2oBytocw38rOK4G49A6iIH7ko1yDyp0sEsIDw4VGqIpds90YDDPyKeM/3xWQe+t02
>  wNcw==
> X-Gm-Message-State: 
> ALyK8tJbDTWYw1FaJBDdKC44PjEIrIwh2Igf7YP8aDmFIVqaN1qGSELcNh4ytd9zoEdEgA==
> X-Received: by 10.28.60.5 with SMTP id j5mr10658565wma.26.1466415475667;
>  Mon, 20 Jun 2016 02:37:55 -0700 (PDT)
> Received: from host (78-32-146-199.static.enta.net. [78.32.146.199])
>  by smtp.gmail.com with ESMTPSA id i74sm12619042wmg.21.2016.06.20.02.37.53
>  for 
>  (version=TLSv1/SSLv3 cipher=OTHER);
>  Mon, 20 Jun 2016 02:37:54 -0700 (PDT)
> From: Hazel Russman 
> X-Google-Original-From: Hazel Russman 
> Date: Mon, 20 Jun 2016 10:34:15 +0100
> To: lfs-support@lists.linuxfromscratch.org
> Message-Id: <20160620103415.785df0480eba8586a8168...@gmail.com>
> In-Reply-To: 
> 

Re: [lfs-support] #!/bin/sh: No such file or directory

2016-06-18 Thread akhiezer
> From: rhubarbpie...@gmail.com
> Date: Sat, 18 Jun 2016 10:48:54 -0500
> Subject: Re: [lfs-support] #!/bin/sh: No such file or directory
>
> On 06/18/2016 07:20 AM, Simon Geard wrote:
> > On Fri, 2016-06-17 at 17:25 -0500, rhubarbpie...@gmail.com wrote:
> >> All exist but for linux-vdso.so.1.  However, I responded to the
> >> /bin/bash question wrong.  I do NOT receive the error with
> >> "/bin/bash."
> >> My mistake.
> > So, the shell itself is fine, but scripts that run it aren't?
> >
> > Which scripts? Ones you're creating, or scripts that are part of
> > downloaded source packages? I'm wondering if the scripts themselves are
> > using DOS-style CRLF markers instead of Unix-style LF, meaning that a
> > line like:
> >
> > #!/bin/sh
> >
> > Is actually:
> >
> > #!/bin/sh^M
> >
> > I.e. there's a stray CR at the end of the line.
> >
> > Simon.
> >
> >
> I may have found the problem but it makes little sense.  I'll further 
> research this over the weekend and post a follow-up.


((
Have only just done once-through of thread [been busy playing with riscos
on rpi/pi-top], so apols if foll is already dealt with.
))


For your debugging, be sure (of course, & if not already) to have the
likes of the following at the top of the script:

set -e;
set -u;
set -x;


For things like "script works but '. script' doesn't", it's usually some
var that's not expanding as presumed - e.g. tilde-expansion, PATH, HOME .



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS-7.7 i686 build failure

2016-06-16 Thread akhiezer
> From: Paul Rogers 
> Date: Wed, 15 Jun 2016 15:01:23 -0700
> Subject: Re: [lfs-support] LFS-7.7 i686 build failure
>
.
.
> > Actually, that reminds me - the contrib script used to let me run the
> > tests in parallel and then summarise the results.  At some time in the
> > past couple of years I now recall posting (on -dev) that I was getting
> > a LOT of failures in the c++ tests.  In the end, the solution was to
> > use -j1 for the tests.
>
> OK.  I've used -j1 in the past, but the book doesn't say so here, as
> it does elsewhere, so I was doing -j8 (still modest for a 4 core
> hyperthreaded i7 I suppose).  I can certainly give that a try, if
.
.
> At the moment I have no better idea than Ken's -j1, and that isn't in
> either book.


As you allude: it _is_ in the book; but just not repeated at the place
in the book that you're at.


Which is standard book format for things that apply throughout (chunks
of) the book - cf e.g. setting $LFS, env vars, 


Ref e.g. (page immediately prior to page re test-suites):
 
http://www.linuxfromscratch.org/lfs/view/stable/chapter04/aboutsbus.html
--
"Note

   For many modern systems with multiple processors (or cores)
   the compilation time for a package can be reduced by performing a
   "parallel make" by either setting an environment variable or telling
   the make program how many processors are available. For instance,
   a Core2Duo can support two simultaneous processes with:

 export MAKEFLAGS='-j 2'

   or just building with:

 make -j2

   When multiple processors are used in this way, the SBU units in the
   book will vary even more than they normally would. In some cases,
   the make step will simply fail. Analyzing the output of the build
   process will also be more difficult because the lines of different
   processes will be interleaved.  If you run into a problem with a
   build step, revert back to a single processor build to properly
   analyze the error messages."

And tests are a 'build' step.


(Aside: that 'revert back' in the preceding quoted para, is a grammo -
'revert' suffices.)



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Second pass of Binutils: unrecognized configure options

2016-04-20 Thread akhiezer
> Date: Wed, 20 Apr 2016 11:36:04 +0100
> From: "A.M. Cumberworth" 
> Subject: [lfs-support] Second pass of Binutils: unrecognized configure
>   options
>
> Hello,
>
> This is my first time going though LFS. On the second pass of Binutils 
> (5.9) (LFS Version 7.9-systemd), I noticed that the following was 
> printed at the end of the output from configure (with options directly 
> pasted from the book):
>
> configure: WARNING: unrecognized options: --with-lib-path, 
> --with-sysroot
>


Check re copy'n'paste error(s); if nec copy'n'paste from your
history list (include from a few commands before, to a few after),
into reply. And similarly for your binutils-pass1 .


Are you using html or pdf version of book?


Did you get similar from binutils pass1 ?


> I searched the configure script and could find no reference to these 
> options. I used the wget list and the mdsum script when downloading the 
> source for this and all other packages. Perhaps these (apparently not 
> universally necessary?) options are left over from a previous version of 
> Binutils. According to the configure script comments, the LIBS 
> environmental variable would seem to be used in the same way as 
> --with-lib-path. It seems possible that the with-sysroot option could be 
> set instead with LDFLAGS, which is used to pass flags to the linker, but 
> I don't know much about linkers and compilers, so was wondering if 
> someone could shed some light on this.
>



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Glibc test error - Generating locale de_DE.ISO-8859-1

2016-04-13 Thread akhiezer
> Date: Wed, 13 Apr 2016 13:56:12 -0400
> From: Nathan Bibb 
> Subject: [lfs-support] Glibc test error - Generating locale de_DE.ISO-8859-1
>
> I am building LFS version 7.9 (stable) on a very outdated machine, and
> everything was going well until Chapter 6.9 Glibc-2.23.
>
> I am building on a Debian 7.5 host, and I have attached the output of
> version-check.sh.  [...]


version-check output looks ok (it would've been ok to just post it
inline). Just to check while in this area: did 'library-check.sh'
output look ok?


>
.
.
> Any help you can provide would be appreciated.  If no one has a clue, I
> will just move forward with 'make install' and see what happens :)
>


You'd likely just hit a blizzard - or brick wall - of errors: NB that
glibc is pretty fundamental; and it needs to be gotten correct. So
it's at least good that you reported this error at this stage: are
you extra-sure that you have not made any mistakes - incl perhaps
not seeing error(s) - before this stage.



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Glibc test error - Generating locale de_DE.ISO-8859-1

2016-04-13 Thread akhiezer
> Date: Wed, 13 Apr 2016 13:56:12 -0400
> From: Nathan Bibb 
> Subject: [lfs-support] Glibc test error - Generating locale de_DE.ISO-8859-1
>
> I am building LFS version 7.9 (stable) on a very outdated machine, and
> everything was going well until Chapter 6.9 Glibc-2.23.
>
> I am building on a Debian 7.5 host, and I have attached the output of
> version-check.sh.  I searched for the error on the forums and on google, to
> no avail.
>
> It is worth noting that I am building on a VERY underpowered machine
> (Pentium-MMX 166MHZ with 64M ram).  My Debian install is upgraded from a
> clean 5.0.8 install, due to the fact that the newer installation medium
> require the CMOV instruction in the processor, which the Pentium MMX lacks.
>
> Configure and Make ran without error, but when I ran 'make check', the
> process failed with the following error:
>
> Generating locale de_DE.ISO-8859-1: this might take a while...
> localedef: ../sysdeps/x86_64/cacheinfo.c:262: handle_intel: Assertion
> `maxidx >=
> 2' failed.


A quick websearch indicates that one cause may be re host libc vs
hardware level - see e.g. thread that contains (& note that both it
and your error-message mention cache):

https://lists.debian.org/debian-glibc/2010/06/msg00069.html


> ../localedata/gen-locale.sh: line 29: 18598 Aborted
> ${localedef_before_env} ${run_program_env} I18NPATH=../localedata
> ${localedef_after_env} --quiet -c -f $charmap -i $input
> ${common_objpfx}localedata/$out
> Charmap: "ISO-8859-1" Inputfile: "de_DE" Outputdir: "de_DE.ISO-8859-1"
> failed
> /bin/sh: line 3:
> /sources/glibc-2.23/build/localedata/de_DE.ISO-8859-1/LC_CTYPE.test-result:
> No
> such file or directory
> ../gen-locales.mk:17: recipe for target
> '/sources/glibc-2.23/build/localedata/de_DE.ISO-8859-1/LC_CTYPE' failed
> make[2]: ***
> [/sources/glibc-2.23/build/localedata/de_DE.ISO-8859-1/LC_CTYPE]
> Error 1
> make[2]: Leaving directory '/sources/glibc-2.23/localedata'
> Makefile:214: recipe for target 'localedata/tests' failed
> make[1]: *** [localedata/tests] Error 2
> make[1]: Leaving directory '/sources/glibc-2.23'
> Makefile:9: recipe for target 'check' failed
> make: *** [check] Error 2
>
> Any help you can provide would be appreciated.  If no one has a clue, I
> will just move forward with 'make install' and see what happens :)
>
> Thanks,
> Nathan Bibb


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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Need guidance on building tiny NAS server using LFS

2016-03-29 Thread akhiezer
> Date: Tue, 29 Mar 2016 14:55:49 + (UTC)
> From: Madhusudhan Acharya 
> Subject: [lfs-support] Need guidance on building tiny NAS server using LFS
>
>
>
> Hi all,
> I have successfully built a linux using LFS. While going through the website, 
> I saw a statement about devs being able to develop a linux server running 
> apache which is just 8MB. For my master degree project, i am planing to 
> develop a minimalistic NAS server (serving NFS/CIFS/HTTP/FTP/SFTP with 
> SSH/SSL/LDAP/YPBIND etc services). I need some guidance on from where i can 
> start? What are the packages i need to build this system? Can i follow LFS 
> book to build my NAS server? I would greatly appreciate any input/suggestion 
> on this. If this is is not the right list for posting such requests, please 
> do let me know the correct one so that i can post this request.
> Thanks in advanceMadhu


Read BLFS.


akh


p.s. Also look at the website re etiquette for posting on these lists -
incl line-wrapping.





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Do I have be root from 5.36 onwards?

2016-03-19 Thread akhiezer
> From: "René Nidegger" 
> Date: Thu, 17 Mar 2016 13:50:42 +0100
> Subject: [lfs-support] Do I have be root from 5.36 onwards?
>
> I am trying to execute the steps outlined in
> http://www.linuxfromscratch.org/lfs/view/stable/chapter06/kernfs.html
>
> I am logged in as lfs.
>
> The commands
>
>   mknod -m 600 $LFS/dev/console c 5 1
>   mknod -m 666 $LFS/dev/null c 1 3
>
> print "Operation not permitted"
>
> When I change to root (and set the LFS variable), these
> mknod commands execute without problem.
>
> I am assuming that from 5.36 I should be root anyway, but this
> is what it is: an assumption.


Ref: 
http://www.linuxfromscratch.org/lfs/view/stable/chapter05/changingowner.html :
==
5.36. Changing Ownership

   [Note]

   The commands in the remainder of this book must be performed while
   logged in as user root and no longer as user lfs. Also, double check
   that $LFS is set in root's environment.
.
.
==

What's the first chunk of text: what do you think it means.



rgds,
akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] 5.8.1. Installation of Target Libstdc++

2016-02-25 Thread akhiezer
> From: Bjoern Meier <bjoern.me...@gmail.com>
> Date: Thu, 25 Feb 2016 07:58:03 +
> Subject: Re: [lfs-support] 5.8.1. Installation of Target Libstdc++
>
> hi,
>
> Pierre Labastie <pierre.labas...@neuf.fr> schrieb am Mi., 24. Feb. 2016 um
> 23:46 Uhr:
>
> > According to my logs, all occurences of g++ during "make" are in
> > x86_64-lfs-linux-gnu-g++. g++ alone should not be used. Maybe you could
> > compare your configure output to mine (I attach it). It is for gcc-5.3.0,
> > but
> > I do not think it makes a difference.
> >
>
> Thank you! That helped a lot. I had a big misunderstanding here. Now I have
> it!
>
> You're really helpful.
>


Do note that others did try to help; but you were really unhelpful,
including to yourself, in getting to a fixup.


As Pierre says, it would be very helpful of you, to Pierre and others for
future use, to let Pierre know what the problem was, and how it is resolved.



Thanks,

Akhiezer





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] 5.8.1. Installation of Target Libstdc++

2016-02-25 Thread akhiezer
> From: Bjoern Meier 
> Date: Wed, 24 Feb 2016 21:16:40 +
> Subject: Re: [lfs-support] 5.8.1. Installation of Target Libstdc++
>
> hi,
>
> ALZ (phyglos.org)  schrieb am Mi., 24. Feb. 2016 um
> 20:37 Uhr:
>
> >
> > The point of trying GCC 4.9 was to discard some corner cases of your
> > specific compiler GCC 4.8.2-19ubuntu1 with 5.2 or 5.3 toolchains.  You
> > didn't answered which one you were building.
> >
>
> Sorry, but I don't know what exactly do you mean. I do it like it is
> described in 5.3
>


No you don't. You're using puppet. Nothing wrong with that per se: but
there is a big difference between manual-build and automated build; and
you seem to be unable or unwilling to take that into account; you seem to
be not skeptical enough of your usage of automation tools.


>
> > Others have asked you to verify that your environment is properly set,
> > as per the book, but there is no feedback or confirmation about that.
> >
>
> there are only two environment variables. I provide them through  puppet
> and yes there are correct, as I mentioned: this is documented in config.log
>


Wrong; simply wrong. There are more than two environment variables. Again,
you seem to be being not self-skeptical enough here: too much in 'transmit'
mode.


>
> > Pierre has been specific in asking for details in configure and make
> > commands and errors, that you have not provided yet.
> >
>
> I did. Two times.
>


Again, too much in 'transmit' mode: you're seeming to not absorb the simple,
direct, specific question(s) being asked; they are asking for an attention
to detail that you again are riding roughshod past.


>
> > My guess is that you don't have a problem in "5.8 Libstdc++" but in
> > "5.5. GCC-5.2.0 - Pass 1".
> >
>
> How so? After I configured a step in puppet I manually look into the logs
> and /tools directory
>


And so what? The point is, what do you see there: and are you sure that
it is correct. You seem to repeatedly assume that you are correct, and
thus don't provide the simple direct raw information so that others can
see if it is correct or not.


>
> > But talking about basic questions, we should go back first to "1.5 Help".
> >
>
> The only open question here is: I use 7.8


The central point here is: assuming true your implicit claim to be
satisfactorily competent at manual builds of lfs; then, the central point
here is, in what way(s) are you mapping it incorrectly onto puppet?



hth, (but somehow doubt it),

akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] 5.8.1. Installation of Target Libstdc++

2016-02-24 Thread akhiezer
> From: Bjoern Meier 
> Date: Wed, 24 Feb 2016 07:17:22 +
> Subject: Re: [lfs-support] 5.8.1. Installation of Target Libstdc++
>
> Hi,
>
> ok,  let me answering the basic questions:
>
> - yes, I did build manually LFS several times before. Puppet is just a Tool
> for stateful executions (to keep this simple)


Have you backtracked through your puppet setup, and output logs, and
files/dirs created thus far, and *verified* that all is ok: environment
vars (locales, LFS, ) set/picked-up/carried-forward/ all-ok; that
command-lines actually issued, are the same as in the book; all files/dirs/
(c++ installed/picked-up ok at gcc/libstdc++) generated prperly, and so on.


How many times have you built any LFS successfully with any puppet?



rgds,

akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] 5.8.1. Installation of Target Libstdc++

2016-02-23 Thread akhiezer
> From: Hazel Russman <hazeldeb...@googlemail.com>
> Date: Tue, 23 Feb 2016 17:50:18 +
> Subject: Re: [lfs-support] 5.8.1. Installation of Target Libstdc++
>
> On Tue, 23 Feb 2016 17:10:15 +
> Bjoern Meier <bjoern.me...@gmail.com> wrote:
>
> > Hi,
> > 
> > akhiezer <lf...@cruziero.com> schrieb am Di., 23. Feb. 2016 um 17:02 Uhr:
> > 
> > > > From: Bjoern Meier <bjoern.me...@gmail.com>
> > > > Date: Tue, 23 Feb 2016 14:46:50 +
> > > > Subject: [lfs-support] 5.8.1. Installation of Target Libstdc++
> > > >
> > > >
> > > >
> > > > I'm getting this error, at compiling libstdc++
> > > >
> > > >  g++: error: unrecognized command line option '-std=gnu++14'
> > > >
> > > > System: Ubuntu 14.04
> > > >
> > > > bash, version 4.3.11(1)-release
> > > > /bin/sh -> /bin/dash  
> > >
> > > If I mentioned under the text, I tried to relink to bash, didn't help.  
> > Greetings Björn
> You need /bin/sh to be linked to bash right from the very beginning of your 
> tools build. 
>
> btw you don't say what you are using for awk, but I suspect that it's mawk 
> because that's what Debian uses. That's another thing that must be set right 
> at the beginning; you need to use gawk.


OP says:

GNU Awk 4.0.1
/usr/bin/awk -> /usr/bin/gawk

But it seems (re "I tried to relink to bash") that that list may not
necessarily be exactly what is being used.



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] 5.8.1. Installation of Target Libstdc++

2016-02-23 Thread akhiezer
> From: Bjoern Meier <bjoern.me...@gmail.com>
> Date: Tue, 23 Feb 2016 17:10:15 +
> Subject: Re: [lfs-support] 5.8.1. Installation of Target Libstdc++
>
> Hi,
>
> akhiezer <lf...@cruziero.com> schrieb am Di., 23. Feb. 2016 um 17:02 Uhr:
>
> > > From: Bjoern Meier <bjoern.me...@gmail.com>
> > > Date: Tue, 23 Feb 2016 14:46:50 +
> > > Subject: [lfs-support] 5.8.1. Installation of Target Libstdc++
> > >
> > >
> > >
> > > I'm getting this error, at compiling libstdc++
> > >
> > >  g++: error: unrecognized command line option '-std=gnu++14'
> > >
> > > System: Ubuntu 14.04
> > >
> > > bash, version 4.3.11(1)-release
> > > /bin/sh -> /bin/dash
> >
> > If I mentioned under the text, I tried to relink to bash, didn't help.


The text didn't show up in mailer at this end: and seems to be also not
present in the online mailing-list archive:

  
http://lists.linuxfromscratch.org/pipermail/lfs-support/2016-February/049721.html

The mailer at this end, shows the same as what the above url does.


rgds,

akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] 5.8.1. Installation of Target Libstdc++

2016-02-23 Thread akhiezer
> From: Bjoern Meier 
> Date: Tue, 23 Feb 2016 14:46:50 +
> Subject: [lfs-support] 5.8.1. Installation of Target Libstdc++
>
>
>
> I'm getting this error, at compiling libstdc++
>
>  g++: error: unrecognized command line option '-std=gnu++14'
>
> System: Ubuntu 14.04
>
> bash, version 4.3.11(1)-release
> /bin/sh -> /bin/dash


 - first error. Stopped processing here.


> Binutils: (GNU Binutils for Ubuntu) 2.24
> bison (GNU Bison) 3.0.2
> /usr/bin/yacc -> /usr/bin/bison.yacc
> bzip2,  Version 1.0.6, 6-Sept-2010.
> Coreutils:  8.21
> diff (GNU diffutils) 3.3
> find (GNU findutils) 4.4.2
> GNU Awk 4.0.1
> /usr/bin/awk -> /usr/bin/gawk
> gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
> g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2
> (Ubuntu EGLIBC 2.19-0ubuntu6) 2.19
> grep (GNU grep) 2.16
> gzip 1.6
> Linux version 3.13.0-43-generic (buildd@tipua) (gcc version 4.8.2 (Ubuntu
> 4.8.2-19ubuntu1) ) #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014
> m4 (GNU M4) 1.4.17
> GNU Make 3.81
> GNU patch 2.7.1
> Perl version='5.18.2';


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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] CVE-2015-7547

2016-02-18 Thread akhiezer
> From: Stuart 
> Date: Thu, 18 Feb 2016 11:35:43 +
> Subject: [lfs-support] CVE-2015-7547
>
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=CVE-2015-7547
>
> Are there any plans to address this issue in lfs's glibc ?
>


Yes. Look at posts from earlier this week. (EBBP).



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] on bringing up ver 7.0

2016-02-10 Thread akhiezer
> From: "geist1...@juno.com" 
> Date: Tue, 9 Feb 2016 02:21:56 GMT
> To: lfs-support@lists.linuxfromscratch.org
> Subject: Re: [lfs-support] on bringing up ver 7.0
>
.
.
> I actually don't know, I got this Machine out of the Trash, and
> I don't have a Manual for it, and Sony wants me to buy it, if I
> want one..


Get the model name/number from the labels/stickers/markings on the
machine.
(That's a 'hardware' problem, so should present no problems - unless
there's simply no such labelling/marking of any type.)


Then search on sony website &/or general search engine; then download
the pdf manual from the/a sony website; usually would be free.
(That's a 'software' issue: but c'mon, ... ? ).



hth,
akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] (brief) p.s. -- Re: Find /bin /usr /var - package manager

2016-02-05 Thread akhiezer
> Date: Fri, 05 Feb 2016 15:23:21 +
> From: lf...@cruziero.com (akhiezer)
> To: LFS Support List <lfs-support@lists.linuxfromscratch.org>
> Subject: Re: [lfs-support] Find /bin /usr /var - package manager
>
> > Date: Thu, 4 Feb 2016 11:13:41 + (UTC)
> > From: <wil...@tuta.io>
> > To: Lfs Support <lfs-support@lists.linuxfromscratch.org>
> > Subject: Re: [lfs-support] Find /bin /usr /var - package manager
> >
.
.
>
> > This also tracks any changes to /var/log files which I haven't filtered out 
> > yet.
> >
.
.
>
> It's often easier to snapshot the system (per e.g. above suggestions added
> in present message), then filter/pick-apart the logfiles, than it is to
> try to wrestle the find() to focus down on what you want ("premature
> optimisation ...", etc). There is, of course, a balance between how
> much info you gather vs how much will be then filtered out: but it can
> be interesting to just not assume anything about what's being changed,
> and then see what the diff-sorted logfiles show/tell you.
>


(Just to perhaps clarify: in preceding para, am using 'logfiles' to mean
the output from the find/ and am not meaning the "/var/log files"
in the first para above.)



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] O/T - loading distros *after* lfs

2016-02-05 Thread akhiezer
> Date: Fri, 5 Feb 2016 17:47:20 +
> From: Ken Moffat <zarniwh...@ntlworld.com>
> To: LFS Support List <lfs-support@lists.linuxfromscratch.org>
> Subject: Re: [lfs-support] O/T - loading distros *after* lfs
>
> On Fri, Feb 05, 2016 at 10:39:33AM +, akhiezer wrote:
> > 
.
.
>
> Thanks for those suggestions.  I hope I don't have to fiddle about
> inside the case once I've got the SSD installed (my physical


 - a fallback then may be to disable the SSD in bios, and just let the
machine boot with usbstick & HDD (hoping that the bios doesn't fup);
and later of course use bios swon/swoff to boot from SSD, with HDD as
'dummy' for doing to dd/cpio/


I just think that it's worth keeping the 2ndary-os's installers well
away from your main-os - 'yea even unto' trying to prevent physical 
access.



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] O/T - loading distros *after* lfs

2016-02-05 Thread akhiezer
> Date: Thu, 4 Feb 2016 22:09:09 +
> From: Ken Moffat 
> To: lfs-support@lists.linuxfromscratch.org
> Subject: [lfs-support] O/T - loading distros *after* lfs
>
> Sorry for asking an O/T question here, but -chat seems to be full of
> people who don't actually use LFS (judging from replies I've seen
> there in the past few months).
>
> I've got a new machine, for building and testing.  In the past, I
> have always used older LFS versions to bring up current ones, and
> copied a recent binary LFS from another machine for the first time.
> This time, I would like to be able to use distros (different from
> what other people are using to test) to build release candidates.
>
> Ideally, I want to be able to install/replace these in the future,
> telling them to only use their own partition, and then I can
> chainload them from grub.  Among other things, it has been suggested
> that the distro controlling /boot (LFS) needs to be installed first.
>
> But at the moment I'm using the spinning-rust drive as a test run,
> before I install a smaller SDD, and since I had no bootloader I
> could let the first distro install one.
>
> So, I put some GPT partitions on the drive, with 4 50 GiB ones
> reserved for distros, and then the first 15 GiB partition for LFS.
> Then I tried to install.
>
> First up was mint - this went to the partition I pointed it to, and
> installed grub on the disk.  I did not see any option for not
> installing the bootloader.  But I know that other people are testing
> with 'buntu-derived distros, so I'll probably let this distro go.
>
> Then I tried to install OpenSuSe Leap : that was from a magazine
> disc (Linux Format), not from the huge full DVD.  It started by
> proposing a new partitioning system, with loads of partitions, and I
> was unable to get rid of all of them.  When I tried to edit
> manually, it would not let me use '/' as the mountpoint, that was
> already taken.  Google found a few posts implying that OpenSuSe does
> not play nicely in a multi-distro install, but perhaps that is only
> for a single-drive.  Whatever, I could not persuade it to install
> where I wanted.
>
> I'm not averse to downloading the full official OpenSuSe DVD ISO, but
> I suspect it is likely to have the same problem and I begrudge
> burning useless DVDs.
>
> After that I tried Fedora 23 : there is an article on t'web from a
> while ago about chainloading an older version of Fedora - basically,
> stop at installing the bootloader.  Unfortunately, Fedora insisted
> on creatig a new partition (I did not spot that at the time - I had
> asked for 50 GiB and got the same) - that implies I cannot install
> it onto an existing partition.  Also, there was no question about
> installing a bootloader, it went ahead and did it.
>
> Finally : does anybody have any experience of installing Fedora,
> OpenSuSe, or any other current rpm-using distro *after* LFS, to an
> existing partition ?
>
> I'm beginning to think I might just put distros on the traditional
> HD, if necessary erasing it each time, and only install one at a
> time - but that seems a bit of a waste.
>
> After I had made sure I could set up Mint as-needed, and then
> Fedora, I went back to using SystemRescueCD and installed the LFS
> binary.
>
> Now I've got 7.8 installed and mostly working (audio not yet tested),
> so I will be able to copy that (or a new build) to the SSD when I'm
> clearer about exactly how I'm going to procede.  So at least some of
> this is going ok.
>
> Yes, I did get the usual "I didn't expect that" items, e.g 'make'
> segfaulting when chrooted from SystemRescueCD - fortunately I already
> had the right ethernet driver as a module in the binary I had copied
> and I had installed LFS's grub from chroot : 'make' is fine
> after booting.  Fun, ain't it.
>
> Sorry (but only a little) for rambling
>
> ??en
> -- 


Don't let 'em (2ndary-os's) fk around with your main os - at least, at
(2ndary-os) install time - don't let them even see it: perhaps - if using
a single machine:
==
* pwr-down/whatever;

* disconn ssd;

* connect (bare/wipeable) hdd;

* boot 2ndary-os via usb-stick;

* install 2ndary-os to a single (or as few as possible) hdd partn(s);

* power down/whatever;

* connect ssd;

* boot from ssd;

* then dd/cpio/cp-iax/ from relevant hdd partn(s) to relevant ssd
  single partn;

* then let main-os syslinux/grub/whatever control the 2ndary-os boot.
==
?


A second machine, &/or hot-swap/esata/external-dock (esp if bootable via),
can all be useful there.



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Find /bin /usr /var - package manager

2016-02-03 Thread akhiezer
> Date: Wed, 3 Feb 2016 10:23:47 + (UTC)
> From: 
> To: Lfs Support 
> Subject: [lfs-support] Find /bin /usr /var - package manager
>
>
> While looking at the package management section in the LFS book I wonder if 
> anyone uses a similar approach to what I'm currently using. Basically the way 
> to compile and install packages is like this:
>
> extract source
> configure, make, make install
> remove source
>
> With the "package manager" I'm using this changes into
>
> find /bin /boot /etc /lib* /opt /sbin /srv /usr /var > /tmp/before.install
> extract source
> configure, make, make install
> remove source
> find /bin /boot /etc /lib* /opt /sbin /srv /usr /var > /tmp/after.install
> diff /tmp/before.install /tmp/after.install | grep \> | sed 's/> //' | sort > 
> packageX.log
>
> Advantages:
> - Simple to integrate, fits right into my build scripts that compile every 
> packages based on a script. No need to use "destdir" like approaches.
> - Robust, every installed file is tracked, haven't encountered packages yet 
> that install in /mnt /media or other directories I do not track
> - Uninstall works very well, I uninstall each package based on the log before 
> I upgrade
>
> Disadvantages:
> - Still compiling as root
> - the "find" command can be relatively slow on HDDs. On my SSD it finishes in 
> <1 sec though
>
> Any thoughts on this, anyone use something similar for longer periods of 
> times?
>


Here we use _essentially_ find on everything, using -printf (to get stat'd/
infos in reqd fmts) and checksums, as we also want to track any changes
in contents/perms/'meta'-data/ can sort & diff results; incl handles
general, any allowed object-names (e.g. containing ~any non-null chars).


It's a bit like tripwire, but a bit more rough'n'ready, a bit 'easier'
to 'setup'/customise, a bit slower but ok for hdd and no-probs for ssd
(we script builds and let 'em run auto, and on fast machines, so no probs
to have the profiling done at ~every step (& besides, it's for a reason)).



rgds,
akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] iptables

2016-01-04 Thread akhiezer
> From: "Daniel M." 
> To: lfs-support@lists.linuxfromscratch.org
> Date: Mon, 04 Jan 2016 22:58:49 +0100
> Subject: Re: [lfs-support] iptables
>
> On Mon, 2016-01-04 at 19:05 +, William Harrington wrote:
>
.
.
> > [...] --hitcount 6 --name SSH -j DROP
> > 
.
.
>   [...] --hitcount 6 -j DROP --name SSH
>
.
.
> Daniel


akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] iptables

2016-01-04 Thread akhiezer
> From: "Daniel M." 
> To: lfs-support@lists.linuxfromscratch.org
> Date: Mon, 04 Jan 2016 22:58:49 +0100
> Subject: Re: [lfs-support] iptables
>
>
>
> On Mon, 2016-01-04 at 19:05 +, William Harrington wrote:
>
> > I looked at your config settings and conntrack is in the kernel for ipv4.
.
.
>
> iptables -N SSH
> iptables -A INPUT  -p tcp --dport 22 -m conntrack --ctstate NEW -m
> recent --set --name SSH 
> iptables -A INPUT  -p tcp --dport 22 -m conntrack --ctstate NEW -m
> recent --update --seconds 60 --hitcount 6 -j DROP --name SSH
>
> Unfortunately still the same error.
>


Per William's note, include '-v' in those cmdlines; but please do
copy'n'paste the error message(s), and specify which command(s) they are
a result of.


Does your firewall work ok otherwise - without any of the above commands?



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] 5.33

2015-11-05 Thread akhiezer
> From: Michael Havens 
> Date: Thu, 5 Nov 2015 09:45:12 -0500
> To: LFS Support List 
> Subject: Re: [lfs-support] 5.33
>
.
.
> >
> > Last thing, as a general point, stated again: it really really is normally
> > very useful to have built the book manually at least once, prior to trying
> > scripting it.
> >
>
> That is exactly what I am going to do. I am copying the text out of the
> scripts and pasting them in.
>


Copy'n'paste the commands carefully from THE BOOK: NOT from your scripts.


I looked at your earlier pastebinned history ( http://pastebin.com/N5RamvxH
) : not a forensic analysis, so apols if am wrong on the following. Even
allowing for apparent gaps/discontinuities in history lists due to
e.g. changing user, it looks like an extremely garbled sequence. E.g.:

ref: numbered-line '426.' ff (== history-command '440' ff):
==
* you do glibc, then kernel-headers [wrong order];

* then glibc again (with duplicate 'make' command 473./474. , and three
'make-install' commands 475./479./484. , with a sprinkling of gcc
test-compile stuff );

* then some faffing around with mpfr/gmp [again, out of proper sequence];

* commands run together (e.g. 463./488./497.) with not always apparent
correction.

* re 'echo GOOD'/'tee ...log'/'exit $PIPESTATUS': NB that you are of course
changing at least some book commands; you still need to be sure that your
amended commands are valid; else just stick to the book commands literally.



I know you've since gone on to at least one 'fresh' approach: but it needs to
follow the book; and certainly not the likes of what's in that history list.
Bear in mind also:

  http://www.linuxfromscratch.org/lfs/view/stable/prologue/prerequisites.html



akh



> --
> :-)~MIKE~(-:





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] 5.33

2015-11-05 Thread akhiezer
> From: Michael Havens 
> Date: Thu, 5 Nov 2015 07:39:15 -0500
> To: LFS Support List 
> Subject: Re: [lfs-support] 5.33
>
> On Wed, Nov 4, 2015 at 5:58 PM, William Harrington 
> wrote:
> >
> > run the following, your interpreter may be wrong or missing:
> >
> > readelf -e /tools/bin/ls | grep interp
> >
>
> ~$ readelf -e /tools/bin/ls | grep interp
> bash: /tools/bin/readelf: No such file or directory
> bash: /tools/bin/grep: No such file or directory
>
>
> >
> > It should be using /tools/lib or /tools/lib64
> >
> > You can check all of the binaries in /tools/bin if you want.
> >
>
>  $ ls /tools/bin
> bash: /tools/bin/ls: No such file or directory
>
> I don't know what I did to LFS. Guess I'll start over.
> here is my history .


Have you done something simple like got $PATH wrong - e.g. have you
incorrectly put a space after the first colon, such that it's only looking
in /tools/. , and skipping /bin 


What do you get from:

echo $PATH


Also, when doing the above 'readelf ...' and 'ls ...', try it with the
full paths - e.g. '/usr/bin/readelf ...' (or '/bin/readelf ...' if nec),
'/bin/ls ...'  .


If you just type 'cp' or 'mv' or 'readelf' or 'ls' , without full or
relative pathnames, then normally $PATH is searched for the command.


Also, you should be able to verify what $LFS says; plus whether /tools/bin/
exists and is mounted, and what it contains; plus whether you are in chroot
or not.


Last thing, as a general point, stated again: it really really is normally
very useful to have built the book manually at least once, prior to trying
scripting it.



hth,

akh



> -- 
> :-)~MIKE~(-:


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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] section 5.5

2015-10-26 Thread akhiezer
> From: Michael Havens 
> Date: Sun, 25 Oct 2015 23:26:13 -0400
> To: LFS Support List 
> Subject: Re: [lfs-support] section 5.5
>
.
.
> midnight in my part of Florida so I'll try to deal with this tomorrow


((
So you've moved from AZ to FL
  
http://lists.linuxfromscratch.org/pipermail/lfs-support/2014-August/047394.html
et seq.

Much of your current threads read like last year's stuff didn't happen,
incl yr (iirc) apparent eventual successes.

But, atb for the current build.
))


akh



> -- 
> :-)~MIKE~(-:


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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] basic requitment

2014-12-12 Thread akhiezer
 Date: Fri, 12 Dec 2014 16:49:42 +0100
 From: Armin K. kre...@email.com
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] basic requitment



 On 12/12/2014 03:35 PM, openstud...@kewla.com wrote:
  Before I'm going to far and format again my hard drive, so this is cool?
  --
  
  bash, version 4.2.53(1)-release
  /bin/sh - /bin/bash
  Binutils: (GNU Binutils; openSUSE 13.2) 2.24.0.20140403-6.1
  bison (GNU Bison) 2.7
  /usr/bin/yacc - /usr/bin/yacc

 This is suspicious. Are you able to execute yacc --version ? In newer
 versions of Bison, yacc is not a symlink, but readlink should returno an
 empty string in that case.



ISTR tripping myself up similarly on that /usr/bin/yacc - /usr/bin/yacc
output format. The test in book:


http://www.linuxfromscratch.org/lfs/view/7.6/prologue/hostreqs.html
--
if [ -e /usr/bin/yacc ];
  then echo /usr/bin/yacc - `readlink -f /usr/bin/yacc`;
  else echo yacc not found; fi


, does output /usr/bin/yacc - /usr/bin/yacc (ohne '') if yacc is a
real file.


Similarly for the awk/gawk test.


Fwiw, have never liked the method of those tests - but not my books :)  .



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] lfs-support Digest, Vol 183, Issue 1

2014-12-03 Thread akhiezer
 Date: Wed, 03 Dec 2014 00:45:01 -0600
 From: Bruce Dubbs bruce.du...@gmail.com
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] lfs-support Digest, Vol 183, Issue 1

 Your comments are unhelpful.  Please stop.  


They are pointing out that the 'ad-hominem' card is being played too readily,
wrongly, and in a way that indicates misapprehension - or at least, as said,
misapplication - of the concept.

At least sometimes it's worthwhile pointing out such things and them not
going (yet again) unopposed.


 If you prefer, I can put 
 your messages on moderate status.



You will do as you see fit.

Anyone with a modicum of sense and foresight, doesn't pour resources beyond
a certain amount, into areas that are under (too-)direct control of another;
and instead builds up their own bases.

Your book, your lists, your repos, your archive, your servers, your coterie,
your rules - your appraisals, your mental processes, your actions. Doesn't
auto-confer any validity, of course.



akh



-- Bruce




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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] lfs-support Digest, Vol 183, Issue 1

2014-12-02 Thread akhiezer
 From: Paul Rogers paulgrog...@fastmail.fm
 To: lfs-support@lists.linuxfromscratch.org
 Date: Tue, 02 Dec 2014 14:55:02 -0800
 Subject: Re: [lfs-support] lfs-support Digest, Vol 183, Issue 1

  From: lf...@cruziero.com (akhiezer) 
  It's idiotic to label such a critique as ad-hominem.

 You criticized the person, not the point of discussion, i.e. LFS. That


Drivel.


 is exactly what an ad-hominem attack is.

  Did your post serve any useful purpose.

 It does if such things are not posted in the future, suggesting to
 newbies that they'll be reamed for asking an awkward question.


You're yet again failing to have any grasp at all of the context of the
re-appearance of the OP's type of posting: it's a periodic re-tread from
a non-newbie; and it was being requested to if possible advance the
OP's position.



.
.
 But when one gets to a certain vintage one tends to forget details. 8-(


Reminders then:
--
* you only need to send one copy of each message to the list.

* strange practice to 'collapse' mailing-list threading by such a reply
  to a digest. Better to not do it.
--



akh



 -- 
 Paul Rogers
.
.



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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS 20141104-systemd

2014-12-01 Thread akhiezer
 Date: Sun, 30 Nov 2014 21:00:11 -0600
 From: Bruce Dubbs bruce.du...@gmail.com
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] LFS 20141104-systemd

 lf...@cruziero.com (akhiezer) wrote:
  From: Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
  To: LFS Support List lfs-support@lists.linuxfromscratch.org
  Date: Sun, 30 Nov 2014 22:14:34 +0100
  Subject: Re: [lfs-support] LFS 20141104-systemd
 
 
  On Saturday 29 November 2014 21:21:50 Paul Rogers wrote:
  I'm inclined to give up on systemd ( I don't want, like or need more
  complexity)
  is systemd really more complex ?
 
 
  What do you think?
 
 
  I just finisched building my BLFS-Systemd and it is working like a charm. 
  It
  was, sure, a little different to build. But more complex ?
 
 
  What do _you_ think?
 
 
  It is faster, in my opinion. I agree, this does not need to be an argument.
  One question is, is it worth to be defined as the new system on LFS ? if 
  yes,
  what are the arguments ? Or is it just an alternative ?
 
 
  You seem to pop up periodically with bursts of more-or-less exactly the
  same purported questions at more-or-less exactly the same level; and always
  seem to _insinuate_ a stance rather than stating anything explicitly.
 
 
  What do _you_ think are the answers to these same ostensible questions
  that you ask yet again. Has your understanding and knowledge of the issues
  developed at all since the last burst.
 
 
  What does is it worth to be defined as the new system on LFS even mean? 
  Are
  you trying to say - but choking on the notion of actually stating something
  explicitly - that you think that the main lfs should be systemd; or what?
 
 
  I personally dont understand why systemd flame wars happened.
 
 
  And?
 
 
  Again, you seem to _insinuate_ something limply rather than state anything
  clearly and explicitly. What is it that you're trying to say. What do you
  think should have happened.
 
 
  (Btw, are you talking about systemd flame wars in general, or the
  blfs-systemd flame wars and schism/fork.)
 
 
  With many thanks to _all_ developers,
 
 
- another asinine limp string of characters. '_all_' developers includes
  a _very_ wide spectrum of behaviours and activities: u sure you mean
  accurately _all_ ?

 I don't think these comments are called for.  Not everyone follows 
 development issues.



Neither of your two sentences necessarily apply to the OP and that reply
to it.

Your two sentences aren't even necessarily linked strongly; as such,
the second is more non-sequitir.



akh



-- Bruce



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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS 20141104-systemd

2014-12-01 Thread akhiezer
 Date: Sun, 30 Nov 2014 15:42:42 -0600
 From: Bruce Dubbs bruce.du...@gmail.com
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] LFS 20141104-systemd

 Dr.-Ing. Edgar Alwers wrote:
  On Saturday 29 November 2014 21:21:50 Paul Rogers wrote:
  I'm inclined to give up on systemd ( I don't want, like or need more
  complexity)
  is systemd really more complex ?

.
.
 [...] Draw your own conclusions.

.
.
  It is faster, in my opinion. I agree, this does not need to be an argument.

 How much?  Have you measured?  Is it significant?  [...]
.
.

 Does the loss of flexibility or ease to change matter?

  One question is, is it worth to be defined as the new system on LFS ? if 
  yes,
  what are the arguments ? Or is it just an alternative ?
  I personally dont understand why systemd flame wars happened.

 You have not looked very much.  [...]
.
.



I don't think these comments are called for.  Not everyone follows
development issues.  ?





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS 20141104-systemd

2014-12-01 Thread akhiezer
 Date: Mon, 01 Dec 2014 08:20:59 +
 From: lf...@cruziero.com (akhiezer)
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] LFS 20141104-systemd

.
.
 the second is more non-sequitir.



 - or even '...-sequitur'  .





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS 20141104-systemd

2014-12-01 Thread akhiezer
 From: Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Date: Mon, 01 Dec 2014 10:56:24 +0100
 Subject: Re: [lfs-support] LFS 20141104-systemd

 On Sunday 30 November 2014 21:00:11 Bruce Dubbs wrote:

  I don't think these comments are called for.  Not everyone follows 
  development issues.

 I did not now about it, I am just a user. And it is not important for the 
 issue what I think.


I think that you are trying - and failing - to be disingenuous on this. You
keep apparently insinuating that you think systemd should be main b/lfs
thrust; but you never really just come out and state more-clearly; and
when asked again to do so, you try to pretend that ~oh, [whistles, looks
at sky] it doesn't matter what I think.


What explicitly and if anything do you want to see happen on these matters,
for b/lfs ?


((
Meantime, here's some further info (making the tentative assumption that
you are not already fully aware of it): d'you realise that you're seemingly
'expected' to upgrade kernel + systemd in lock-step? See the thread that
contains:

  http://lists.freedesktop.org/archives/systemd-devel/2014-May/019657.html

(Note also the typical attempted reversal in the later thread-post:

  http://lists.freedesktop.org/archives/systemd-devel/2014-May/019628.html

).
))



rgds,
akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS 20141104-systemd

2014-11-30 Thread akhiezer
 From: Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Date: Sun, 30 Nov 2014 22:14:34 +0100
 Subject: Re: [lfs-support] LFS 20141104-systemd


 On Saturday 29 November 2014 21:21:50 Paul Rogers wrote:
   I'm inclined to give up on systemd ( I don't want, like or need more
   complexity)
 is systemd really more complex ?


What do you think?


 I just finisched building my BLFS-Systemd and it is working like a charm. It 
 was, sure, a little different to build. But more complex ?


What do _you_ think? 


 It is faster, in my opinion. I agree, this does not need to be an argument. 
 One question is, is it worth to be defined as the new system on LFS ? if yes, 
 what are the arguments ? Or is it just an alternative ? 


You seem to pop up periodically with bursts of more-or-less exactly the
same purported questions at more-or-less exactly the same level; and always
seem to _insinuate_ a stance rather than stating anything explicitly.


What do _you_ think are the answers to these same ostensible questions
that you ask yet again. Has your understanding and knowledge of the issues
developed at all since the last burst.


What does is it worth to be defined as the new system on LFS even mean? Are
you trying to say - but choking on the notion of actually stating something
explicitly - that you think that the main lfs should be systemd; or what?


 I personally dont understand why systemd flame wars happened.


And?


Again, you seem to _insinuate_ something limply rather than state anything
clearly and explicitly. What is it that you're trying to say. What do you
think should have happened.


(Btw, are you talking about systemd flame wars in general, or the
blfs-systemd flame wars and schism/fork.)


 With many thanks to _all_ developers,


 - another asinine limp string of characters. '_all_' developers includes
a _very_ wide spectrum of behaviours and activities: u sure you mean
accurately _all_ ?


As predicted, here is the type of thing that is being done to sysd:

  http://marc.info/?l=openbsd-miscm=141150187809736w=2



rgds,
akh



 Edgar
 -- 
 Dr.-Ing. Edgar Alwers edgaralw...@gmx.de



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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS-7.6 with asterisk

2014-11-26 Thread akhiezer
 Date: Wed, 26 Nov 2014 14:00:38 +0700
 From: Sorawit Ngoenyotrak koogi...@gmail.com
 To: lfs-support@lists.linuxfromscratch.org
 Subject: [lfs-support] LFS-7.6 with asterisk


 I install asterisk on LFS-7.6 but dose not have blfs_bootscript for this
 services. Can or Can not help me for this script.


If you know what command-line(s) you want to use for start/stop - and you
should, if you want to run something like asterisk - then just adapt one
of the existing bootscripts, incl setup of the relevant symlinks c.


You can - obviously - also do web-search on e.g. 'rc.asterisk'; and include
search-terms like 'service' if you've got a systemd setup.



hth,

akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS-7.6 with asterisk

2014-11-26 Thread akhiezer
 Date: Wed, 26 Nov 2014 09:10:54 +
 From: lf...@cruziero.com (akhiezer)
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] LFS-7.6 with asterisk

  Date: Wed, 26 Nov 2014 14:00:38 +0700
  From: Sorawit Ngoenyotrak koogi...@gmail.com
  To: lfs-support@lists.linuxfromscratch.org
  Subject: [lfs-support] LFS-7.6 with asterisk
 
 
  I install asterisk on LFS-7.6 but dose not have blfs_bootscript for this
  services. Can or Can not help me for this script.


 If you know what command-line(s) you want to use for start/stop - and you
 should, if you want to run something like asterisk - then just adapt one
 of the existing bootscripts, incl setup of the relevant symlinks c.



Just to perhaps clarify:
--
* you probably want to adapt something like the apache/sendmail/major-server
  type of bootscript; incl re symlnks.
* iirc (tho' not in a position to check right now), asterisk source-tarball
  has sample start/stop scripts that you can adapt.
--


Hope you don't mind me saying, but: I confess to an alarm bell going off at
your question: for, you need to know what you are doing if running asterisk -
especially if it's for voip or similar - as otherwise you can incur a _lot_
of expense if folks can hack your machine to route calls c through it;
there's large warnings in the asterisk package and surrounding asterisk
on this.


So (and again, I hope you don't mind me saying), be wary of assuming
it's just a plug'n'play package: the level of detail that you'd normally
need for configuring it, would normally include knowing what to use for
start/stop scripts; else consider carefully exactly what are you doing.



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS-7.2, Ch6.17, gcc-4.7.1 test failures

2014-11-25 Thread akhiezer
 Date: Tue, 25 Nov 2014 04:07:24 +
 From: Ken Moffat zarniwh...@ntlworld.com
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] LFS-7.2, Ch6.17, gcc-4.7.1 test failures

 On Mon, Nov 24, 2014 at 04:05:15PM -0800, Paul Rogers wrote:
  
.
.
Do you want the bash-4.2 ShellShock patch file posted?  It might be
.
.
   years.  But I did upload 4.2-fixes-13 in the early stages of the
   shellshock fixes, and Armin updated it to -14 for later fixes.  I
.
.
  My patchset goes up to 4.2-53.  The ShellShock patches are very recent.


My patchset 'goes up to 11'; trumps everything.

;)


  
  You obviously did not understand what I wrote.  Take a look at the
 dates on those two patches.  Our _fixes_ versions use different
 numbering from upstream's individual patches.

.
.
  No, I didn't think so.  OK, answer me this, since I'm NOT an automake
  jockey.  (Just got a book about it at Powell's by Vaughn, et al., but
  whoa, way above my pay grade!) 


((Were you able to evaluate the book in-store - or online - prior to
purchase; the relatively-high level might've been apparent quickly. Besides,
it can be a good rule of thumb to try the package's own (electronic)
documentation first; and to beware thinking that there's 'not enough time'
to do so, while magically there is for a book. Not assuming this/that
applies to your partic case here.
))


   What's the difference between setting up
  make to anticipate errors and having an error abort the whole make
  process?  Is one of the former likely to slip past by accident and turn
  into one of the latter?  Does gcc upstream make that sort of error?
  

  'make -k' will carry on for as long as it can run dependencies.
 Then, it will stop and return the status.  If you use it for a
 testsuite, it can usually run the remaining tests after error(s).
 And then it reports a failure if any test failed.  If you were to
 use it for a compile, it might continue for a long time until it
 tried to link something which used whichever object file(s) had not
 been created.

  Your 3 questions do not make any sense to me.  I do not understand
 the phrase setting up make to anticipate errors.  Make always
 tests that each individual command completed with status 0, unless
 you pass -k to tell it to carry on for as long as it can.



Offering perhaps a little expansion on that - NB the wording:

Ref:https://www.gnu.org/software/make/manual/make.html
==
Normally make gives up immediately in this circumstance, returning a
nonzero status. However, if the '-k' or '--keep-going' flag is specified,
make continues to consider the other prerequisites of the pending targets,
remaking them if necessary, before it gives up and returns nonzero
status. For example, after an error in compiling one object file, 'make -k'
will continue compiling other object files even though it already knows
that linking them will be impossible. See Summary of Options.

The usual behavior assumes that your purpose is to get the specified
targets up to date; once make learns that this is impossible, it might as
well report the failure immediately. The '-k' option says that the real
purpose is to test as many of the changes made in the program as possible,
perhaps to find several independent problems so that you can correct them
all before the next attempt to compile. This is why Emacs' compile command
passes the '-k' flag by default.
==
On these occasions, you should use the '-k' or '--keep-going' flag. This
tells make to continue to consider the other prerequisites of the pending
targets, remaking them if necessary, before it gives up and returns nonzero
status. For example, after an error in compiling one object file, 'make -k'
will continue compiling other object files even though it already knows
that linking them will be impossible. In addition to continuing after
failed shell commands, 'make -k' will continue as much as possible after
discovering that it does not know how to make a target or prerequisite
file. This will always cause an error message, but without '-k', it is a
fatal error (see Summary of Options).

The usual behavior of make assumes that your purpose is to get the goals up
to date; once make learns that this is impossible, it might as well report
the failure immediately. The '-k' flag says that the real purpose is to
test as much as possible of the changes made in the program, perhaps to
find several independent problems so that you can correct them all before
the next attempt to compile. This is why Emacs' M-x compile command passes
the '-k' flag by default.
==
'-k'
'--keep-going'

Continue as much as possible after an error. While the target that
failed, and those that depend on it, cannot be remade, the other
prerequisites of these targets can be processed all the same. See
Testing the Compilation of a Program.




I'd suggest that if using '-k' then take errors 

Re: [lfs-support] which operating system is best for building LFS as host

2014-11-12 Thread akhiezer
 Date: Wed, 12 Nov 2014 10:44:12 +
 From: lf...@cruziero.com (akhiezer)
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] which operating system is best for building LFS
  as host

  Date: Wed, 12 Nov 2014 16:11:49 +0530
  From: j.sai buduu buddu.bud...@gmail.com
  To: lfs-support@lists.linuxfromscratch.org
  Subject: [lfs-support] which operating system is best for building LFS as
  host
 
  Hi,
 
  I am going to build LFS so kindly suggest me which operating system is best
  for build LFS as host OS. In the previous days I build LFS in slack ware
  14.1 now I want change this.so friends please suggest me which os is best
  for build LFS.Thanks in advance.


 Just to note: for at least the non-systemd lfs, Slackware 14.1 works
 extremely well for at least lfs 7.4 - lfs-current; and Slackware '-current'
 works very well for at least lfs 7.5 - lfs-current; haven't tried it
 with lfs-sysd.


 Which version of the book are you going to build; and is it for 32-bit
 or 64-bit?


 It should be noted that even with the 'prefect' host OS, you still need


s/pref/perf/


 to not miss the likes of what gcc was telling you per earlier post; else
 you'll just keep hitting brick-walls.



 hth,

 akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Where to find the newlib source when compiling GCC pass 1?

2014-10-09 Thread akhiezer
 To: lfs-supp...@linuxfromscratch.org
 From: Christer Solskogen christer.solsko...@gmail.com
 Date: Thu, 09 Oct 2014 12:35:55 +0200
 Subject: Re: [lfs-support] Where to find the newlib source when compiling
   GCC pass 1?

 On 09.10.2014 11:51, Pierre Labastie wrote:
  Le 08/10/2014 23:23, Christer Solskogen a écrit :
  On 06.10.2014 13:06, Pierre Labastie wrote:
 
  Since we do not want libgcc2 to containing any code which requires libc
  support, we pass --with-newlib --without-headers (equivalent to
  --with-headers=no). And this is needed!
 
 
  Show me where that will be a problem.
  You'd rather show us that our current LFS build would work without the
  switch, and specifically, that no code from the host glibc gets into
  libgcc. We have a very special set-up (not documented, but it has been
  working for our purpose since 2006 or so), where we first build a fake
  cross-compiler, that we use then as a native one to build binutils- and
  gcc-pass2. When you truly build for a foreign architecture, you have to
  build gcc three times (see
  http://www.cross-lfs.org/view/CLFS-3.0.0-RC1-SYSTEMD/ for example). If
  you want to stay with native compilers all along, you have to build it
  three times too, because there is no way to prevent host's glibc to get
  into the first pass of gcc. Our setting saves one compilation, without
  sacrificing host insulation.
 

 But you are already installing a cross compiler. As long as --target= is 
 different from --host= it is a cross compiler.

  I've created (stage1) cross-compilers like this multiple times, on
  multiple linux distros without any problems:
 
  ${SRCDIR}/bin/gcc/configure --prefix=${TOOLS} --target=${CROSS_TARGET}
  --disable-shared --disable-threads --without-headers
  --disable-decimal-float --disable-multilib --enable-languages=c
  --disable-libquadmath --disable-libssp --disable-libgomp
  --disable-libatomic --disable-libmudflap --libexecdir=${TOOLS}/lib
  --disable-nls
 
  Don't you use sysroot? Try that and you'll see what happens with your
  instructions. Using sysroot is very important to achieve host
  insulation. If you do not use sysroot, libgcc pass 1 uses host's glibc
  headers, which we do not want...
 

 No reason for sysroot in a stage1 compiler.



Seems like there's an apples'n'pears situation here.


Christer: are you saying that any of the ch.5/6/... LFS instructions should
be changed; and if so, changed to what, explicitly and literally?


I know and understand what you're saying in your posts: but what, explicitly
and literally, are you saying, if anything, should be changed in LFS?


Could you e.g. send a diff/patch of the src xml? Such code often helps
greatly in clarifying such things.



Thanks,

Akhiezer





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Where to find the newlib source when compiling GCC pass 1?

2014-10-09 Thread akhiezer
 To: lfs-supp...@linuxfromscratch.org
 From: Christer Solskogen christer.solsko...@gmail.com
 Date: Thu, 09 Oct 2014 14:11:01 +0200
 Subject: Re: [lfs-support] Where to find the newlib source when compiling
   GCC pass 1?

 On 09.10.2014 13:39, akhiezer wrote:

  Christer: are you saying that any of the ch.5/6/... LFS instructions should
  be changed; and if so, changed to what, explicitly and literally?
 

 I have not checked that much, but first remove --with-newlib from 5.5.1.



OK. So that would be tested with current b/lfs build instructions, and
the results then evaluated.


That's stating the obvious, yes: but it bumps the discussion on from the
qualitative to the quantitative; the qual. was, imho, showing signs of
hitting an impasse.



rgds,
akh


 


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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] issue with 6.9.2. Configuring Glibc - localtime

2014-10-01 Thread akhiezer
 Date: Wed, 1 Oct 2014 09:55:52 +0200
 From: Alexey Orishko alexey.oris...@gmail.com
 To: lfs-support@lists.linuxfromscratch.org
 Subject: [lfs-support] issue with 6.9.2. Configuring Glibc - localtime

 Hi,

 While using LFS system I found one problem related to recommendations in ch.
 6.9.2. Configuring Glibc (ch. number from devel book):
 it is impossible for C-application (or bash script) to track down
 timezone/location if original file is copied to /etc/localtime.



Do you mean that it's not easy for progs to know which original file
had been copied over to /etc/localtime ? If yes, then ref e.g. 
'/etc/localtime-copied-from' symlink below.


 I would recommend to change suggestion in the book from copying to
 making a symbolic link, thus allowing to use readlink(3) to track down
 an original file:

 Then create the /etc/localtime file by running:
 ln -sf /usr/share/zoneinfo/xxx /etc/localtime



Some folks have e.g.:
==
lrwxrwxrwx 1 root root   33 [...] /etc/localtime-copied-from - 
/usr/share/zoneinfo/Europe/London
-rw-r--r-- 7 root root 3661 [...] /usr/share/zoneinfo/Europe/London
-rw-r--r-- 1 root root 3661 [...] /etc/localtime
==


(OTTOMH, there is/was some reason for making /etc/localtime a file and
not a symlnk).


 Comment might also be provided in the errata of the current book.



(Or not.)


 Regards,
 Alexey


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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] issue with 6.9.2. Configuring Glibc - localtime

2014-10-01 Thread akhiezer
 Date: Wed, 01 Oct 2014 12:08:54 +0100
 From: lf...@cruziero.com (akhiezer)
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] issue with 6.9.2. Configuring Glibc - localtime

  From: Alexey Orishko alexey.oris...@gmail.com
 
  While using LFS system I found one problem related to recommendations in ch.
  6.9.2. Configuring Glibc (ch. number from devel book):
  it is impossible for C-application (or bash script) to track down
  timezone/location if original file is copied to /etc/localtime.
 


 Do you mean that it's not easy for progs to know which original file
 had been copied over to /etc/localtime ? If yes, then ref e.g. 
 '/etc/localtime-copied-from' symlink below.


  I would recommend to change suggestion in the book from copying to
  making a symbolic link, thus allowing to use readlink(3) to track down
  an original file:
 
  Then create the /etc/localtime file by running:
  ln -sf /usr/share/zoneinfo/xxx /etc/localtime
 


 Some folks have e.g.:
 ==
 lrwxrwxrwx 1 root root   33 [...] /etc/localtime-copied-from - 
 /usr/share/zoneinfo/Europe/London
 -rw-r--r-- 7 root root 3661 [...] /usr/share/zoneinfo/Europe/London
 -rw-r--r-- 1 root root 3661 [...] /etc/localtime
 ==


 (OTTOMH, there is/was some reason for making /etc/localtime a file and
 not a symlnk).



Following up on that 'ottomh', seems that sysd wants symlink - e.g. :

  http://www.freedesktop.org/software/systemd/man/localtime.html
  https://bugzilla.redhat.com/show_bug.cgi?id=885246
  http://www.linuxfromscratch.org/lfs/view/7.6-systemd/chapter06/glibc.html

ISTR that it (commonly) used to be a symlink, years ago, and then (commonly)
changed to being a file - maybe re what partitions are available at boot,
c. Some googling might help nail it down better - e.g.

  https://bugzilla.redhat.com/show_bug.cgi?id=91228

cc.



hth,

akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] section 9.3

2014-09-07 Thread akhiezer
 From: Michael Havens bmi...@gmail.com
 Date: Sun, 7 Sep 2014 00:07:50 -0700
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] section 9.3



 On Sat, Sep 6, 2014 at 2:25 PM, akhiezer lf...@cruziero.com wrote:

  Bear in mind too that your lfs build environment is inside a chroot, and
  so won't see all of the host-os filesystem. You (basically) need to get
  the 'lynx2.8.8rel.2.tar.bz2' file into a directory that can be seen from
  within the chroot.
 
 
  hth,



 Isn't that what 'mount --bind ...' is for?


In the host-os of the machine where you're building lfs, if you followed the
book then you set LFS=/mnt/lfs and will have /mnt/lfs/sources dir. Also
in the host-os, do you have a '/sources' symlink that points to the
'/mnt/lfs/sources' dir?


From within the lfs chroot build area, that same dir will appear as a dir
(not a symlink) called '/sources'  .


For your scp command, simplest thing just now would be to copy into '/' ,
and then from the host-os on the build-machine, just go and move it into
/mnt/lfs/sources dir; and then go into the lfs chroot build area and _from
there_ check that it appears in the '/sources' dir.


Bind-mounting essentially just makes a 'real' directory path available
via an additional directory path. It partly/superficially like making a
symlink, for some cases; but the two are not really the same thing.


hth,

akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] section 9.3

2014-09-07 Thread akhiezer
 From lfs-support-boun...@lists.linuxfromscratch.org Sun Sep  7 10:58:22 2014
 Date: Sun, 07 Sep 2014 10:58:01 +0100
 From: lf...@cruziero.com (akhiezer)
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] section 9.3

   Bear in mind too that your lfs build environment is inside a chroot, and
   so won't see all of the host-os filesystem. You (basically) need to get
   the 'lynx2.8.8rel.2.tar.bz2' file into a directory that can be seen from
   within the chroot.
  
   hth,
 
  Isn't that what 'mount --bind ...' is for?


 In the host-os of the machine where you're building lfs, if you followed the
 book then you set LFS=/mnt/lfs and will have /mnt/lfs/sources dir. Also
 in the host-os, do you have a '/sources' symlink that points to the
 '/mnt/lfs/sources' dir?


 From within the lfs chroot build area, that same dir will appear as a dir
 (not a symlink) called '/sources'  .


 For your scp command, simplest thing just now would be to copy into '/' ,
 and then from the host-os on the build-machine, just go and move it into
 /mnt/lfs/sources dir; and then go into the lfs chroot build area and _from
 there_ check that it appears in the '/sources' dir.


 Bind-mounting essentially just makes a 'real' directory path available
 via an additional directory path. It partly/superficially like making a
 symlink, for some cases; but the two are not really the same thing.



Just to perhaps clarify: when you run scp, it is very likely (at this stage)
connecting to the host-os (ubuntu or debian or mint or whatever) on the
build-machine; the lfs os that you're building, isn't yet 'in control' of
the machine. So (unless you've configured scp/ssh to behave differently)
it's very likely seeing the filesystem structure of the host-os.


The lfs area on the build-machine is contained under the /mnt/lfs dir,
as viewed from the host-os. So you would want scp to put stuff directly
into /mnt/lfs/sources . Then, when you are in the lfs chroot (where
you're compiling lfs, etc) you would see the same scp-copied file under
'/sources' dir.



rgds,

akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] section 9.3

2014-09-06 Thread akhiezer
 From lfs-support-boun...@lists.linuxfromscratch.org Sat Sep  6 22:14:44 2014
 Date: Sat, 06 Sep 2014 22:14:33 +0100
 From: lf...@cruziero.com (akhiezer)
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] section 9.3

 
   .
   .
 
  I have a little problem, I D/L a program and then scp it to the lfs box in
  the correct directory but I can not see it when I list the directory?
 
   scp lynx2.8.8rel.2.tar.bz2 root@192.168.0.14:/sources
 
  you know I'm not sure it is going to the right directory. I'm pretty


 Then do a 'find' for the file, on 192.168.0.14  :

 in_a_shell_on_192.168.0.14 :$ find / -name lynx2.8.8rel.2.tar.bz2 


  sure it is because I run this command each time I need to relog in:
 
  mount -v --bind /sources /sources
 


 Doesn't look right. You've probably got $LFS unset there.



Bear in mind too that your lfs build environment is inside a chroot, and
so won't see all of the host-os filesystem. You (basically) need to get
the 'lynx2.8.8rel.2.tar.bz2' file into a directory that can be seen from
within the chroot.


hth,

akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] differences between en_US, en_US.iso88591, and en_US.utf8

2014-09-01 Thread akhiezer
 Date: Mon, 01 Sep 2014 15:20:00 -0400
 From: Walter Webb ng...@earthlink.net
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] differences between en_US, en_US.iso88591,
  and en_US.utf8

 Bruce Dubbs wrote:
  
  LANG=en_US.UTF-8 ls
 
  also gives me a sort order that is not case sensitive. I do not like that.
  

 export LC_COLLATE=POSIX
 in /etc/profile works for me



 - yep, likewise in (from slackware) /etc/profile.d/lang.sh :

# One side effect of the newer locales is that the sort order
# is no longer according to ASCII values, so the sort order will
# change in many places.  Since this isn't usually expected and
# can break scripts, we'll stick with traditional ASCII sorting.
# If you'd prefer the sort algorithm that goes with your $LANG
# setting, comment this out.
export LC_COLLATE=C

# End of /etc/profile.d/lang.sh

( sim for /etc/profile.d/lang.csh ).



akh





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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] bash: i686-pc-linux-gnu-gcc: command not found

2014-08-10 Thread akhiezer
 Date: Sun, 10 Aug 2014 14:37:19 +0100
 From: lf...@cruziero.com (akhiezer)
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] bash: i686-pc-linux-gnu-gcc: command not found

.
.
 config.guess output was i686-pc-linux-gnu

.
.
 LFS_TGT=$(uname -m)-pc-linux-gnu
  


You've basically set your LFS_TGT to be same as the output from config.guess
: ref e.g. the remarks re 'config.guess' at:

  http://www.linuxfromscratch.org/lfs/view/7.5/chapter05/binutils-pass1.html

Just use what the book says for LFS_TGT :
===
  
   [...] . Book has:
  
   LFS_TGT=$(uname -m)-lfs-linux-gnu
  
   http://www.linuxfromscratch.org/lfs/view/7.5/chapter04/settingenvironment.html
  
===


Why did you change from the book's LFS_TGT, to what you were using for it?


Where else have you made changes from the book: not asking to post them here
(yet); just be aware of what you're doing.


 Kindly help me to solve the issue because iam stuck again on same 
 point


Easy: just follow the book.

(That includes being sure to get the backslash-ing '\' on command-lines
correct; be careful about those.)



rgds,
akh





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


Re: [lfs-support] Please, teach me how to fix problems.

2014-08-02 Thread akhiezer
 From: Michael Havens bmi...@gmail.com
 Date: Fri, 1 Aug 2014 12:59:37 -0700
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] Please, teach me how to fix problems.


 I don't know gmail just deleted my inbox!


Well you can at least see the mailing list archives if wanted, via lfs
website.



 in any case.

 when I run make on glibc (section 6.9) it tells me:

   Makeconfig:42: *** missing separator.  Stop.



Check that you have done the preceding items in the page properly - incl
re the various different backslash and quote chars used.


And if that doesn't give a solution, then check similarly for any other
stuff - e.g. re-setup or re-wind to end-chapter-5 - that you have done
since a day or so back.


 From my research into this problem it seems that makeconfig line 42 is
 supposed to start with a tab. But this is my second time running this. I
 didn't do anything differently. Why do you think I'm getting this is
 happening?



Bottom line: the book is there; if you follow it - and that means just what
it says - then you have a very high probability of having both a trouble-free
build and a good working system. I get the strong impression - and apols
if am wrong - that you're, one way or the other, for whatever reason(s),
not following the book: and again, 'following the book' means just that -
it doesn't mean e.g. 'do 99% correct and fup 1% of the critical foundations'
;)  . Just follow the book carefully and you really should be OK.



hth,

akh





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


Re: [lfs-support] Please, teach me how to fix problems.

2014-08-01 Thread akhiezer
 From: Michael Havens bmi...@gmail.com
 Date: Thu, 31 Jul 2014 22:49:00 -0700
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] Please, teach me how to fix problems.



 okay. I tried scripting my compile with the following results:

 root:/sources# cat 6.9glibc eof
  #6.9 glibc compile instructions
 
  sed -i 's/\\$$(pwd)/`pwd`/' timezone/Makefile
  patch -Np1 -i ../glibc-2.19-fhs-1.patch
  mkdir -v ../glibc-build
  cd ../glibc-build
  ../glibc-2.19/configure \
  --prefix=/usr \
  --disable-profile \
  --enable-kernel=2.6.32 \
  --enable-obsolete-rpc
  make
  make -k check 21 | tee glibc-check-log
  grep Error glibc-check-log
  eof
 root:/sources# ./6.9glibc
 bash: ./6.9glibc: Permission denied
 root:/sources#

 Pray tell why is root getting a 'permission denied'? To tell you the
 truth I did this originally in gedit and then scp the file to /sources but
 the resulting error was the same.



'Pray tell': didst thou:

  chmod +x ./6.9glibc 

 ?


But really, it's a good general rule of thumb that: don't try to script your
build until you have built strictly by-the-book and strictly manually at
least once or a few times. (Likewise for any deviating from the book.)


IOW: don't try to run before you can walk.


At the risk of sounding blunt: if you're not recovering from the above
'Permission denied' c stuff by yourself, then you're maybe not quite at
the stage of scripting the build?


Really, building manually and by-the-book, _is_ good and useful experience.



hth,

akh




.
.



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


Re: [lfs-support] Please, teach me how to fix problems.

2014-08-01 Thread akhiezer
 From: Patrick Kennedy kenned...@gmail.com
 Date: Fri, 1 Aug 2014 14:50:18 +0800
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] Please, teach me how to fix problems.

 
  On Fri, Aug 1, 2014 at 2:34 PM, akhiezer lf...@cruziero.com wrote:
 
From: Michael Havens bmi...@gmail.com
Date: Thu, 31 Jul 2014 22:49:00 -0700
To: LFS Support List lfs-support@lists.linuxfromscratch.org
Subject: Re: [lfs-support] Please, teach me how to fix problems.
   
   
   
okay. I tried scripting my compile with the following results:
   
root:/sources# cat 6.9glibc eof
 #6.9 glibc compile instructions

 sed -i 's/\\$$(pwd)/`pwd`/' timezone/Makefile
 patch -Np1 -i ../glibc-2.19-fhs-1.patch
 mkdir -v ../glibc-build
 cd ../glibc-build
 ../glibc-2.19/configure \
 --prefix=/usr \
 --disable-profile \
 --enable-kernel=2.6.32 \
 --enable-obsolete-rpc
 make
 make -k check 21 | tee glibc-check-log
 grep Error glibc-check-log
 eof
root:/sources# ./6.9glibc
bash: ./6.9glibc: Permission denied
root:/sources#
   
Pray tell why is root getting a 'permission denied'? To tell you the
truth I did this originally in gedit and then scp the file to /sources
   but
the resulting error was the same.
   
  
  
   'Pray tell': didst thou:
  
 chmod +x ./6.9glibc
  
?
  
  
   But really, it's a good general rule of thumb that: don't try to script
   your
   build until you have built strictly by-the-book and strictly manually at
   least once or a few times. (Likewise for any deviating from the book.)
  
  
   IOW: don't try to run before you can walk.
  
  
   At the risk of sounding blunt: if you're not recovering from the above
   'Permission denied' c stuff by yourself, then you're maybe not quite at
   the stage of scripting the build?
  
  
   Really, building manually and by-the-book, _is_ good and useful 
   experience.
  
 
 Each build is a stage.  As test and verify live time what it works,
 script-ify it in an editor.  Then progressively, you'll have all your
 stages validated and ready to go later.



Yep, or even/additionally (just one of many approaches, of course:
--
* 'set history=1' (or whatever) in the respective environments
  (chroot/su/lfs/c);

* be disciplined about what tty/c you're issuing commands in (to help
  ensure that the relevant history is getting everything you want);

* periodically do e.g. 'history  /tmp/hist.$(date '+%Y%m%d%H%M%S') ' ;

* be aware that of the saved history-lists will be in chroot, some not,
  some for user lfs, some for user root ;

* be sure to periodically or at least at end, collect the saved history-lists
  into a single place.

* use the history-lists as basis for scripts.
--



akh


p.s. BTW, is this 'STH' PK ?





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


Re: [lfs-support] Please, teach me how to fix problems.

2014-07-31 Thread akhiezer
 Date: Thu, 31 Jul 2014 11:00:49 +0100
 From: lf...@cruziero.com (akhiezer)
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] Please, teach me how to fix problems.

  From: Patrick Kennedy kenned...@gmail.com
  Date: Thu, 31 Jul 2014 17:20:33 +0800
  To: LFS Support List lfs-support@lists.linuxfromscratch.org
  Subject: Re: [lfs-support] Please, teach me how to fix problems.
 
  I prefer working from the online HTML version.  However, it's good to have
  a PDF version that will not change as newer versions of the LFS are issued.
   It's a permanent record - so, you can keep it as a long-term document; the
  web site will change periodically. Also, if you are temporarily offline,
  you can still use the PDF version.  You can also view the PDF on different
  devices - so, it's a matter of convenience and choice as well.
 
 
  On Thu, Jul 31, 2014 at 4:51 PM, Simon Geard delga...@ihug.co.nz wrote:
 
   On Wed, 2014-07-30 at 10:27 -0500, Bruce Dubbs wrote:
You are probably trying to select the commands from a pdf before
pasting.  That's a problem with the pdf generation.  Use the html
   instead.
  
   Out of curiosity, what's the major use-case for people using a PDF
   version of the book, as opposed to the HTML version? PDF seems such a
   poor match for a project like LFS...
  


 PK (TP): you can of course download the html tarball - chunked or no-chunked
 - and read them offline too; and they are a 'parmanent record' too. Ref e.g.:

   http://www.linuxfromscratch.org/lfs/downloads/7.5/

 And similarly for blfs.


 SG: Often folks 'prefer' pdf (or at least want it in parallel with .e.g
 html versions) because it looks 'nicer' - which I guess is fair enough;
 cf TeX docs. Of course, one could - at least up to a point - adjust the
 html sources to render in a more-preferred font/style/c.



But I guess that a central question being raised (again?), at least
implicitly, is: if the copy'n'paste from pdf is proving to be a _known_
and _ongoing_ problem, then should a note be auto-inserted at the top and
centre of the pdf version to give an appropriate warning.


akh





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


Re: [lfs-support] Please, teach me how to fix problems.

2014-07-31 Thread akhiezer
 From: Michael Havens bmi...@gmail.com
 Date: Thu, 31 Jul 2014 12:08:16 -0700
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] Please, teach me how to fix problems.

.
.

 You know... it just occurred to me, I started a build let it run about 15


A build of what, and in what chapter?


 minutes, then realized I forgot to do something and so stopped it. Then I
 fixed what I forgot and restarted it from the beginning. The book says that


To be on the safe side, you'd normally delete the unpack/build dirs for the
botched package-run; and then unpack afresh the package source tarball,
and proceed per book instructions for the package. Always bear in mind
the sequence detailed at the end of 'General Compilation Instructions' -
sec 5.3 in lfs-7.5  .

(A slight partial additional detail to the above is that if a person
has made any changes to e.g source code that they wish to preserve, then
they'd make a side-copy of that - well away from possibly interfering with
a fresh tarball-unpack - before said delete.)


 we need to backup the temporary toolchain because subsequent commands will
 damage the temporary toolchain. 


Doesn't damage it per se - just changes it such that it's = awkward to
re-use for building the same lfs-ver on another system.


 Do I need tho copy my backup glibcbecause
 of this. Or perhaps just upack the glibc tar ball again. What do you think?


Normally not, for anything beyond the respective first chunks/gory-details
of ch5/6: you can normally just re-do the package in question; but depends
on where you're at - ref first question above - and indeed on how far back
the package is from where you are now.



.
.




akh





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


Re: [lfs-support] fatal error: cstring: No such file or directory - Chapter 5 of 2 pass gcc

2014-07-21 Thread akhiezer
 Date: Mon, 21 Jul 2014 18:02:23 +0200
 From: Stefano Ricci sfn@gmail.com
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] fatal error: cstring: No such file or directory -
  Chapter 5 of 2 pass gcc



 RESOLVED, as indicated by you, the problem was the copy paste.
 I rewrote the script and now it works properly.
 Thanks again for your patience .. thank you very much.
 greetings
 Stefano



Good;  yr welcome - 's no trouble.

If you haven't yet gone very far beyond gcc-pass2 in chapter 5, then it
might be a good idea to start again - if not already - from the beginning
of chapter 5: and use that small replacement yacc script from that point
onwards; if you've not used it pre- gcc-pass2 then there might be some
other problem you'll hit; OTTOMH, am not sure right here right now exactly
_where_ is the yacc version-check 'requirement' essential.


rgds,
akh



 2014-07-18 12:08 GMT+02:00 akhiezer lf...@cruziero.com:

   Date: Fri, 18 Jul 2014 08:03:25 +0200
   From: Stefano Ricci sfn@gmail.com
   To: LFS Support List lfs-support@lists.linuxfromscratch.org
   Subject: Re: [lfs-support] fatal error: cstring: No such file or
  directory -
Chapter 5 of 2 pass gcc
  
  
  
   Hello
   no /usr/bin/yacc it is not a small script, could be the problem?
 
 
  Maybe. Try it:
  --
  $ mv -i /usr/bin/yacc{,.ORIG}
 
  $ cat  /usr/bin/yacc EOF
  #! /bin/sh
  exec '/usr/bin/bison' -y $@
  EOF
 
  $ chmod 755 /usr/bin/yacc
 
  $ chown root.root /usr/bin/yacc
  --
  Then retry the ch.5 gcc pass 2 stuff. If all goes well, then keep the above
  'new' small-script /usr/bin/yacc in place for the subsequent parts of the
  book. But do keep that '/usr/bin/yacc.ORIG' copy, so that you can restore
  your host system to the way it was - i.e. to put '/usr/bin/yacc.ORIG' back
  into place as '/usr/bin/yacc' on the host system - either after the lfs
  build is finished, or beforehand if the small-script approach still fails.
 
 
  
  .
  .
   They are only the errors of the Copy'n'Paste because they are not present
   in the log file of my script.
 
 
  OK. When you were issuing commands, were they via copy'n'paste into
  command-line or a script that you then ran? Reason for asking is that, if
  you're getting errors with copy'n'paste, then you might have got some
  unnoticed error when pasting a command into command-line or into a small
  script file that you then ran.
 
 
  
   You've done the 'make install' of libstc + + and there are no errors.
 
 
  OK: but as a double-check: do you have logfiles for each part of the
  config/make/make-install ? (Not asking for them to be posted, just are
  they there).
 
.
.
 


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


Re: [lfs-support] fatal error: cstring: No such file or directory - Chapter 5 of 2 pass gcc

2014-07-18 Thread akhiezer
 Date: Fri, 18 Jul 2014 08:03:25 +0200
 From: Stefano Ricci sfn@gmail.com
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] fatal error: cstring: No such file or directory -
  Chapter 5 of 2 pass gcc



 Hello
 no /usr/bin/yacc it is not a small script, could be the problem?


Maybe. Try it:
--
$ mv -i /usr/bin/yacc{,.ORIG}

$ cat  /usr/bin/yacc EOF
#! /bin/sh
exec '/usr/bin/bison' -y $@
EOF

$ chmod 755 /usr/bin/yacc

$ chown root.root /usr/bin/yacc
--
Then retry the ch.5 gcc pass 2 stuff. If all goes well, then keep the above
'new' small-script /usr/bin/yacc in place for the subsequent parts of the
book. But do keep that '/usr/bin/yacc.ORIG' copy, so that you can restore
your host system to the way it was - i.e. to put '/usr/bin/yacc.ORIG' back
into place as '/usr/bin/yacc' on the host system - either after the lfs
build is finished, or beforehand if the small-script approach still fails.



.
.
 They are only the errors of the Copy'n'Paste because they are not present
 in the log file of my script.


OK. When you were issuing commands, were they via copy'n'paste into
command-line or a script that you then ran? Reason for asking is that, if
you're getting errors with copy'n'paste, then you might have got some
unnoticed error when pasting a command into command-line or into a small
script file that you then ran.



 You've done the 'make install' of libstc + + and there are no errors.


OK: but as a double-check: do you have logfiles for each part of the
config/make/make-install ? (Not asking for them to be posted, just are
they there).



rgds,
akh





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


Re: [lfs-support] fatal error: cstring: No such file or directory - Chapter 5 of 2 pass gcc

2014-07-17 Thread akhiezer
 Date: Thu, 17 Jul 2014 10:03:36 +0200
 From: Stefano Ricci sfn@gmail.com
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] fatal error: cstring: No such file or directory -
  Chapter 5 of 2 pass gcc

 hello

 The development system that is currently using Centos 7.0-1406 64-bit and
 output of the version-check.sh is the following:

 bash version-check.sh

 bash, version 4.2.45(1)-release
 /bin/sh - /usr/bin/bash
 Binutils: version 2.23.52.0.1-16.el7 20130226
 bison (GNU Bison) 2.7
 /usr/bin/yacc - /usr/bin/yacc


That looks stange - a symlnk pointing to itself: compare against what the
version-check page in book says - e.g. should be either a file or a link
to bison.


(Have left the rest of post context as-is for now, for pot'l ref.)



akh



 bzip2,  Version 1.0.6, 6-Sept-2010.
 Coreutils:  8.22
 diff (GNU diffutils) 3.3
 find (GNU findutils) 4.5.11
 GNU Awk 4.0.2
 /usr/bin/awk - /usr/bin/gawk
 gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-16)
 g++ (GCC) 4.8.2 20140120 (Red Hat 4.8.2-16)
 (GNU libc) 2.17
 grep (GNU grep) 2.16
 gzip 1.5
 Linux version 3.10.0-123.4.2.el7.x86_64 (buil...@kbuilder.dev.centos.org)
 (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Mon Jun 30
 16:09:14 UTC 2014
 m4 (GNU M4) 1.4.16
 GNU Make 3.82
 GNU patch 2.7.1
 Perl version='5.16.3';
 sed (GNU sed) 4.2.2
 tar (GNU tar) 1.26
 xz (XZ Utils) 5.1.2alpha
 g++ compilation OK

 However, I did a lot of other evidence that the following list:

 Ubuntu 14.04 64bit  LFS 7.5  failed  (same error)
 Ubuntu 14.04 64bit  LFS SVNfailed  (same error)

 Centos 6.5   64bit  LFS 7.5failed (same error)
 Centos 6.5   64bit  LFS SVN  failed (same error)


 For these tests I used a script that contains the sequence of compilations
 of your book.

 Thank you

 greetings
 Stefano


 2014-07-16 17:40 GMT+02:00 Bruce Dubbs bruce.du...@gmail.com:

  Stefano Ricci wrote:
 
  Hello
  I apologize for my English, I keep getting the following error in chapter
  5
  of 2 pass gcc compile LFS in Development:
 
 
  You don't say what your host distro is.  You also don't tell us the output
  from the host system requirements script in Section vii.
 
  From the output below, it looks like you are doing the svn version of the
  book.  If you haven't already done a stable version of LFS, we recommend
  7.5 right now for first time builders.
 
-- Bruce
 
 
   make [2]: Leaving directory `/
  mnt/lfs-BusyBox-2014-07-16/sources/gcc-build/libdecnumber '
  make [2]: Entering directory `/
  mnt/lfs-BusyBox-2014-07-16/sources/gcc-build/gcc '
  TARGET_CPU_DEFAULT =  \
  HEADERS = auto-host.h ansidecl.h DEFINES =  \
  / bin / sh .. / config.h ../gcc-4.9.0/gcc/mkconfig.sh
  TARGET_CPU_DEFAULT =  \
  HEADERS = options.h insn-constants.h config / vxworks-dummy.h
  config/i386/biarch64.h config/i386/i386.h config/i386/unix.h
  config/i386/att.h config / dbxelf. h config / elfos.h config / gnu-user.h
  config / glibc-stdint.h config/i386/x86-64.h config/i386/gnu-user-common.h
  config/i386/gnu-user64.h config / linux.h config / linux-android.h
  config/i386/linux-common.h config/i386/linux64.h config / initfini-array.h
  defaults.h DEFINES = LIBC_GLIBC LIBC_UCLIBC = 1 = 2 = 3 LIBC_BIONIC
  DEFAULT_LIBC = LIBC_GLIBC ANDROID_DEFAULT = 0 \
  / bin / sh .. / ../gcc-4.9.0/gcc/mkconfig.sh tm.h
  TARGET_CPU_DEFAULT =  \
  HEADERS = config/i386/i386-protos.h config / linux-tm-protos.h preds.h
  DEFINES =  \
  / bin / sh .. / ../gcc-4.9.0/gcc/mkconfig.sh tm_p.h
  TARGET_CPU_DEFAULT =  \
  HEADERS = auto-host.h ansidecl.h DEFINES =  \
  / bin / sh .. / ../gcc-4.9.0/gcc/mkconfig.sh bconfig.h
  x86_64-lfs-linux-gnu-g +
  +-c-g-O2-DIN_GCC-fno-exceptions-fno-rtti-fasynchronous-unwind-tables-W-
  Wall-Wno-narrowing-Wwrite-strings-Wcast-qual-Wmissing-
  format-attribute-pedantic-Wno-long-long-Wno-variadic-macros-
  Wno-overlength-strings-DHAVE_CONFIG_H-I-DGENERATOR_FILE.
  Ibuild--I../../gcc-4.9.0/gcc -I../../gcc-4.9.0/gcc/build
  -I../../gcc-4.9.0/gcc / .. / include
  -I../../gcc-4.9.0/gcc/../libcpp/include \
  -o build / genmddeps.o .. / ../gcc-4.9.0/gcc/genmddeps.c
  In file included from .. / ../gcc-4.9.0/gcc/genmddeps.c: 19:0:
  ../../gcc-4.9.0/gcc/system.h: 205:20: fatal error: cstring: No such file
  or
  directory
 # Include cstring
^
  compilation terminated.
  make [2]: *** [build / genmddeps.o] Error 1
  make [2]: Leaving directory `/
  mnt/lfs-BusyBox-2014-07-16/sources/gcc-build/gcc '
  make [1]: *** [all-gcc] Error 2
  make [1]: Leaving directory `/ mnt/lfs-BusyBox-2014-07-16/
  sources/gcc-build
  '
  make: *** [all] Error 2
 
 
  I checked and the compilation of libstdc + + -4.9.0 seems to be fair, at
  every stage of compilation gate source and build folders.
  The same error occurs on the last stable version of LFS with gcc 4.8.2
  Is there anyone who can give me a hand to solve the problem?
 
  Thank you
  Stefano
 
 
 
 
 
  --
  

Re: [lfs-support] fatal error: cstring: No such file or directory - Chapter 5 of 2 pass gcc

2014-07-17 Thread akhiezer
 Date: Thu, 17 Jul 2014 12:34:06 +0200
 From: Stefano Ricci sfn@gmail.com
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] fatal error: cstring: No such file or directory -
  Chapter 5 of 2 pass gcc

 I have checked and on Centos 7 /usr/ bin/yacc is not a link but a
 executable and it seems to work properly.

 Stefano


 2014-07-17 10:55 GMT+02:00 akhiezer lf...@cruziero.com:

   Date: Thu, 17 Jul 2014 10:03:36 +0200
   From: Stefano Ricci sfn@gmail.com
   To: LFS Support List lfs-support@lists.linuxfromscratch.org
   Subject: Re: [lfs-support] fatal error: cstring: No such file or
  directory -
Chapter 5 of 2 pass gcc
  
   hello
  
   The development system that is currently using Centos 7.0-1406 64-bit and
   output of the version-check.sh is the following:
  
   bash version-check.sh
  
   bash, version 4.2.45(1)-release
   /bin/sh - /usr/bin/bash
   Binutils: version 2.23.52.0.1-16.el7 20130226
   bison (GNU Bison) 2.7
   /usr/bin/yacc - /usr/bin/yacc
 
 
  That looks stange - a symlnk pointing to itself: compare against what the
  version-check page in book says - e.g. should be either a file or a link
  to bison.
 


Ah, my bad - perhaps a bit too much of a rush this morning: I'd forgotten
that that part of the output for version-check is imho perhaps misleading;
sorry 'bout that.


Is your /usr/bin/yacc a small shell-script that calls bison per book
version-check page - e.g.:
--
#! /bin/sh
exec '/usr/bin/bison' -y $@
--
?


Also please don't top-post.



rgds,

akh



 
  (Have left the rest of post context as-is for now, for pot'l ref.)
 
 
 
  akh
 
 
 
   bzip2,  Version 1.0.6, 6-Sept-2010.
   Coreutils:  8.22
   diff (GNU diffutils) 3.3
   find (GNU findutils) 4.5.11
   GNU Awk 4.0.2
   /usr/bin/awk - /usr/bin/gawk
   gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-16)
   g++ (GCC) 4.8.2 20140120 (Red Hat 4.8.2-16)
   (GNU libc) 2.17
   grep (GNU grep) 2.16
   gzip 1.5
   Linux version 3.10.0-123.4.2.el7.x86_64 (buil...@kbuilder.dev.centos.org
  )
   (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Mon Jun 30
   16:09:14 UTC 2014
   m4 (GNU M4) 1.4.16
   GNU Make 3.82
   GNU patch 2.7.1
   Perl version='5.16.3';
   sed (GNU sed) 4.2.2
   tar (GNU tar) 1.26
   xz (XZ Utils) 5.1.2alpha
   g++ compilation OK
  
   However, I did a lot of other evidence that the following list:
  
   Ubuntu 14.04 64bit  LFS 7.5  failed  (same error)
   Ubuntu 14.04 64bit  LFS SVNfailed  (same error)
  
   Centos 6.5   64bit  LFS 7.5failed (same error)
   Centos 6.5   64bit  LFS SVN  failed (same error)
  
  
   For these tests I used a script that contains the sequence of
  compilations
   of your book.
  
   Thank you
  
   greetings
   Stefano
  
  
   2014-07-16 17:40 GMT+02:00 Bruce Dubbs bruce.du...@gmail.com:
  
Stefano Ricci wrote:
   
Hello
I apologize for my English, I keep getting the following error in
  chapter
5
of 2 pass gcc compile LFS in Development:
   
   
You don't say what your host distro is.  You also don't tell us the
  output
from the host system requirements script in Section vii.
   
From the output below, it looks like you are doing the svn version of
  the
book.  If you haven't already done a stable version of LFS, we
  recommend
7.5 right now for first time builders.
   
  -- Bruce
   
   
 make [2]: Leaving directory `/
mnt/lfs-BusyBox-2014-07-16/sources/gcc-build/libdecnumber '
make [2]: Entering directory `/
mnt/lfs-BusyBox-2014-07-16/sources/gcc-build/gcc '
TARGET_CPU_DEFAULT =  \
HEADERS = auto-host.h ansidecl.h DEFINES =  \
/ bin / sh .. / config.h ../gcc-4.9.0/gcc/mkconfig.sh
TARGET_CPU_DEFAULT =  \
HEADERS = options.h insn-constants.h config / vxworks-dummy.h
config/i386/biarch64.h config/i386/i386.h config/i386/unix.h
config/i386/att.h config / dbxelf. h config / elfos.h config /
  gnu-user.h
config / glibc-stdint.h config/i386/x86-64.h
  config/i386/gnu-user-common.h
config/i386/gnu-user64.h config / linux.h config / linux-android.h
config/i386/linux-common.h config/i386/linux64.h config /
  initfini-array.h
defaults.h DEFINES = LIBC_GLIBC LIBC_UCLIBC = 1 = 2 = 3 LIBC_BIONIC
DEFAULT_LIBC = LIBC_GLIBC ANDROID_DEFAULT = 0 \
/ bin / sh .. / ../gcc-4.9.0/gcc/mkconfig.sh tm.h
TARGET_CPU_DEFAULT =  \
HEADERS = config/i386/i386-protos.h config / linux-tm-protos.h
  preds.h
DEFINES =  \
/ bin / sh .. / ../gcc-4.9.0/gcc/mkconfig.sh tm_p.h
TARGET_CPU_DEFAULT =  \
HEADERS = auto-host.h ansidecl.h DEFINES =  \
/ bin / sh .. / ../gcc-4.9.0/gcc/mkconfig.sh bconfig.h
x86_64-lfs-linux-gnu-g +
   
  +-c-g-O2-DIN_GCC-fno-exceptions-fno-rtti-fasynchronous-unwind-tables-W-
Wall-Wno-narrowing-Wwrite-strings-Wcast-qual-Wmissing-
format-attribute-pedantic-Wno-long-long-Wno-variadic-macros-
Wno-overlength-strings-DHAVE_CONFIG_H-I-DGENERATOR_FILE.
Ibuild--I../../gcc

Re: [lfs-support] fatal error: cstring: No such file or directory - Chapter 5 of 2 pass gcc

2014-07-17 Thread akhiezer
 Date: Thu, 17 Jul 2014 20:27:27 +0100
 From: lf...@cruziero.com (akhiezer)
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] fatal error: cstring: No such file or directory -
  Chapter 5 of 2 pass gcc

.
.

  make [2]: Leaving directory `/
 mnt/lfs-BusyBox-2014-07-16/sources/gcc-build/libdecnumber '
 make [2]: Entering directory `/
 mnt/lfs-BusyBox-2014-07-16/sources/gcc-build/gcc '
 TARGET_CPU_DEFAULT =  \
 HEADERS = auto-host.h ansidecl.h DEFINES =  \
 / bin / sh .. / config.h ../gcc-4.9.0/gcc/mkconfig.sh
 TARGET_CPU_DEFAULT =  \
 HEADERS = options.h insn-constants.h config / vxworks-dummy.h
 config/i386/biarch64.h config/i386/i386.h config/i386/unix.h
 config/i386/att.h config / dbxelf. h config / elfos.h config /
   gnu-user.h
 config / glibc-stdint.h config/i386/x86-64.h
   config/i386/gnu-user-common.h
 config/i386/gnu-user64.h config / linux.h config / linux-android.h
 config/i386/linux-common.h config/i386/linux64.h config /
   initfini-array.h
 defaults.h DEFINES = LIBC_GLIBC LIBC_UCLIBC = 1 = 2 = 3 LIBC_BIONIC
 DEFAULT_LIBC = LIBC_GLIBC ANDROID_DEFAULT = 0 \
 / bin / sh .. / ../gcc-4.9.0/gcc/mkconfig.sh tm.h
 TARGET_CPU_DEFAULT =  \
 HEADERS = config/i386/i386-protos.h config / linux-tm-protos.h
   preds.h
 DEFINES =  \
 / bin / sh .. / ../gcc-4.9.0/gcc/mkconfig.sh tm_p.h
 TARGET_CPU_DEFAULT =  \
 HEADERS = auto-host.h ansidecl.h DEFINES =  \
 / bin / sh .. / ../gcc-4.9.0/gcc/mkconfig.sh bconfig.h
 x86_64-lfs-linux-gnu-g +

   +-c-g-O2-DIN_GCC-fno-exceptions-fno-rtti-fasynchronous-unwind-tables-W-
 Wall-Wno-narrowing-Wwrite-strings-Wcast-qual-Wmissing-
 format-attribute-pedantic-Wno-long-long-Wno-variadic-macros-
 Wno-overlength-strings-DHAVE_CONFIG_H-I-DGENERATOR_FILE.
 Ibuild--I../../gcc-4.9.0/gcc -I../../gcc-4.9.0/gcc/build
 -I../../gcc-4.9.0/gcc / .. / include
 -I../../gcc-4.9.0/gcc/../libcpp/include \
 -o build / genmddeps.o .. / ../gcc-4.9.0/gcc/genmddeps.c
 In file included from .. / ../gcc-4.9.0/gcc/genmddeps.c: 19:0:
 ../../gcc-4.9.0/gcc/system.h: 205:20: fatal error: cstring: No such
   file
 or
 directory
# Include cstring
   ^
 compilation terminated.
 make [2]: *** [build / genmddeps.o] Error 1
 make [2]: Leaving directory `/
 mnt/lfs-BusyBox-2014-07-16/sources/gcc-build/gcc '
 make [1]: *** [all-gcc] Error 2
 make [1]: Leaving directory `/ mnt/lfs-BusyBox-2014-07-16/
 sources/gcc-build
 '
 make: *** [all] Error 2


 I checked and the compilation of libstdc + + -4.9.0 seems to be fair,
   at
 every stage of compilation gate source and build folders.
 The same error occurs on the last stable version of LFS with gcc 
 4.8.2
 Is there anyone who can give me a hand to solve the problem?



Did you definitely do the 'make install' part for libstc++... ?

Ref:
--
* 
http://www.linuxquestions.org/questions/linux-from-scratch-13/gcc-error-building-tools-on-7-4-rc1-chapter-5-10-gcc-4-8-1-pass-2-a-4175475181/
* 
http://www.linuxfromscratch.org/pipermail/lfs-support/2013-September/045623.html
--


akh



.
.



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


Re: [lfs-support] cant not find `crt1.o` `crti.o` and `crtn.o`

2014-07-02 Thread akhiezer
 Date: Wed, 02 Jul 2014 10:39:00 +0100
 From: lf...@cruziero.com (akhiezer)
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] cant not find `crt1.o` `crti.o` and `crtn.o`

.
.
 * do those include dirs actually exist.


 - not just literally the include dirs, but also the other paths it's
 talking about, e.g. those for ld later on in the seq.


akh





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


Re: [lfs-support] cant not find `crt1.o` `crti.o` and `crtn.o`

2014-07-02 Thread akhiezer
 From lfs-support-boun...@lists.linuxfromscratch.org Wed Jul  2 10:46:20 2014
 Date: Wed, 2 Jul 2014 17:47:10 +0800
 From:  whilg...@gmail.com
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] cant not find `crt1.o` `crti.o` and `crtn.o`

 I am sorry. My solution is very simple: do chapter 5.6 again and do
 not remove the linux-3.13.3 directory.
 Actually I don't know whether the linux-3.13.3 directory should be
 removed or not. Anyone who run into this issue can try this method.
 Thanks.



Hmmm. When you say, remove the linux-3.13.3 directory, what directory
path are you referring to - e.g. the local one that you did the build in,
or (eek) something under /tools/include that the install (cp -rv) step uses,
or what?


 2014-07-02 17:39 GMT+08:00 akhiezer lf...@cruziero.com:
  Date: Wed, 2 Jul 2014 17:05:13 +0800
  From:  whilg...@gmail.com
  To: lfs-support@lists.linuxfromscratch.org
  Subject: [lfs-support] cant not find `crt1.o` `crti.o` and `crtn.o`
 
  Hi,
 
  Me again.
  The problem I encountered
  (http://lists.linuxfromscratch.org/pipermail/lfs-support/2014-July/047206.html)
  has been conquered. And I meet with a new problem.
 
 
 
  It's useful if you post a follow-up to that post (thus keeping the threading
   connection of posts right), saying what the solution was: can be of help
  to folks hitting the same or similar issue; and never worry at all if it's
  an embarassing or 'silly' mistake - that's not the focus or point of
  the exercise.
 
 
  When I follow the instructions
  (http://www.linuxfromscratch.org/lfs/view/stable/chapter05/glibc.html)
  , I tried the $LFS-TGT-gcc -v dummy.c and I got the error message as
  following:
 
  Using built-in specs.
  COLLECT_GCC=i686-lfs-linux-gnu-gcc
  COLLECT_LTO_WRAPPER=/mnt/lfs/tools/bin/../libexec/gcc/i686-lfs-linux-gnu/4.8.2/lto-wrapper
  Target: i686-lfs-linux-gnu
  Configured with: ../gcc-4.8.2/configure --target=i686-lfs-linux-gnu
  --prefix=/tools --with-sysroot=/mnt/lfs --with-newlib
  --without-headers --with-local-prefix=/tools
  --with-native-system-header-dir=/tools/include --disable-nls
  --disable-shared --disable-multilib --disable-decimal-float
  --disable-threads --disable-libatomic --disable-libgomp
  --disable-libitm --disable-libmudflap --disable-libquadmath
  --disable-libsanitizer --disable-libssp --disable-libstdc++-v3
  --enable-languages=c,c++
  --with-mpfr-include=/mnt/lfs/sources/gcc-build/../gcc-4.8.2/mpfr/src
  --with-mpfr-lib=/mnt/lfs/sources/gcc-build/mpfr/src/.libs
  Thread model: single
  gcc version 4.8.2 (GCC)
  COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=pentiumpro'
   /mnt/lfs/tools/bin/../libexec/gcc/i686-lfs-linux-gnu/4.8.2/cc1 -quiet
  -v -iprefix /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.8.2/
  dummy.c -quiet -dumpbase dummy.c -mtune=generic -march=pentiumpro
  -auxbase dummy -version -o /tmp/ccQoQBlN.s
  GNU C (GCC) version 4.8.2 (i686-lfs-linux-gnu)
  compiled by GNU C version 4.8.2, GMP version 5.1.3, MPFR version
  3.1.2, MPC version 1.0.2
  GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=128188
  ignoring nonexistent directory
  /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.8.2/../../../../i686-lfs-linux-gnu/include
  ignoring duplicate directory
  /mnt/lfs/tools/bin/../lib/gcc/../../lib/gcc/i686-lfs-linux-gnu/4.8.2/include
  ignoring duplicate directory
  /mnt/lfs/tools/bin/../lib/gcc/../../lib/gcc/i686-lfs-linux-gnu/4.8.2/include-fixed
  ignoring nonexistent directory
  /mnt/lfs/tools/bin/../lib/gcc/../../lib/gcc/i686-lfs-linux-gnu/4.8.2/../../../../i686-lfs-linux-gnu/include
  ignoring duplicate directory /mnt/lfs/tools/include
  #include ... search starts here:
  #include ... search starts here:
   /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.8.2/include
   /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.8.2/include-fixed
   /mnt/lfs/tools/include
  End of search list.
  GNU C (GCC) version 4.8.2 (i686-lfs-linux-gnu)
  compiled by GNU C version 4.8.2, GMP version 5.1.3, MPFR version
  3.1.2, MPC version 1.0.2
  GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=128188
  Compiler executable checksum: c4c75984ee2351833ffc20334746d797
  COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=pentiumpro'
   
  /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.8.2/../../../../i686-lfs-linux-gnu/bin/as
  -v --32 -o /tmp/ccF0xClp.o /tmp/ccQoQBlN.s
  GNU assembler version 2.24 (i686-lfs-linux-gnu) using BFD version (GNU
  Binutils) 2.24
  COMPILER_PATH=/mnt/lfs/tools/bin/../libexec/gcc/i686-lfs-linux-gnu/4.8.2/:/mnt/lfs/tools/bin/../libexec/gcc/:/mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.8.2/../../../../i686-lfs-linux-gnu/bin/
  LIBRARY_PATH=/mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.8.2/:/mnt/lfs/tools/bin/../lib/gcc/:/mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.8.2/../../../../i686-lfs-linux-gnu/lib/:/mnt/lfs/tools/lib/
  COLLECT_GCC_OPTIONS='-v' '-mtune=generic

Re: [lfs-support] cant not find `crt1.o` `crti.o` and `crtn.o`

2014-07-02 Thread akhiezer
 Date: Wed, 2 Jul 2014 18:44:26 +0800
 From:  whilg...@gmail.com
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] cant not find `crt1.o` `crti.o` and `crtn.o`

 I am a new bie so forgive me ..
 The linux-3.13.3 directory locates in $LFS/sources, it was extracted
 from the linux-3.13.3.tar.xz -- just as we did in chapter 5.6
 We do the chapter 5.6 in this directory. As the books says in early
 chapters, we should remove all the extra directorys after we finish
 the chapter. But this princple does NOT apply for this chapter.
 If I missed something, welcome contact me again.



What does /tools point to? And what is your $LFS value?



.
.
  
   Just a quick skim:
   --
   * do those include dirs actually exist.


(Also the library and other dirpaths, per earlier note).


   * there have been crt... issues hit by folks over past few months - 
   should be on lists.
   * are you running the commands using sudo ?
   --
  


rgds,
akh





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


Re: [lfs-support] cant not find `crt1.o` `crti.o` and `crtn.o`

2014-07-02 Thread akhiezer
 Date: Wed, 2 Jul 2014 19:48:32 +0800
 From:  whilg...@gmail.com
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] cant not find `crt1.o` `crti.o` and `crtn.o`

 The 'tools' directory means $LFS/tools and the $LFS=/mnt/lfs
 I thought everyone following this book knows that so I did not metion it.

 Thanks.

 2014-07-02 18:57 GMT+08:00 akhiezer lf...@cruziero.com:
  Date: Wed, 2 Jul 2014 18:44:26 +0800
  From:  whilg...@gmail.com
  To: LFS Support List lfs-support@lists.linuxfromscratch.org
  Subject: Re: [lfs-support] cant not find `crt1.o` `crti.o` and `crtn.o`
 
  I am a new bie so forgive me ..
  The linux-3.13.3 directory locates in $LFS/sources, it was extracted
  from the linux-3.13.3.tar.xz -- just as we did in chapter 5.6
  We do the chapter 5.6 in this directory. As the books says in early
  chapters, we should remove all the extra directorys after we finish
  the chapter. But this princple does NOT apply for this chapter.
  If I missed something, welcome contact me again.
 
 
 
  What does /tools point to? And what is your $LFS value?
 


Yes, I know what they should be in theory: but am asking what in practice
do you get from the output of the commands:

$ ls -laF /tools

$ echo $LFS

I.e. am not asking what they _should_ be, but instead what the output is
in practice.


Also, am asking the following questions re sudo and directories existing,
just as basic sanity checks; e.g. there have been recent-ish problems with
sudo interfering with paths/environment-vars.


 
 
  .
  .
   
Just a quick skim:
--
* do those include dirs actually exist.
 
 
  (Also the library and other dirpaths, per earlier note).
 
 
* there have been crt... issues hit by folks over past few months - 
should be on lists.
* are you running the commands using sudo ?
--
   
 



rgds,
akh





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


Re: [lfs-support] Problem partioning

2014-06-23 Thread akhiezer
 Date: Mon, 23 Jun 2014 13:19:35 +0200
 From: Philippe Delavalade philippe.delaval...@orange.fr
 To: lfs-support@lists.linuxfromscratch.org
 Subject: Re: [lfs-support] Problem partioning

 Le lundi 23 juin à 12:12, Simon Geard a écrit :
  On Sat, 2014-06-21 at 17:11 +0200, Philippe Delavalade wrote:
   My SSD is 120GiO and 80 are still free. The RAM is 16GiO.
   
   I always used to have a swap partition, so I continue to make it but it's
   perhaps not so important.
  
  Yeah, I've just upgraded my desktop machine to 20GB RAM (the 4GB it
  already had, plus 16GB added), and replaced the drive with an SSD.
  
  I didn't bother creating a swap partition on the new drive... with that
  much memory, there didn't see much point.

 Ok Simon. Next time, I will forget the swap partition :-)



There's pros'n'cons of each approach.


If you ever want to change the usage of that partition away from swap,
and don't want to redo the partioning/formatting from scratch, then you
could just reformat the partition as ext4 or whatever and just it as some
additional ordinary storage.


Or - e.g. especially if hitting ssd i/o hard - then perhaps remove
it from partition-table and let the ssd firmware perhaps use it for
over-provisioning; depends on the firmware and perhaps on any ((really)
stupid) software that doesn't like apparent gaps in partition-table.


And so on and so forth: there's lots of decision-paths; and besides, you're
building b/lfs, so choose whatever you want to use/try/experiment-with/c.



rgds,
akh


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



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


Re: [lfs-support] how to install rpm in lfs

2014-06-16 Thread akhiezer
 Date: Mon, 16 Jun 2014 11:20:04 +0530
 From: Pravin Pawar pravinpawar...@gmail.com
 To: LFS Support List lfs-support@lists.linuxfromscratch.org
 Subject: [lfs-support] how to install rpm in lfs

.
.
 Second problem is when i logging to user it shows the following error :-
 no directory logging in with home=/



What username are you trying to login as?

For that username, what does the line in /etc/password say - omit any
(even encrypted) password data that you may have in there.

For that line, the second-last field (delimited with ':' chars) shows what's
supposed to be the home-directory. Does that directory exist on your system?

If it does exist, then what is the relevant line for that dir or its
parent-dir or its partition or /home or / , in your fstab ? Are you running
systemd ?


rgds,
akh





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