Opened 5 years ago

Closed 3 years ago

#1042 closed task (fixed)

Coreutils 8.27

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@…

Attachments (1)

coreutils-8.24-noman-1.patch (6.4 KB) - added by Martin Ward 5 years ago.

Download all attachments as: .zip

Change History (20)

comment:1 Changed 5 years ago by Martin Ward

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

Changed 5 years ago by Martin Ward

comment:2 Changed 5 years ago by William Harrington

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 Changed 5 years ago by William Harrington

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

comment:4 Changed 5 years ago by William Harrington

Disable a test which fails with current version of Perl:

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

comment:5 Changed 5 years ago by William Harrington

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 Changed 5 years ago by William Harrington

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 Changed 5 years ago by William Harrington

Milestone: CLFS Standard 3.1.0
Version: CLFS Standard GIT

comment:8 in reply to:  1 Changed 5 years ago by William Harrington

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 5 years ago by William Harrington (previous) (diff)

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

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 Changed 4 years ago by William Harrington

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

comment:11 in reply to:  10 Changed 4 years ago by Martin Ward

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 Changed 4 years ago by chris@…

Coreutils 8.25 is now out.

comment:13 Changed 4 years ago by William Harrington

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 Changed 3 years ago by William Harrington

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

comment:15 Changed 3 years ago by William Harrington

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

comment:16 Changed 3 years ago by William Harrington

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 Changed 3 years ago by William Harrington

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

comment:18 Changed 3 years ago by William Harrington

For Coreutils 8.27 and temp-system I removed the config.cache options. Both options ended up being yes.

Used after configure and before make:

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

comment:19 Changed 3 years ago by William Harrington

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.