Re: [lfs-support] Compile error glibc2.33 -> binutils-2.36.1

2021-02-10 Thread Jean-Marc Pigeon
Bonjour Xi (hello the list),

On Thu, 2021-02-11 at 10:51 +0800, Xi Ruoyao wrote:
> On 2021-02-10 22:47 +0100, Pierre Labastie wrote:
> > On Wed, 2021-02-10 at 21:03 +, Ken Moffat wrote:
> > > On Wed, Feb 10, 2021 at 08:49:56PM +, Ken Moffat wrote:
> > > > > 
> > > > > Looks like I need to change the Frame pointer unwinder to the
> > > > > ORC unwinder to have the same config as you.
> > > > > 
> > > > 
> > > > The benefits of the ORC unwinder are mentioned at
> > > > https://www.kernel.org/doc/html/latest/x86/orc-unwinder.html
> > > > 
> > > > It has been around for quite some time, but I probably picked
> > > > it
> > > > up when it first appeared (test an -rc kernel, pick up new
> > > > options
> > > > which might be useful).  I guess that old configs from before
> > > > its
> > > > introduction still default to the old unwinder.
> > > > 
> > > In fact it caused trouble about 3 years ago, there are links to
> > > the
> > > -dev archive from around January 2018 when elfutils was still in
> > > BLFS, and at that time LFS had to use the frame pointer.  So when
> > > libelf arrived in LFS I started to use it (or use it again, not
> > > sure
> > > which).
> > > 
> > 
> > I managed to compile objtool with -g, to recompile apic.c to apic.o
> > (because it gets erased when objtool fails), and to run the objtool
> > command on it under gdb. The segfault is esay to understand:
> > 
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x00412f71 in elf_rebuild_rela_reloc_section (sec=0xe22b10,
> > nr=16)
> >     at elf.c:883
> > 883 relocs[idx].r_info = GELF_R_INFO(reloc-
> > >sym-
> > > idx, reloc->type);
> > 
> > and the reloc struct is:
> > (gdb) p *reloc
> > $2 = {list = {next = 0xe23240, prev = 0xe23160}, hash = {next =
> > 0x0, 
> >     pprev = 0xe23250}, {rela = {r_offset = 0, r_info = 0, r_addend
> > =
> > 0}, 
> >     rel = {r_offset = 0, r_info = 0}}, sec = 0xe22b10, sym = 0x0,
> > offset = 48, 
> >   type = 2, addend = 467, idx = 0, jump_table_start = false}
> > 
> > So reloc->sym is zero, and reloc->sym->idx is a null dereference...
> > 
> > Now to understand why reloc->sym is zero is more complicated...
> 
> I can reproduce it too with Ken's config and just "make
> arch/x86/kernel/apic/apic.o".
> 
> I seen a strange warning in build:
> 
> > Warning: Kernel ABI header at 'tools/arch/x86/lib/insn.c' differs
> > from latest
> > version at 'arch/x86/lib/insn.c'
> 
> Not sure if it causes the segfault.  I'll try 5.10.15 and if it's not
> fixed I'll
> report it as a kernel bug.
do you confirm it is binutil-2.36.1 related or 
is it a kernel only problem?

> -- 
> Xi Ruoyao 
> School of Aerospace Science and Technology, Xidian University
> 

-- 
You have seen "Linux from scratch" and looking for ISO files
www.osukiss.org

-- 
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] segfault building kernel (was: Compile error glibc2.33 -> binutils-2.36.1)

2021-02-10 Thread Jean-Marc Pigeon
On Wed, 2021-02-10 at 21:58 +0100, Pierre Labastie wrote:
> On Wed, 2021-02-10 at 20:04 +, Ken Moffat wrote:
> > The segfault is in objtool (see my reply to Pierre) and the output
> > object file got deleted.  I was using 5.14.1, my gzipped config,
> > objtool and core dump are now at
> > http://www.linuxfromscratch.org/~ken/tmp/
> > 
> 
> The core file returns "access denied". But maybe I do not need it,
> because with your config, the bug occurs also on my machine.
> Will try to investigate...
> 
> Note to Jean-Marc: it may be a bug in binutils, glibc, or in the
> kernel, exposed by the binutils or glibc.
Agreed could a trouble in kernel too (shown by binutils),
as far I can tell, binutils -> kernel compilation segfault.
(glibc 2.32 and binutils-2.36.1 with kernel compilation fault)

> 
> Pierre
> 

-- 
You have seen "Linux from scratch" and looking for ISO files
www.osukiss.org

-- 
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] Compile error glibc2.33 -> binutils-2.36.1

