Page History

Turn Off History

Perform a Clipped Port

This log starts with some work for the general system port already having been done by another developer.

Preparation of a new glibc external

See the Debian 6 full port log for more details. Note that for Debian 9, apt-get source glibc applied the patches; debian/rules patch was probably a no-op.

Locate and see how glibc builds

apt-get source glibc
cd glibc-2.24
debian/rules patch
cd ..
mv glibc-2.24 glibc-2.24-11
tar -z -c -f glibc-2.24-11.tar.gz glibc-2.24-11
cd glibc-2.24-11
debian/rules build |& tee build.out

The build failed. Needed to do apt-get build-dep glibc. This wanted makeinfo, but still failed, unable to find selinux/selinux.h a long way into the build. Since /usr/include/selinux/selinux.h existed, I tried apt-get install linux-headers-4.9.0-3-all. This didn't help. I tried starting over, in case the selinux headers were supposed to have been copied into the tree; didn't help. Looked at other glibc external build comments, tried apt-get install gcc-multilib, because of the debian/include silliness. (Why bother if you're going to make symlinks?)

Run apt-get install texi2html to get makeinfo.

Create the glibc external

Follow the instructions. Note that parrot updates what it serves over HTTP from AFS every ten minutes.

Notes: the build system will warn but not fail if it doesn't find the glibc version it's looking for for standard universe. This should probably be fixed.

The CMakeLists.txt in question is the one in externals/bundles/glibc.

Patch the glibc external

...

Check the glibc external

...

Build the Full Port

...