William Harrington | 19 Aug 18:59 2015

Ticket Additions and Updates

Greetings,

I have updated and added a bunch of tickets for our CLFS 3.1.0 Milestone.
Please review the tickets and provide some input.

In the past I have asked the community if anyone had an up to date
multilib patch. MIPS has changed a lot and the patch needs to be reworked.
I may look in the message history and see if I can find the last comment
about the multilib patch.

Most of the packages only require version and md5 hash updates to git.
A few packages require update, removal or addition of a few
description/commands.

It'd be wise to have a package freeze most likely toward the end of August
or beginning of September.

View tickets for the CLFS 3.1.0 Standard milestone at
http://trac.clfs.org/report/3

Sincerely,

William Harrington
hot@posteo.net | 7 Aug 13:59 2015
Picon

can't configure GRUB-2.00: flex is not found


Hi, I got a problem with configuring grub (configure: error: flex is not found).

Book-Version: 3.0.0-SYSVINIT
The host distribution: Debian Wheezy 7.8
The architecture of the host and target: Both x86_64
${CLFS_HOST}: x86_64-cross-linux-gnu
${CLFS_TARGET}: x86_64-unknown-linux-gnu
${BUILD64}: -m64
The package or section in which the problem was encountered: 7.10. (Book-Chapter), GRUB-2.00
Note whether you have deviated from the book at all: No, I haven't.
The exact error message or symptom received:

While configuring GRUB-2.00 I get the following error:

clfs <at> testmachine:/mnt/clfs/sources/grub-2.00$ ./configure --prefix=/tools \
>     --build=${CLFS_HOST} --host=${CLFS_TARGET} \
>     --disable-werror --enable-grub-mkfont=no --with-bootdir=tools/boot
checking build system type... x86_64-cross-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-unknown-linux-gnu-strip... x86_64-unknown-linux-gnu-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for cmp... cmp
checking for bison... bison
checking for x86_64-unknown-linux-gnu-ranlib... x86_64-unknown-linux-gnu-ranlib
(Continue reading)

hot@posteo.net | 6 Aug 14:14 2015
Picon

Shadow-4.2.1 compile error


Hello,

I can't find any solution concerning a compile error. Searched the
web, but haven't found anything, that's why I have to bother you. It
would be great if you could me out with the following compile error:

Book-Version: 3.0.0-SYSVINIT
The host distribution: Debian Wheezy 7.8
The architecture of the host and target: Both x86_64
${CLFS_HOST}: x86_64-cross-linux-gnu
${CLFS_TARGET}: x86_64-unknown-linux-gnu
${BUILD64}: -m64
The package or section in which the problem was encountered: 7.6. (Book-Chapter), Shadow-4.2.1
Note whether you have deviated from the book at all: No, I haven't.
The exact error message or symptom received:
While compiling shadow-4.2.1 I get the following error:

libtool: link: x86_64-unknown-linux-gnu-gcc -m64 -g -O2 -o userdel userdel.o  ../libmisc/libmisc.a ../lib/.libs/libshadow.a
x86_64-unknown-linux-gnu-gcc -m64 -DHAVE_CONFIG_H -I. -I.. -I../lib -I../libmisc
-DLOCALEDIR=\"/tools/share/locale\"   -g -O2 -MT usermod.o -MD -MP -MF .deps/usermod.Tpo -c -o
usermod.o usermod.c
usermod.c: In function 'process_flags':
usermod.c:1364:10: error: 'vflg' undeclared (first use in this function)
  if (   (vflg || Vflg)
          ^
usermod.c:1364:10: note: each undeclared identifier is reported only once for each function it appears in
usermod.c:1364:18: error: 'Vflg' undeclared (first use in this function)
  if (   (vflg || Vflg)
                  ^
(Continue reading)

Haines Brown | 24 May 14:12 2015
Picon

partitioning scheme

As work tapers off in a few months, I plan to do a CLFS cross
installation to an unused hard disk. I'm currently running Debian, and
in the past have done multiple cross installations with it.

The CLFS manual presumes a single partition, but I've always broken out
certain partitions (/usr/local, /home, /var, /tmp, sometimes /opt). Over
the years I've been able to anticipate the size of these
partitions. Should their size for CLFS be approximately the same as that
for Debian?

Haines Brown
William Harrington | 26 Apr 06:14 2015

Preparing for 3.1.0 release

Greetings CLFS users and developers,

It has been a while since some major updating has occurred with CLFS. Most of us devs have been quite busy and
while our own builds are up to date, the book is not. We are keeping notes during our current builds to update CLFS.

Please review the tickets at http://trac.clfs.org for the milestone 3.1.0 release.

We are updating to GCC 5.1.0, Binutils 2.25, and GLIBC 2.21.

There will mostly be version updates. Nothing out of the ordinary will be upgraded. In the next few weeks
there will be some more git activity. I do not know if ARM will make it in this release. It may be pushed to the
next release.

Sincerely, 
William Harrington
Jonathan Zeke | 10 Mar 02:45 2015
Picon

Does anyone have Python-2.7.8-multilib-1.patch?

This patch seems to have dropped off the internet. I can't find it anywhere on clfs.org or lfs.org, and googling turns up nothing but dead ends. I've tried to get by without it, but multilib won't work if I don't have it.

Thanks,
Jonathan
_______________________________________________
Clfs-support mailing list
Clfs-support <at> lists.clfs.org
http://lists.clfs.org/listinfo.cgi/clfs-support-clfs.org
Jonathan Zeke | 1 Mar 06:10 2015
Picon

(x86_64 Multilib) 18 errors when checking Automake

Hi All,
I'm having some trouble while making Automake. 
My Host system: AMD FX-8150 w/ 32Gb RAm Running Linux Mint 17.1

I'm building CLFS x_86_64 multilib with systemd

I'm currently in the book at 10.62. Automake-1.14.1. Here's the link: http://www.clfs.org/view/CLFS-3.0.0-SYSTEMD/x86_64/final-system/automake.html

Here's a link to test-suite.log : http://chopapp.com/#s1ic7l64

Two of the errors are due to linking to libfl.so instead of the static library. Its not at all new and I can find it in google. There is a patch to fix it that people keep referencing to, but I can't find the actual patch.

As for all the other errors, I just don't know enough to even begin.

If anyone needs any other information, just let me know.

Thanks in advance for your help.
 
_______________________________________________
Clfs-support mailing list
Clfs-support <at> lists.clfs.org
http://lists.clfs.org/listinfo.cgi/clfs-support-clfs.org
lux-integ | 11 Feb 22:12 2015

freshly minted clfs x86 multilib-build wont shell up

Greetings

I have just completed ( I hope ) an x86 multilib build )
( http://clfs.org/view/git/x86_64/  )
I am using stuff out of git
with modifications  such as 
linux-3.18.5
systemd-218

It refuses to boot
On startup it reports
[OK] reached target network
[5.123288] systemd[1] reached target Network
[5.123288] systemd[1] startup finished in 1.901s (kernel) 3.1345s = 5.016s  

( or some such )

but refuses to give a prompt.

I dont know if I have a file missing.

Initially I had an /etc/profile  as described here for sysemd-213
( http://clfs.org/view/git/x86_64/system-config/profile.html )

But I removed it.    As for systemd-218 I have been taking guidance from here
( http://www.linuxfromscratch.org/lfs/view/systemd/chapter07/network.html) 
onwards
( where there is no mention of /etc/profile )
But it made no difference.

Its as if the loopback interface is not being brought up.

Advice will be appreciated.

sicerelly
luxInteg
lux-integ | 11 Feb 19:52 2015

sub-level kernel patch in clfs recipes question

Greetings,

Can someone explain the reason for the use of  'sub-level' kernel patches' 
for example:-
xzcat ../patch-3.14.21.xz | patch -Np1 -i -

mentioned in clfs-builds :-
http://clfs.org/view/git/x86_64/cross-tools/linux-headers.html
and here
http://clfs.org/view/git/x86_64/final-system/linux-headers.html
and here
http://clfs.org/view/git/x86_64/bootable/kernel.html

( I am using linux-3.18.5 and the correspending patch-3.18.5.xz )           
For the first time I  applied  the required patch  in all three places   and 
when  I came to compile the kernel  -make failed 
Bit it compiled fine  without  the patch.

( I did  repeat runs  and executed 'make mrproper'  after applying the patch ) 
and make failed  every time.)

Comments welcomed.

Sincerely
luxInteg
lux-integ | 8 Feb 13:54 2015

clfs- x86_multilib_dev systemd-218 32-bit build question

Greetings,

I am having a go at clfs x86 multilib.  I have reached  here
(  http://clfs.org/view/git/x86_64/final-system/systemd.html )
 Systemd-213 as in the book compiles for 32-bit.

However systemd-213 is  almost a year old and I would like to use systemd-218.   
When I tried systemd-217 and -218 make ends like so

#----
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -m32 -std=gnu99 -
DHAVE_CONFIG_H -I.  -include ./config.h -DPKGSYSCONFDIR=\"/etc/systemd\" -
DSYSTEM_CONFIG_UNIT_PATH=\"/etc/systemd/system\" -
DSYSTEM_DATA_UNIT_PATH=\"/lib/systemd/system\" -
DSYSTEM_SYSVINIT_PATH=\"/etc/init.d\" -DSYSTEM_SYSVRCND_PATH=\"/etc/rc.d\" -
DUSER_CONFIG_UNIT_PATH=\"/etc/systemd/user\" -
DUSER_DATA_UNIT_PATH=\"/usr/lib/systemd/user\" -DCERTIFICATE_ROOT=\"/etc/ssl\" 
-DCATALOG_DATABASE=\"/var/lib/systemd/catalog/database\" -
DSYSTEMD_CGROUP_AGENT_PATH=\"/lib/systemd/systemd-cgroups-agent\" -
DSYSTEMD_BINARY_PATH=\"/lib/systemd/systemd\" -
DSYSTEMD_SHUTDOWN_BINARY_PATH=\"/lib/systemd/systemd-shutdown\" -
DSYSTEMD_SLEEP_BINARY_PATH=\"/lib/systemd/systemd-sleep\" -
DSYSTEMCTL_BINARY_PATH=\"/bin/systemctl\" -
DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"/bin/systemd-tty-ask-password-
agent\" -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"/usr/bin/systemd-stdio-bridge\" -
DROOTPREFIX=\"\" -DRANDOM_SEED_DIR=\"/var/lib/systemd/\" -
DRANDOM_SEED=\"/var/lib/systemd/random-seed\" -
DSYSTEMD_CRYPTSETUP_PATH=\"/lib/systemd/systemd-cryptsetup\" -
DSYSTEM_GENERATOR_PATH=\"/lib/systemd/system-generators\" -
DUSER_GENERATOR_PATH=\"/usr/lib/systemd/user-generators\" -
DSYSTEM_SHUTDOWN_PATH=\"/lib/systemd/system-shutdown\" -
DSYSTEM_SLEEP_PATH=\"/lib/systemd/system-sleep\" -
DSYSTEMD_KBD_MODEL_MAP=\"/usr/share/systemd/kbd-model-map\" -
DX_SERVER=\"/usr/bin/X\" -DUDEVLIBEXECDIR=\"/lib/udev\" -
DPOLKIT_AGENT_BINARY_PATH=\"/usr/bin/pkttyagent\" -
DQUOTACHECK=\"/usr/sbin/quotacheck\" -DKEXEC=\"/usr/sbin/kexec\" -
DLIBDIR=\"/usr/lib\" -DROOTLIBDIR=\"/lib\" -DTEST_DIR=\"/x86MultilibCHROOT-
b15BUILD/systemd-217/test\" -I ./src -I ./src/shared -I ./src/shared -I 
./src/network -I ./src/login -I ./src/journal -I ./src/timedate -I 
./src/timesync -I ./src/resolve -I ./src/resolve -I ./src/systemd -I 
./src/core -I ./src/core -I ./src/libudev -I ./src/udev -I ./src/udev/net -I 
./src/udev -I ./src/libsystemd/sd-bus -I ./src/libsystemd/sd-event -I 
./src/libsystemd/sd-rtnl -I ./src/libsystemd/sd-network -I ./src/libsystemd-
network -I ./src/libsystemd-terminal -Wp,-D_FORTIFY_SOURCE=2    -pipe -Wall -
Wextra -Wno-inline -Wundef -Wformat=2 -Wformat-security -Wformat-nonliteral -
Wlogical-op -Wsign-compare -Wmissing-include-dirs -Wold-style-definition -
Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -
Wsuggest-attribute=noreturn -Wmissing-prototypes -Wstrict-prototypes -
Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-
labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long -Wno-overlength-
strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-
result -Werror=overflow -Wdate-time -Wnested-externs -ffast-math -fno-common -
fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -ffunction-
sections -fdata-sections -fstack-protector -fstack-protector-strong -fPIE --
param=ssp-buffer-size=4 -ffat-lto-objects    -pthread -g -O2 -MT 
src/shared/libsystemd_shared_la-arphrd-list.lo -MD -MP -MF 
src/shared/.deps/libsystemd_shared_la-arphrd-list.Tpo -c -o 
src/shared/libsystemd_shared_la-arphrd-list.lo `test -f 'src/shared/arphrd-
list.c' || echo './'`src/shared/arphrd-list.c
libtool: compile:  gcc -m32 -std=gnu99 -DHAVE_CONFIG_H -I. -include ./config.h 
-DPKGSYSCONFDIR=\"/etc/systemd\" -
DSYSTEM_CONFIG_UNIT_PATH=\"/etc/systemd/system\" -
DSYSTEM_DATA_UNIT_PATH=\"/lib/systemd/system\" -
DSYSTEM_SYSVINIT_PATH=\"/etc/init.d\" -DSYSTEM_SYSVRCND_PATH=\"/etc/rc.d\" -
DUSER_CONFIG_UNIT_PATH=\"/etc/systemd/user\" -
DUSER_DATA_UNIT_PATH=\"/usr/lib/systemd/user\" -DCERTIFICATE_ROOT=\"/etc/ssl\" 
-DCATALOG_DATABASE=\"/var/lib/systemd/catalog/database\" -
DSYSTEMD_CGROUP_AGENT_PATH=\"/lib/systemd/systemd-cgroups-agent\" -
DSYSTEMD_BINARY_PATH=\"/lib/systemd/systemd\" -
DSYSTEMD_SHUTDOWN_BINARY_PATH=\"/lib/systemd/systemd-shutdown\" -
DSYSTEMD_SLEEP_BINARY_PATH=\"/lib/systemd/systemd-sleep\" -
DSYSTEMCTL_BINARY_PATH=\"/bin/systemctl\" -
DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"/bin/systemd-tty-ask-password-
agent\" -DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"/usr/bin/systemd-stdio-bridge\" -
DROOTPREFIX=\"\" -DRANDOM_SEED_DIR=\"/var/lib/systemd/\" -
DRANDOM_SEED=\"/var/lib/systemd/random-seed\" -
DSYSTEMD_CRYPTSETUP_PATH=\"/lib/systemd/systemd-cryptsetup\" -
DSYSTEM_GENERATOR_PATH=\"/lib/systemd/system-generators\" -
DUSER_GENERATOR_PATH=\"/usr/lib/systemd/user-generators\" -
DSYSTEM_SHUTDOWN_PATH=\"/lib/systemd/system-shutdown\" -
DSYSTEM_SLEEP_PATH=\"/lib/systemd/system-sleep\" -
DSYSTEMD_KBD_MODEL_MAP=\"/usr/share/systemd/kbd-model-map\" -
DX_SERVER=\"/usr/bin/X\" -DUDEVLIBEXECDIR=\"/lib/udev\" -
DPOLKIT_AGENT_BINARY_PATH=\"/usr/bin/pkttyagent\" -
DQUOTACHECK=\"/usr/sbin/quotacheck\" -DKEXEC=\"/usr/sbin/kexec\" -
DLIBDIR=\"/usr/lib\" -DROOTLIBDIR=\"/lib\" -DTEST_DIR=\"/x86MultilibCHROOT-
b15BUILD/systemd-217/test\" -I ./src -I ./src/shared -I ./src/shared -I 
./src/network -I ./src/login -I ./src/journal -I ./src/timedate -I 
./src/timesync -I ./src/resolve -I ./src/resolve -I ./src/systemd -I 
./src/core -I ./src/core -I ./src/libudev -I ./src/udev -I ./src/udev/net -I 
./src/udev -I ./src/libsystemd/sd-bus -I ./src/libsystemd/sd-event -I 
./src/libsystemd/sd-rtnl -I ./src/libsystemd/sd-network -I ./src/libsystemd-
network -I ./src/libsystemd-terminal -Wp,-D_FORTIFY_SOURCE=2 -pipe -Wall -
Wextra -Wno-inline -Wundef -Wformat=2 -Wformat-security -Wformat-nonliteral -
Wlogical-op -Wsign-compare -Wmissing-include-dirs -Wold-style-definition -
Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -
Wsuggest-attribute=noreturn -Wmissing-prototypes -Wstrict-prototypes -
Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-
labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long -Wno-overlength-
strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-
result -Werror=overflow -Wdate-time -Wnested-externs -ffast-math -fno-common -
fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -ffunction-
sections -fdata-sections -fstack-protector -fstack-protector-strong --
param=ssp-buffer-size=4 -ffat-lto-objects -pthread -g -O2 -MT 
src/shared/libsystemd_shared_la-arphrd-list.lo -MD -MP -MF 
src/shared/.deps/libsystemd_shared_la-arphrd-list.Tpo -c src/shared/arphrd-
list.c  -fPIC -DPIC -o src/shared/.libs/libsystemd_shared_la-arphrd-list.o
src/shared/arphrd-list.c:31:28: fatal error: arphrd-to-name.h: No such file or 
directory
 #include "arphrd-to-name.h"
                            ^
compilation terminated.

#-----

It is failing on the 
make libsystemd.la

I have not delved into  options for  compiling   sysemd but 
I looked at lfs (who are using systemd-218
 (  http://www.linuxfromscratch.org/lfs/view/systemd/chapter06/systemd.html )
and wonder if the recipe could be used to make  here the 32-bit systemd  and 
the next step systemd-64 bit in clfs multilib.,

OR  if workrounds are available to bypass the  build-failure described above.

Suggestions  welcomed.

sincerely
luxInteg
lux-integ | 6 Feb 12:02 2015

Erro building e2fsprog-1.42.12 on current clfs(development) x86-Multilib

Greetings,

I am having a go at clfs x86 multilib  (current development )
I reached here  
( http://clfs.org/view/git/x86_64/final-system/e2fsprogs-64bit.html )

Make ends like so
#------------------
gcc -m64 -c -I. -I../lib -I../../lib -g -O2 -DHAVE_CONFIG_H 
../../e2fsck/sigcatcher.c -o sigcatcher.o
gcc -m64  -Wl,-rpath-link,../lib -rdynamic -o e2fsck crc32.o dict.o unix.o 
e2fsck.o super.o pass1.o pass1b.o pass2.o pass3.o pass4.o pass5.o journal.o 
badblocks.o util.o dirinfo.o dx_dirinfo.o ehandler.o problem.o message.o 
quota.o recovery.o region.o revoke.o ea_refcount.o rehash.o profile.o 
prof_err.o logfile.o sigcatcher.o  ../lib/libquota.a ../lib/libext2fs.so 
../lib/libcom_err.so     ../lib/libe2p.so -lblkid  
/usr/bin/ld: journal.o: undefined reference to symbol 'uuid_unparse <at>  <at> UUID_1.0'
/lib64/libuuid.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:408: recipe for target 'e2fsck' failed
make[2]: *** [e2fsck] Error 1

#------------------

Advice would be appreciaed

sincerely
luxInteg

Gmane