2021-02-10 Thread Jean-Marc Pigeon
Hello,
On Wed, 2021-02-10 at 09:52 +0100, Frans de Boer wrote:
> On 10/02/2021 02:49, Ken Moffat wrote:
> > On Tue, Feb 09, 2021 at 05:14:09PM -0500, Jean-Marc Pigeon wrote:
> > > Hello,
> > > On Tue, 2021-02-09 at 18:27 +, Ken Moffat wrote:
> > > > On Tue, Feb 09, 2021 at 12:29:14AM +, Ken Moffat wrote:
> > > > > On Mon, Feb 08, 2021 at 03:52:35AM +, Ken Moffat wrote:
> > > > > > ../configure --prefix=/usr    \
> > > > > >   --disable-werror \
> > > > > >   --enable-kernel=3.2  \
> > > > > >   --enable-stack-protector=strong  \
> > > > > >   --with-headers=/usr/include  \
> > > > > >   libc_cv_slibdir=/lib
> > > > > > libc_cv_include_x86_isa_level=no
> > > > > > 
> > [...]
> > > > > Well I don't need that workaround for using '-march=native -
> > > > > O2' on
> > > > > my skylake, it booted successfully.  Fortunately, Frans said
> > > > > it
> > > > > works for him, and htat distros are using it, so I guess we
> > > > > too
> > > > > should use it.
> > > > > 
> > > > > However, there was one problem other than my own typos in
> > > > > editing
> > > > > scripts - tried to build linux-5.10.13 -
> > > > > 
> > > > >    CC  arch/x86/kernel/apic/apic.o
> > > > > make[3]: *** [scripts/Makefile.build:279:
> > > > > arch/x86/kernel/apic/apic.o] Segmentation fault
> > > Exact same problem here (not a memory problem, or very big
> > > "cosmic ray"). same problem on kernel-5.10.9 too.
> > > this happen using glibc-2.33 AND binutils-2.36.1
> > > 
> > > rebuilding from scratch using binutils-2.36.1 and keeping
> > > glibc-2.32 make the segmentation fault (I previously restarted
> > > build from scratch with glibc-2.32 + binutils-2.35.1, kernel
> > > compilation was OK).
> > > My conclusion, binutils is the trouble maker.
> > > Could somebody confirm this finding?
> > > Google is mute on this subject but may be my search
> > > keywords were not that good.
> > > advices? suggestions?
> > > 
> > Wow!  I hadn't thought of trying binutils-2.36.1 with glibc-2.32
> > (partly because I'd prefer to use glibc-2.33 because of its iconv
> > fixes).
> > 
> > And I'm surprised at 5.10.9 because based on the kernel list and
> > binutils-bugs I had thought that would crap out in objcopy (with an
> > error message about the sections, not a segfault).
> > 
> > This does sound as if it is a real problem, but I guess the reason
> > google is not coming up with anything is that binutils-2.36 and
> > 2.36.1 are fresh.  Normally we try to keep on the cutting edge
> > rather than the bleeding edge, but this time we've maybe overshot.
> > 
> > Just to be clear (before Bruce asks, I know he distrusts using any
> > CFLAGS) - are you building with any variant of -march= ?  And what
> > CPU are you building on ?

Intel(R) Core(TM) i7 CPU 970 @ 3.20GH
all compilation done within a / tmpfs 40G 

Recompilation is done in 2 phases, first the tool-chain (automatic make
sequence)
then recompile everything within the previously builded tool-chain
building process is all "all automatic" (> 1000
utilities/tools/applications)
duration is around 5 hours.

Here is my finding (everything equal beside the glibc binutils version
(kernel-5.10.13))
glibc     binutils
2.32      2.35.1  compilation successful all the way
2.33      2.36.1         compilation stop at kernel (segmentation
fault)
 kernel is among the  last components to
be build
2.33      2.35.1 webkitgtk (2.30.4) compilation error,
compilation sequence
 make webkitgtk to be compiled before
kernel.  
 (but manual request to compile kernel
is successful)
2.32      2.36.1 segmentation fault on kernel
compilation (manual request)

Manual request about kernel, mean I didn't wait for all packages
to be compiled but building context is good enough to have 
kernel compilation to be successful.

At first, I beleived only binutils-2.36.1 was the problem, seems
interaction between glibc+binutils are subtle.

IMHO:
at that stage, modification done to low level components
as glibc, binutils should be transparent to a (proved
working) building process.

So we have; my bet; something fishy, hidden somewhere
within both glibc and binutils. 

could someone else confirm my data with its own

Re: [lfs-support] Compile error glibc2.33 -> binutils-2.36.1

2021-02-09 Thread Jean-Marc Pigeon
Hello,
On Tue, 2021-02-09 at 18:27 +, Ken Moffat wrote:
> On Tue, Feb 09, 2021 at 12:29:14AM +, Ken Moffat wrote:
> > On Mon, Feb 08, 2021 at 03:52:35AM +, Ken Moffat wrote:
> > > 
> > > ../configure --prefix=/usr    \
> > >  --disable-werror \
> > >  --enable-kernel=3.2  \
> > >  --enable-stack-protector=strong  \
> > >  --with-headers=/usr/include  \
> > >  libc_cv_slibdir=/lib
> > > libc_cv_include_x86_isa_level=no
> > > 
> > > I've started the native build, but the machine is slow (i3, slow
> > > DRAM) and I'm not sure it will get very far before I go to bed. 
> > > My
> > > revised plan is to wait for it to fail, whether that is failign
> > > the
> > > build or failing to boot.
> > > 
> > > Assuming it does fail, I'll start again with that workaround.
> > > 
> > Well I don't need that workaround for using '-march=native -O2' on
> > my skylake, it booted successfully.  Fortunately, Frans said it
> > works for him, and htat distros are using it, so I guess we too
> > should use it.
> > 
> > However, there was one problem other than my own typos in editing
> > scripts - tried to build linux-5.10.13 -
> > 
> >   CC  arch/x86/kernel/apic/apic.o
> > make[3]: *** [scripts/Makefile.build:279:
> > arch/x86/kernel/apic/apic.o] Segmentation fault
Exact same problem here (not a memory problem, or very big
"cosmic ray"). same problem on kernel-5.10.9 too.
this happen using glibc-2.33 AND binutils-2.36.1

rebuilding from scratch using binutils-2.36.1 and keeping
glibc-2.32 make the segmentation fault (I previously restarted
build from scratch with glibc-2.32 + binutils-2.35.1, kernel
compilation was OK).
My conclusion, binutils is the trouble maker.
Could somebody confirm this finding?
Google is mute on this subject but may be my search
keywords were not that good.
advices? suggestions?

