Ticket #1103 (closed task: fixed)

Opened 2 years ago

Last modified 8 months ago

IPRoute2 4.4.0

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

Description (last modified by kb0iic) (diff)

New Version

Download: [" https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-4.9.0.tar.xz]

One difference is that this version of iproute2 now checks for Berkeley DB, and if isn't found, arpd isn't built. However it does still install 2 files and a directory even if not installing arpd itself.

Attachments

iproute2-update.patch Download (1.5 KB) - added by chris@… 2 years ago.

Change History

Changed 2 years ago by chris@…

comment:1 Changed 8 months ago by kb0iic

Move to IPROUTE2-4.9 when moving to Long Term kernel 4.9

comment:2 Changed 8 months ago by kb0iic

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

comment:3 Changed 8 months ago by kb0iic

  • Description modified (diff)

comment:4 Changed 8 months ago by kb0iic

The iproute2 libdir patch needs to be looked at before updating this package and Chris's iproute2-update.patch needs check with this version, too.

comment:5 Changed 8 months ago by kb0iic

4.9.0 Multilib Build results

It will be similar for all archs, other than LIBDIR

Make command:

make CC="gcc ${BUILD64}" LIBDIR=/usr/lib64

Output:

sh configure /usr/include
TC schedulers
 ATM	no

libc has setns: yes
SELinux support: no
ELF support: no
libmnl support: no
Berkeley DB: no

docs: latex: no
 WARNING: no docs can be built from LaTeX files
 sgml2html: no
 WARNING: no HTML docs can be built from SGML

If BerkleyDB is not found, arpd is not built. It will still attempt to create the arpd directory and install arpd related documentation.

This is a big change from 4.1. We can remove the whole section before the make command.

We need the last two sed commands at the beginning, but also an additional edit otherwise arpd.sgml will be created. The TARGETS sed can be removed.

So arpd documentation isn't created, the following can be removed:

rm -v doc/arpd.sgml

I do not know if it is only with this version, but one man-page isn't in the tarball, but is attempted to be installed:

sed -i '/tc-simple/s@tc-skbmod.8 @@' man/man8/Makefile

I do not know if the maintainer made an error for the install routine:

install -m 0755  /sbin
install: missing destination file operand after '/sbin'
Try 'install --help' for more information.
make[1]: *** [Makefile:25: install] Error 1
install -m 0755  /sbin
install: missing destination file operand after '/sbin'
Try 'install --help' for more information.
make[1]: *** [Makefile:18: install] Error 1

It is a complete install, but perhaps the maintainer has the improper use of install.

For multilib I have the following:

sed -i '/ARPD/d' Makefile
sed -i 's/arpd.8//' man/man8/Makefile
sed -i '/tc-simple/s@tc-skbmod.8 @@' man/man8/Makefile
rm -v doc/arpd.sgml 
make LIBDIR=/usr/lib64
make LIBDIR=/usr/lib64 DOCDIR=/usr/share/doc/iproute2-4.9.0 install

We can remove the libdir patch.

Last edited 8 months ago by kb0iic (previous) (diff)

comment:6 Changed 8 months ago by kb0iic

comment:7 Changed 8 months ago by kb0iic

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