Ticket #1042 (closed task: fixed)

Opened 2 years ago

Last modified 6 months ago

Coreutils 8.27

Reported by: kb0iic 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 kb0iic) (diff)

Attachments

coreutils-8.24-noman-1.patch Download (6.4 KB) - added by blackadder 2 years ago.

Change History

comment:1 follow-up: ↓ 8 Changed 2 years ago by blackadder

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

Changed 2 years ago by blackadder

comment:2 follow-up: ↓ 9 Changed 2 years ago by 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?

comment:3 Changed 2 years ago by kb0iic

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

comment:4 Changed 2 years ago by kb0iic

Disable a test which fails with current version of Perl:

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

comment:5 Changed 2 years ago by kb0iic

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 2 years ago by kb0iic

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 2 years ago by kb0iic

  • Version set to CLFS Standard GIT
  • Milestone set to CLFS Standard 3.1.0

comment:8 in reply to: ↑ 1 Changed 2 years ago by kb0iic

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 2 years ago by kb0iic (previous) (diff)

comment:9 in reply to: ↑ 2 Changed 2 years ago by kb0iic

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 follow-up: ↓ 11 Changed 2 years ago by 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

comment:11 in reply to: ↑ 10 Changed 2 years ago by blackadder

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 21 months ago by chris@…

Coreutils 8.25 is now out.

comment:13 Changed 16 months ago by kb0iic

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 7 months ago by kb0iic

  • Description modified (diff)
  • Summary changed from Coreutils 8.24 to Coreutils 8.27

comment:15 Changed 7 months ago by kb0iic

  • Description modified (diff)
  • Summary changed from Coreutils 8.27 to Coreutils 8.29

comment:16 Changed 7 months ago by kb0iic

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 6 months ago by kb0iic

  • Description modified (diff)
  • Summary changed from Coreutils 8.29 to Coreutils 8.27

comment:18 Changed 6 months ago by kb0iic

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 6 months ago by kb0iic

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.