> > 
> > Feb  8 20:45:13 leshp klogd: [62379.838193] objtool[10870]:
> > segfault at 70 ip 0040c13e sp 7ffd0f655670 error 4 in
> > objtool[402000+11000]
> > followed by a dump of the code bytes.
> > 
> > Decided to try 5.10.14 just in case, but that failed the same way,
> > on the same file (freshly extracted 5.10 source, freshly patched to
> > .14).  Then I tried 5.11.0-rc7 and that built without problems.
> > 
> > My initial guess is that the memory has gone faulty, so I booted
> > memtest86.  That is currently part-way through the second of four
> > passes, no errors found so far.  Maybe it was the old "cosmic rays"
> > problem, maybe an error will show before memtest86 finishes, or
> > maybe binutils-2.36.1 still has a problem with something in the
> > kernel.
> > 
> > I suppose I'd better go back to updating the rest of my scripts so
> > that I can try builds on haswell and zen1 with -march=native.+
> > 
> 
> Left memtest86 running, all tests ok, but then I noticed it had only
> used one core (the default).  Went back to the CPU options, but both
> parrallel (all cores) and round robin quickly reported that UEFI had
> failed to start CPU2.  My LFS systems on hat machine use the bios, I
> suspect the UEFI problem is par for the course on lower-end
> machines from that date.
> 
> I then booted the new svn system again (5.11.0-rc7) and tried to
> build 5.10.13, 5.10.12, 5.10.15-rc1 : all again failed with a
> segfault.  I'll give it another try with the extra libc_cv setting
> just in case, but probably not for a few days.
> 
> First, I'm running memtest86 on my oldest ryzen before trying to
> build that with -march=native -O3 (again, without the additional
> libc_cv).
> 
> ĸen
> -- 
> Any attempt to brew coffee with a teapot should result in the error
> code "418 I'm a teapot". The resulting entity body MAY be short and
> stout. -- rfc 2324 (1st April 1998)
> 

-- 
You have seen "Linux from scratch" and looking for ISO files
www.osukiss.org

-- 
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] su: Cannot drop the controlling terminal - 6.25 GCC

2020-04-30 Thread Jean-Marc Pigeon
Bonjour Alan,


On Thu, 2020-04-30 at 20:34 +0800, dev o wrote:
> Good evening,
> 
> With no more suggestions coming forward, I suppose that all
> troubleshooting options have already been exhausted on this issue.  
> In that case, I guess it is time to wipe the host and start fresh
> with a newly installed distro right?
> 
> In
>  my first attempt, I broke an ubuntu host, and I received a
> suggestion 
> to try debian instead.  Now I appear to have used LFS to break a
> debian 
> host as well so are there any suggestions on the next distro to try
> to 
> maybe have success in this LFS journey?
> 
> Thank you, take care,
> Allan
> 
> 

As you must/need to start with fresh host, may be you can use an
LFS ISO to prepare an LFS HOST, then build your own on it.

May I suggest to us
https://okrepo.safe.ca/osukiss/9.1/isos/RESCUE-LFS-9.1-1.78.1-x86_64.iso

It is a build on a rather new LFS (Mar 9) and can be used too as
reference
while you are building your one.
My 2 cents.
Keep me posted if you need help (on private channel).

-- 
You have seen "Linux from scratch" and looking for ISO files
www.osukiss.org
-- 
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-dev] LFS-9.1-rc1 is released (make-4.3)

2020-02-14 Thread Jean-Marc Pigeon
Hello Bruce,


On Fri, 2020-02-14 at 14:27 -0600, Bruce Dubbs via lfs-dev wrote:
> The Linux From Scratch community announces the release of LFS Version
> 9.1-rc1. It is a preliminary release of LFS-9.1.
> 
> Major changes include toolchain updates to binutils-2.34 and glibc-
> 2.31. 
> In total, 36 packages were updated since the last release. Changes
> to 
> the text have also been made throughout the book. The Linux kernel
> has 
> also been updated to version 5.5.3.
> 

Am I mistaken, or the Make-4.3 patches (openjdk) are not 
included within LFS-9.1
??

You have seen "Linux from scratch" and looking for ISO files
www.osukiss.org

-- 
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 and BLFS Version 9.0 are released (ISO file)

2019-09-05 Thread Jean-Marc Pigeon

On 09/01/2019 01:54 PM, Bruce Dubbs wrote:

The Linux From Scratch community is pleased to announce the release of
LFS Version 9.0, LFS Version 9.0 (systemd), BLFS Version 9.0, and BLFS
Version 9.0 (systemd).

This release is a major update to both LFS and BLFS.

The LFS release includes updates to glibc-2.30, and gcc-9.2.0.  A total
of 33 packages have been updated. Changes to text have been made
throughout the book. The Linux kernel has also been updated to version
5.2.8.

The BLFS version includes approximately 1000 packages beyond the base
Linux From Scratch Version 9.0 book. This release has over 850 updates
from the previous version in addition to numerous text and formatting
changes.

The System V version of the book now has added Gnome as an additional
desktop environment in addition to the previous KDE/plasma, xfce, and
lxde environments.

Thanks for this release goes to many contributors.  Notably:

Douglas Reno
DJ Lucas
Ken Moffat
Thomas Trepl
Pierre Labastie
Tim Tassonis
Xi Ruoyao

You can read the books online[0]-[3], or download[4]-[7] to read locally.

Please direct any comments about this release to the LFS development
team at lfs-...@linuxfromscratch.org or blfs-...@linuxfromscratch.org.
Registration for the mailing lists is required to avoid junk email.

   -- Bruce Dubbs
  LFS

[0] http://www.linuxfromscratch.org/lfs/view/9.0/
[1] http://www.linuxfromscratch.org/blfs/view/9.0/
[2] http://www.linuxfromscratch.org/lfs/view/9.0-systemd/
[3] http://www.linuxfromscratch.org/blfs/view/9.0-systemd/

[4] http://www.linuxfromscratch.org/lfs/downloads/9.0/
[5] http://www.linuxfromscratch.org/blfs/downloads/9.0/
[6] http://www.linuxfromscratch.org/lfs/downloads/9.0-systemd/
[7] http://www.linuxfromscratch.org/blfs/downloads/9.0-systemd/



Many thanks to the team, the achieved task is not an easy one.


