Opened 9 years ago

Last modified 7 years ago

#1042 closed task

Coreutils 8.27 — at Version 17

Reported by: William Harrington Owned by: clfs-commits@…
Priority: major Milestone: CLFS Standard 3.1.0
Component: BOOK Version: CLFS Standard GIT
Keywords: Cc: berzerkula@…, jonathan@…, chris@…

Description (last modified by William Harrington)

Change History (18)

comment:1 by Martin Ward, 9 years ago

Patch is needed to cross compile , I used one of the gentoo patches plus there fix set -- man/*.x touch ${@/%x/1}

by Martin Ward, 9 years ago

comment:2 by William Harrington, 9 years ago

Do we even require the uname patch anymore? I haven't been using it.

I didn't see a reason to use config.cache for:

fu_cv_sys_stat_statfs2_bsize=yes
gl_cv_func_working_mkstemp=yes

Can anyone confirm?

comment:3 by William Harrington, 9 years ago

Do we want to use the i18n patch LFS uses for coreutils?

comment:4 by William Harrington, 9 years ago

Disable a test which fails with current version of Perl:

sed -i '/tests\/misc\/sort.pl/ d' Makefile.in

comment:5 by William Harrington, 9 years ago

Move chroot man page to man8:

mv -v /usr/share/man/man1/chroot.1 /usr/share/man/man8/chroot.8
sed -i s/\"1\"/\"8\"/1 /usr/share/man/man8/chroot.8

comment:6 by William Harrington, 9 years ago

Possibly move the following if users have scripts that require them in the /bin directory:

mv -v /usr/bin/{head,sleep,nice,test,[} /bin

comment:7 by William Harrington, 9 years ago

Milestone: CLFS Standard 3.1.0
Version: CLFS Standard GIT

in reply to:  1 comment:8 by William Harrington, 9 years ago

Replying to blackadder:

Patch is needed to cross compile , I used one of the gentoo patches plus there fix set -- man/*.x touch ${@/%x/1}

Confirmed. For Ch6 Coreutils we will need the noman patch and add:

set -- man/*.x
touch ${@/%x/1}

It built and installed without issue with i386 for x86_64.

Last edited 9 years ago by William Harrington (previous) (diff)

in reply to:  2 comment:9 by William Harrington, 9 years ago

Replying to kb0iic:

Do we even require the uname patch anymore? I haven't been using it.

I didn't see a reason to use config.cache for:

fu_cv_sys_stat_statfs2_bsize=yes
gl_cv_func_working_mkstemp=yes

Can anyone confirm?

I confirm for a multilib build from a 32 bit host.

comment:10 by William Harrington, 9 years ago

For chapter 6 we do the following:

set -- man/*.x
touch ${@/%x/1}
patch -Np1 -i ../coreutils-8.24-noman-1.patch 
./configure --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET} --enable-install-program=hostname
make
make install

in reply to:  10 comment:11 by Martin Ward, 9 years ago

Replying to kb0iic:

For chapter 6 we do the following:

set -- man/*.x
touch ${@/%x/1}
patch -Np1 -i ../coreutils-8.24-noman-1.patch 
./configure --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET} --enable-install-program=hostname
make
make install

Confirmed, works fine.

comment:12 by chris@…, 9 years ago

Coreutils 8.25 is now out.

comment:13 by William Harrington, 8 years ago

For tools ch6 Coreutils 8.25, we can remove the noman patch and use the following sed command which Aaediwen found:

sed -i -e 's/^man1_MANS/#man1_MANS/' Makefile

comment:14 by William Harrington, 8 years ago

Description: modified (diff)
Summary: Coreutils 8.24Coreutils 8.27

comment:15 by William Harrington, 8 years ago

Description: modified (diff)
Summary: Coreutils 8.27Coreutils 8.29

comment:16 by William Harrington, 8 years ago

For Ch 6 we need to check the command Aaediwen provided:

sed -i -e 's/^man1_MANS/#man1_MANS/' Makefile

Another option to check:

set -- man/*.x && touch ${@/%x/1}
sed -I Makefile -e 's;^\(cu_install_program =\).*;\1 install;'

If both work, we'll need to decide which to use.

comment:17 by William Harrington, 8 years ago

Description: modified (diff)
Summary: Coreutils 8.29Coreutils 8.27
Note: See TracTickets for help on using tickets.