An ISO file named:
RESCUE-LFS-9.0-1.56.15-x86_64.iso (556MBytes)
is now available at
https://osukiss.safe.ca//downloads.php?ver=9.0

It can be used in 2 ways:
1) "Search and rescue", using that ISO as booting USB key,
in case you have a major trouble with your Building.
2) A "seed", using tools as Virtual Manager to install
   an LFS-9.0 dev workbench (kernel, compiler,...) and start
   your LFS build.

We try our best to have "fresh" ISO matching LFS "development Book"
progress, this time we got a delay with boost-1.70 impacting a top
level application build.

Hoping this ISO can help LFS book users.



--
seen "Linux from scratch" and looking for ISO files
www.osukiss.org



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
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] LFS-8.4-1.32.2-rescue-x86_64.iso available

2019-03-06 Thread Jean-Marc Pigeon

Hello LFS Team.

Thanks for LFS-8.4 release.
From the 8.4 release components, I have made an ISO available at
www.osukiss.org/download.php

Using the ISO file (LFS-8.4-1.32.2-rescue-x86_64.iso)
there an automatic boot as root and an dialog script is
automatically started.
This ISO include ALL stable LFS-8.4 components

Dialog script give mainly two options:
- Simple install procedure after disk selection.
- Access current hardware system in rescue mode

This ISO can be used to rescue you current LFS or
to install an LFS as starting point to work on BBLFS.

Notes:
1) ISO is a sysvinit system
2) Network LAN is set using dhclient, you need
to have dhcp server on your LAN (no WIFI for now)
3) ISO boot process start an sshd by default; provided
you set the root password; you can access your
station from remote.
Such you can access your station/server with multiple
window console and make the rescue easier.

I am making this ISO available as a way to thanks the LFS team for all
job done to make upstream code usable, consistent and workable.

Hoping this can be helpful to someone.


--
seen "Linux from scratch" and looking for ISO files
www.osukiss.org



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
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 8.3 GRUB Compilation Errors

2019-02-07 Thread Jean-Marc Pigeon

Bonjour Vaughan,

On 02/07/2019 09:45 AM, Vaughan Butler wrote:

For those attempting to install GRUB from the tarball, (I suspect very
few), there are a couple of compilation errors.

I managed to fix these using info found on the web for:

/In file included from grub-core/disk/ldm.c:26://
//./include/grub/gpt_partition.h:79:1: error: alignment 1 of ‘struct
grub_gpt_partentry’ is less than 8 [-Werror=packed-not-aligned]//
// } GRUB_PACKED;/

https://github.com/Marcel-Lambacher/TrustedGRUB2/pull/1/commits/f7c7ddd4dcb2ead8c02efa1b761097ef8e117c19
/
//grub_script.yy.c: In function 'yy_fatal_error':/

https://build.opensuse.org/package/view_file/Base:System/grub2/grub2-fix-build-with-flex-2.6.4.patch?expand=0

HTH

Vaughan



I do not confirm, there is warning, but no error (what am I missing here?).
Compiled grub is used to boot (so it is functionnal).

on my side:
gcc-8.2.0
grub-2.0.2

My compilation procedure is not "LFS pure" (but close enough)

./autogen.sh
BUILD_FREETYPE=no   \
./configure \
--prefix=%{_prefix} \
--exec-prefix=%{_exec_prefix}   \
--sysconfdir=%{_sysconfdir} \
--sbindir=%{_sbindir}   \
--mandir=%{_mandir} \
--libdir=%{_libdir} \
--infodir=%{_infodir}   \
--docdir=%{_defaultdocdir}/%{name}-%version \
--disable-efiemu\
--disable-werror\
--disable-grub-mkfont   \




--
seen "Linux from scratch" and looking for ISO files
www.osukiss.org



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
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 binaries

2018-09-14 Thread Jean-Marc Pigeon

On 09/14/2018 01:23 PM, JD wrote:

Hi,
where can I find prebuilt lfs binaries for intel 64bit arch?




If you want to quickly have a feeling of LFS and rebuild
on it, you cans download the ISO
https://okrepo.safe.ca/osukiss/8.3/isos/LFS-8.3-0.10-39-rescue-x86_64.iso

You can install it, or use yum to install needed tools (gcc, make, etc.)
on the live itself (Or rescue your LFS).

Hope this help.


--

A bientôt
===
Jean-Marc PigeonE-Mail: j...@safe.ca
SAFE Inc. Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
 Clement' Home base <"http://www.clement.safe.ca;>
===



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
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-8.2: Chapter 6 Python3

2018-09-08 Thread Jean-Marc Pigeon

Hello Bruce,

On 09/08/2018 08:20 PM, Bruce Dubbs wrote:

On 09/08/2018 05:52 PM, scrat wrote:

FYI


Unpacked the python3 tar ball and it seems that the files: Lib/cgi.py
T and Tools/pybench/pybench.py contain a bang line of
!/usr/local/bin/python


I don't know if it causes any errors, but the patched version I
complied is working so far as I use python3 with rpm package manager

I found the following tid bit in a rpm source file that i found
looking on the internet  and  used it to patch the files

 #removing reference to /usr/local/bin/python within
 #files to avoid a false dependencies
 sed -i\
 -e 's:^#!./usr/local/bin/python:#!/usr/bin/python:'\
 -e 's:^#!/usr/local/bin/python:#!/usr/bin/python:'\
 Lib/cgi.py\
 Tools/pybench/pybench.py

Here is what I did

 sed -i\
 -e 's:^#!./usr/local/bin/python:#!/usr/bin/python:'\
 -e 's:^#!/usr/local/bin/python:#!/usr/bin/python:'\
 Lib/cgi.py\
 Tools/pybench/pybench.py
 ./configure \
 --prefix=%{_prefix} \
 --enable-shared \
 --with-system-expat \
 --with-system-ffi \
 --with-ensurepip=yes


First of all, you can make the sed a lot simplier:

sed -i '/^#!.*local\//s|local/||' Lib/cgi.py Tools/pybench/pybench.py

or even

sed -i '1 s|local/||' Lib/cgi.py Tools/pybench/pybench.py

Second, pybench.py is not installed by default.

Third, there is this:

# NOTE: the above "/usr/local/bin/python" is NOT a mistake.  It is
# intentionally NOT "/usr/bin/env python".  On many systems
# (e.g. Solaris), /usr/local/bin is not in $PATH as passed to CGI
# scripts, and /usr/local/bin is the default directory where Python is
# installed, so /usr/bin/env would be unable to find python.  Granted,
# binary installations by Linux vendors often install Python in
# /usr/bin.  So let those vendors patch cgi.py to match their choice
# of installation.

Finally, I'll note that this is the first come this has come up.  cgi.py
is for using cgi type capabilities when creating scripts for a web
server.  This has been deprecated for quite a few years now.  The only
reason is is still in Python at all is for legacy web sites.

If users need this, they should be able to figure it out on their own.

   -- Bruce

As the original code writer (I do recognize my "style" :-}) let me give
my 2 cents
- My sed substitution is a very big overkill (trying to make 105% sure
  not the change other code part). your proposal is better (thank Bruce)
- seems scrat went on OUSKISS repository and look for RPM solution
  (no problem scrat, sharing and improving ideas and solutions is always
   good).
  The problem is RPM refusing to install python3 as there is
  implied dependency with a none existing path.
- IMHO, this RPM problem/solution doesn't concern LFS, as
  it is pure RPM problem and LFS do not address packaging issue.
  Such adding this "twist" is not relevant to LFS book (my 2 Cents).
--

A bientôt
=======
Jean-Marc PigeonE-Mail: j...@safe.ca
SAFE Inc. Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
 Clement' Home base <"http://www.clement.safe.ca;>
===



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
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 Version 8.3 released, livecd, PXE

2018-09-05 Thread Jean-Marc Pigeon

Hello,

On 09/05/2018 03:27 PM, Bruce Dubbs wrote:

On 09/05/2018 01:31 PM, Jean-Marc Pigeon wrote:

Hello Bruce.


[..]


My kernel config for the wired connection is:

CONFIG_NET_VENDOR_ATHEROS=y
CONFIG_ATL2=m
CONFIG_ATL1=m
CONFIG_ATL1E=m
CONFIG_ATL1C=m
CONFIG_ALX=m

The ALX module is loaded in my case.

$ lsmod|grep alx
alx40960  0
mdio   16384  1 alx

I will try this on a more generic system tomorrow at school.

Great work so far.



picutils will be part of next rescue-iso (my mistake)
'which' will be included too.


Thanks.


Included kernel is configured with the exact same config
as yours.but.. CONFIG_ALX is NOT set!...
(see file /boot/config-4.18.1-0.10.29.ok_8.3 once
you have the iso booted).
This is mot likely the problem, as eudev is not able to discover
WIFI card and populate /sys/class/net


What I should get is:

$ ls /sys/class/net
eth0  lo  wlan0

Setting CONFIG_ALX should do it for the eth0 connection.  The firmware
is needed for wlan0, but I'm OK without it.

   -- Bruce


Let me generate a new rescue ISO including your findings.


I look forward to it.

   -- Bruce

New Rescue ISO:
https://okrepo.safe.ca/osukiss/8.3/isos/LFS-8.3-0.10-39-rescue-x86_64.iso

This include terminus-font and /etc/sysconfig/console is
preset to FONT=ter-128n.
(nice font, I was not aware about terminus-font, thank
for the hint).

alx module part of kernel.

kernel-firmware-20180807 is available via 'yum'. Provided
you have eth0 up and running (dhcp-client) with a default route
and /etc/resolv.conf contents set via your dhcp server config.

Keep me posted.

--

A bientôt
===
Jean-Marc PigeonE-Mail: j...@safe.ca
SAFE Inc. Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
 Clement' Home base <"http://www.clement.safe.ca;>
===



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
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 Version 8.3 released, livecd, PXE

2018-09-05 Thread Jean-Marc Pigeon

Hello Bruce.

On 09/05/2018 12:03 PM, Bruce Dubbs wrote:
[..]


Suggestion from Bruce, have been implemented.

I generated an ISO, which should be usefull in
case you need to fix your LFS.
yum and rpm is included within the ISO, such,
if a tools is missing, you can download it easy
enough. (size is 334 Mbytes)
URL:
https://okrepo.safe.ca/osukiss/8.3/isos/LFS-8.3-rescue-x86_64.iso

Hoping that help LFS users.


Much better.  I was able to boot this on my laptop.  It takes about 30
seconds to copy and set things up.  The iso size, only 334 MiB, is nice.

There are still a few issues:

1. The 'which' command is not present.  The workaround is to use 'type -p'

2. lspci is not present.

3. I'd like a way to set a default for language during the boot sequence
and possibly a font.  I like to use terminus fonts, specifically in my
case ter-128n.  http://terminus-font.sourceforge.net/

4. It does not recognize either my wired or wireless card.  The output
of 'ls /sys/class/net'  is only 'lo'.  The wireless issue is probably
because firmware (iwlwifi-7260-17.ucode) is not available.  However, I
do not think that you should need to install firmware on the iso.

$ lspci|grep -i net
01:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
07:00.0 Ethernet controller: Qualcomm Atheros AR8161 Gigabit Ethernet
(rev 10)

My kernel config for the wired connection is:

CONFIG_NET_VENDOR_ATHEROS=y
CONFIG_ATL2=m
CONFIG_ATL1=m
CONFIG_ATL1E=m
CONFIG_ATL1C=m
CONFIG_ALX=m

The ALX module is loaded in my case.

$ lsmod|grep alx
alx40960  0
mdio   16384  1 alx

I will try this on a more generic system tomorrow at school.

Great work so far.

   -- Bruce

picutils will be part of next rescue-iso (my mistake)
'which' will be included too.

Included kernel is configured with the exact same config
as yours.but.. CONFIG_ALX is NOT set!...
(see file /boot/config-4.18.1-0.10.29.ok_8.3 once
you have the iso booted).
This is mot likely the problem, as eudev is not able to discover
WIFI card and populate /sys/class/net

Let me generate a new rescue ISO including your findings.
(Many thanks).


--

A bientôt
===
Jean-Marc PigeonE-Mail: j...@safe.ca
SAFE Inc. Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
 Clement' Home base <"http://www.clement.safe.ca;>
===



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
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 Version 8.3 released, livecd, PXE

2018-09-05 Thread Jean-Marc Pigeon
 tty[0-7]\
ram[0-7]\
zero\
null\
$(OKFS)/dev;\
 )
   @ sudo yum   \
--releasever=$(OKNUM)   \
--installroot=$(OKFS)   \
clean all
   @ sudo yum   \
-y  \
--installroot=$(OKFS)   \
--releasever=$(OKNUM)   \
install \
$(RELEASE)  \
installok   \
$(HOMER)
   @ # to remove safe.repo from official release
   @ (  \
 if [ -z "$(HOMER)" ] ; then  \
   sudo rm -fr  \
$(OKFS)/etc/yum.repos.d/safe.repo ; \
   fi   \
 )
   @ # do not duplicate madm.conf information in release
   @ sudo rm -f $(OKFS)/etc/mdadm.conf
   @ sudo cp -a $(OKFS)/boot $(OKCD)
   @ sudo umount $(OKIMG)
   @ sudo mkdir -p $(LIVEOS)
   @ sudo mksquashfs $(OKIMG) $(LIVEOS)/squashfs.img
   @ sudo rm -fr $(OKFS)

#to generate a block file   
okimage :
   @ - sudo umount $(OKIMG)
   @ sudo rm -fr $(OKIMG)
   @ sudo dd if=/dev/zero of=$(OKIMG) bs=1M count=2600
   @ sudo mke2fs -t ext4 -L ext4fs.img $(OKIMG)



--

A bientôt
=======
Jean-Marc PigeonE-Mail: j...@safe.ca
SAFE Inc. Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
 Clement' Home base <"http://www.clement.safe.ca;>
===



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
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 Version 8.3 released, livecd, PXE

2018-09-05 Thread Jean-Marc Pigeon

Hello,


On 09/03/2018 02:12 AM, Bruce Dubbs wrote:

On 09/02/2018 11:44 PM, Jean-Marc Pigeon wrote:

Hello,


Many thanks to the team for 8.3 Release 'Well done".

Just to let know to the list, I have a 8.3 liveCD and PXE build
using the LFS book and available at URL
https://osukiss.safe.ca//downloads.php

Packaging used is RPM and yum.


[..]

A lot of the packages I see (e.g. crond, atd, dovecot, etc) are not
needed if the iso is to be used as a rescue system.  About the only
things I would want are ssh, wget, and a text browser like links.
It would also be better to have a dhcpcd available, but not started
automatically at boot.

Perhaps there should be a few command line utilities also like pciutils,
usbutils, net-tools, gdisk, parted, etc.

   -- Bruce


Suggestion from Bruce, have been implemented.

I generated an ISO, which should be usefull in
case you need to fix your LFS.
yum and rpm is included within the ISO, such,
if a tools is missing, you can download it easy
enough. (size is 334 Mbytes)
URL:
https://okrepo.safe.ca/osukiss/8.3/isos/LFS-8.3-rescue-x86_64.iso

Hoping that help LFS users.



--

A bientôt
===
Jean-Marc PigeonE-Mail: j...@safe.ca
SAFE Inc. Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
 Clement' Home base <"http://www.clement.safe.ca;>
===



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
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 Version 8.3 released, livecd, PXE

2018-09-03 Thread Jean-Marc Pigeon

Hello,
On 09/03/2018 02:12 AM, Bruce Dubbs wrote:

On 09/02/2018 11:44 PM, Jean-Marc Pigeon wrote:

Hello,


Many thanks to the team for 8.3 Release 'Well done".

Just to let know to the list, I have a 8.3 liveCD and PXE build
using the LFS book and available at URL
https://osukiss.safe.ca//downloads.php

Packaging used is RPM and yum.


[..]

This is a very cool idea, but it does not work for me.  It gets to ntpd
and hangs.  There is something about a download and waiting 10 minutes.

Is this a systemd based system?  If so, can you build a minimal System V
system?

A lot of the packages I see (e.g. crond, atd, dovecot, etc) are not
needed if the iso is to be used as a rescue system.  About the only
things I would want are ssh, wget, and a text browser like links.
It would also be better to have a dhcpcd available, but not started
automatically at boot.

Perhaps there should be a few command line utilities also like pciutils,
usbutils, net-tools, gdisk, parted, etc.


- it is systemV
- NTPD is trying to load the the file "leap-seconds.list", my guess is
  your DHCP serveur is not providing default route or DNS.
- pciutil, gdisk, wget, sshd  are included in liveCD,
  "linksi" applcation is available (via yum)
  net-tools is not (yet?) available, but inetutils is within
  livecd.
  usbutils not available, but will be included in liveCD.


   Thanks Bruce, I liked you comment.
Matter of fact LiveCD was designed as a demo+install tool
(demo: do we have a minimal workable LFS system set of commands,
install: do we have tools to quickly install/duplicated on system
disk).

But for Rescue process, components as atd, dovecot, ntpd are indeed huge 
 overkill.

Give me few days to build and validate a "LFS rescue liveCD".



   -- Bruce




--

A bientôt
=======
Jean-Marc PigeonE-Mail: j...@safe.ca
SAFE Inc. Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
 Clement' Home base <"http://www.clement.safe.ca;>
===



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
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] LFS Version 8.3 released, livecd, PXE

2018-09-02 Thread Jean-Marc Pigeon

Hello,


Many thanks to the team for 8.3 Release 'Well done".

Just to let know to the list, I have a 8.3 liveCD and PXE build
using the LFS book and available at URL
https://osukiss.safe.ca//downloads.php

Packaging used is RPM and yum.

My main purpose is to have HOSTs (LFS-8.3) and containers
(Centos, LFS, etc..) and replace openVZ productions system.
(Openvz is a very, very good project but, sadly,fading away :-{ )

Livecd was build (today and from scratch) within an 8.3 container
within a ZFS file system and a 8.3 HOST  (production system)

Hoping this liveCD can be of some use for people interested by LFS.
LiveCD is booting under legacy mode (not EFI) on various system
(Dual processor server).

Thank again to Bruce, Ken, Pierre and all contributors, without
their work and sagacity, my little project would not have been possible.


--

A bientôt
===
Jean-Marc PigeonE-Mail: j...@safe.ca
SAFE Inc. Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
 Clement' Home base <"http://www.clement.safe.ca;>
===



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
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] linuxfromscratch.org site down?

2018-06-21 Thread Jean-Marc Pigeon

Hello

Web site (HTTP) is not responding (> one houre).
Ping (ICMP) is still responding

Trouble with Apache Server?

--

A bientôt
===
Jean-Marc PigeonE-Mail: j...@safe.ca
SAFE Inc. Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
 Clement' Home base <"http://www.clement.safe.ca;>
===



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
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] Install LFS while running from USB

2018-06-09 Thread Jean-Marc Pigeon

On 06/10/2018 12:09 AM, Rob wrote:

I got my hands on a HP Z220 workstation. I was going to install LFS
and make it a raid box for network storage.
I only want one OS on the internal drive. Is it possible to install
LFS while running off a live USB stick?
My thought was to use arch linux as the temporary host. Any caveats?


May be this could help you
https://okrepo.safe.ca/osukiss/1.8.2/isos/osukiss-1.8.2.iso


This an LFS-8.2 ISO, you can start from an USB key and run as
a live image.

The install procedure (to install on disks from live),
set it in softraid if you allocate more then one disk.


--

A bientôt
===
Jean-Marc PigeonE-Mail: j...@safe.ca
SAFE Inc. Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
 Clement' Home base <"http://www.clement.safe.ca;>
===



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
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 website is down? Anyone meets this problem?

2018-05-10 Thread Jean-Marc Pigeon

Bonjour,

I do confirm, Same problem here site is down

On 05/10/2018 09:54 AM, Douglas R. Reno wrote:



On Thu, May 10, 2018 at 8:48 AM, niuneilneo <niuneil...@gmail.com
<mailto:niuneil...@gmail.com>> wrote:

I am unable to access all the website pages belonged to the
*.linuxfromscratch.org <http://linuxfromscratch.org>
   domain. My system time is Thu May 10 13:45:59 UTC 2018.

Lei Niu

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
<http://lists.linuxfromscratch.org/listinfo/lfs-support>
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
<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
<http://en.wikipedia.org/wiki/Posting_style>


I've been seeing this problem as well.

I get a ERR_CONNECTION_REFUSED out of my browser.





--

A bientôt
=======
Jean-Marc PigeonE-Mail: j...@safe.ca
SAFE Inc. Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
 Clement' Home base <"http://www.clement.safe.ca;>
===



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
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-8.1-rc1 is released

2017-08-16 Thread Jean-Marc Pigeon

On 08/16/2017 06:24 PM, jfl wrote:

please don't ever go to systemd exclusively. the reason i'm here at lfs -
finally - is to get away from systemd. you might poll the people who've
actually built an lfs system for their opinions. i personally wouldn't
mind at all if you spent the time you're spending on systemd on other
aspects of the system. everything about systemd stinks of big brother.
that's just this one man's opinion, of course.


100% agreed
Personal experience...
systemd make "good hardware" unreliable and unpredictable.






The Linux From Scratch community announces the release of LFS Version
8.1-rc1. It is a preliminary release of LFS-8.1.

Major changes include toolchain updates to glibc-2.25, binutils-2.29, and
and gcc-7.2.0.  In total, 32 packages were updated since the last release.
Changes to the text have also been made throughout the book.  The Linux
kernel has also been updated to version 4.12.7.

We encourage all users to read through this release of the book and test
the instructions so that we can make the final release as good as
possible.

You can read the book online [0], or download [1] to read locally.

In coordination with this release, a new version of LFS using the systemd
package is also being released. This package implements the newer systemd
style of system initialization and control and is consistent with LFS in
most packages.

You can read the systemd version of the book online [2], or download [3]
to read locally.

-- Bruce

[0] http://www.linuxfromscratch.org/lfs/view/8.1-rc1/
[1] http://www.linuxfromscratch.org/lfs/downloads/8.1-rc1/
[2] http://www.linuxfromscratch.org/lfs/view/8.1-systemd-rc1/
[3] http://www.linuxfromscratch.org/lfs/downloads/8.1-systemd-rc1/
--
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








--

A bientôt
===
Jean-Marc PigeonE-Mail: j...@safe.ca
SAFE Inc. Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
 Clement' Home base <"http://www.clement.safe.ca;>
===



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
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] version 7.5 5.20 file-5.17 make problem, libz.so.1 Solved

2014-08-23 Thread Jean-Marc Pigeon

Bonjour Chris,

Quoting Chris Staub ch...@beaker67.com:


On 08/22/14 20:07, Jean-Marc Pigeon wrote:

Hello,

Follow up on my last week email.

Found why I was getting:
error while loading shared libraries: libz.so.1: cannot open shared
object file
while compiling 'file' (LFS ersion 7.5  5.20 file-5.17 )

Problem was not a step missed within LFS, problem was caused by the fact
HOST had zlib-devel package installed.

configure --prefix=/tool
is checking outside of /tools to detect if zlib is installed.
Didn't find a way within configure to specify 'look only within /tools
dir'.
My solution was to remove the zlib-package altogether from the host
itself...
Hope this will help someone else.



If the book's instructions were followed correctly, the toolchain in
/tools won't look on the host at all. Therefore, there is no need to
remove any package from the host for this kind of problem. What you
need to do is double-check the commands you used to verify you have
followed the book's instructions. For example, exactly what in
configure output/config.log tells you that it is looking outside of
/tools?
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Many Thanks, for the comments, I figure that too later on,
everything was fine until 5.33. Util-linux-2.24.1.
not able to link (librt.so`__pthread_get_minstack@GLIBC_PRIVATE')
I follow the book at my best, but:
- Working within  VPS (openvz)
- x86_64
- doing all the jobs via RPM (binutils.spec, gcc.spec
and so on) within a Makefile.

I need to figure out where the toolchaine is still
looking at host itself.
Still my first comment about libz was in book plain
setup, so something is escaping me about setup.

Redoing the installation step by step with a
careful look at all config.log.
--
A bientôt
===
Jean-Marc PigeonE-Mail: j...@safe.ca
SAFE Inc. Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
 Clement' Home base http://www.clement.safe.ca;
===


smime.p7s
Description: S/MIME Cryptographic Signature
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] version 7.5 5.20 file-5.17 make problem, libz.so.1 Solved

2014-08-23 Thread Jean-Marc Pigeon


Quoting Ken Moffat zarniwh...@ntlworld.com:


On Sat, Aug 23, 2014 at 10:02:07AM -0400, Jean-Marc Pigeon wrote:

I follow the book at my best, but:
- Working within  VPS (openvz)
- x86_64
- doing all the jobs via RPM (binutils.spec, gcc.spec
and so on) within a Makefile.


 I will suggest that trying to use RPM while you are learning about
how LFS builds things is not a good idea.  Once you have
successfully built, and booted, LFS at least once then you can think
about using any package management system of your choice, if you
wish to.


:-}
I beg to desagree.
Makefile+spec bring me consistency, I can redo whole the process over and over
getting the same result (even if it is not successful) changing one
parameters, being sure previous step are done the same.
Make spec file force me to have a real understanding, going further
than cut and past.

:-}} Learning a lot



ĸen
--
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page



--
A bientôt
===
Jean-Marc PigeonE-Mail: j...@safe.ca
SAFE Inc. Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
 Clement' Home base http://www.clement.safe.ca;
===


smime.p7s
Description: S/MIME Cryptographic Signature
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] version 7.5 5.20 file-5.17 make problem, libz.so.1 Solved

2014-08-22 Thread Jean-Marc Pigeon

Hello,

Follow up on my last week email.

Found why I was getting:
error while loading shared libraries: libz.so.1: cannot open shared
object file
while compiling 'file' (LFS ersion 7.5  5.20 file-5.17 )

Problem was not a step missed within LFS, problem was caused by the fact
HOST had zlib-devel package installed.

configure --prefix=/tool
is checking outside of /tools to detect if zlib is installed.
Didn't find a way within configure to specify 'look only within /tools dir'.
My solution was to remove the zlib-package altogether from the host itself...
Hope this will help someone else.
--
A bientôt
===
Jean-Marc PigeonE-Mail: j...@safe.ca
SAFE Inc. Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
 Clement' Home base http://www.clement.safe.ca;
===


smime.p7s
Description: S/MIME Cryptographic Signature
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-support] Version SVN-20140815, GCC-4.9.1 - Pass 2, ld problem

2014-08-17 Thread Jean-Marc Pigeon

Bonjour,

Trying to have a better understanding with LSF, first following step
by step instruction (SVN-20140815)

Can't duplicate:
;-
echo 'main(){}'  dummy.c
cc dummy.c
readelf -l a.out | grep ': /tools'
;
Getting:
cc dummy.c
/usr/bin/ld: unrecognized option '-plugin'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status

Trace back the problem to be within
Binutils-2.24 - Pass 2
cp -v ld/ld-new /tools/bin
which create a /tools/bin/ld-new instead of  /tools/bin/ld
if I copy /tools/bin/ld-new to /tools/bin/ld, everything
is according documentation.

First, believed it was a typo mistake, but 7.5, 7.4 doc show the same,
so I must be overlooking something

Is ld to be named ld-new within /tools/bin?
If such what am I missing within the previous building step?,
I see no reference to linker to be named ld-new.
Many Thanks for your Help.

BTW, I am very impressed by LFS doc quality.

--
A bientôt
===
Jean-Marc PigeonE-Mail: j...@safe.ca
SAFE Inc. Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
 Clement' Home base http://www.clement.safe.ca;
===


smime.p7s
Description: S/MIME Cryptographic Signature
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-support] version SVN-20140815, file-5.19 make problem, (zlib)

2014-08-17 Thread Jean-Marc Pigeon

Bonjour,

Got trouble compile file-5.19. Complaining about zlib during make.
make[2]: Entering directory `/mnt/lfs/build/file-5.19/magic'
../src/file -C -m magic
/mnt/lfs/build/file-5.19/src/.libs/lt-file: error while loading shared
libraries: libz.so.1: cannot open shared object file: No such file or
directory.

Solution is to include zlib as part of
Constructing a Temporary System
and installing before the file-5.19 component.

--
A bientôt
===
Jean-Marc PigeonE-Mail: j...@safe.ca
SAFE Inc. Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
 Clement' Home base http://www.clement.safe.ca;
===


smime.p7s
Description: S/MIME Cryptographic Signature
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page