[Pkg-shadow-devel] [lfs-dev] Shadow 4.2 packaging

William Harrington kb0iic at berzerkula.org
Sat May 10 03:23:15 UTC 2014

On May 9, 2014, at 5:10 AM, Christian PERRIER wrote:

> Quoting Christian PERRIER (bubulle at debian.org):
>> I will consider, however, the possibility of a
>> shadow-4.2-redist.tar.xz build as, after all, what you suggest above
>> seems to be easy to do and kinda straightforward.
> Could you please check
> http://pkg-shadow.alioth.debian.org/releases/shadow-4.2-dist.tar.xz?
> I prepared it the exact way you suggested. It is GPG-signed in
> http://pkg-shadow.alioth.debian.org/releases/shadow-4.2- 
> dist.tar.xz.sig
> -- 
> http://lists.linuxfromscratch.org/listinfo/lfs-dev
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page

Hello Christian,

I've been following the lfs-dev thread for shadow 4.2.

With Shadow and earlier, we cross compile shadow to use with a  
minimal boot system which is used to build the final system.

However, with the 4.2 release (using the 4.2.1 as well), this is the  

checking for library containing inet_ntoa... none required
checking for library containing socket... none required
checking for library containing gethostbyname... none required
configure: error: in `/mnt/clfs/sources/shadow-4.2':
configure: error: cannot run test program while cross compiling

===config.log parts=====

checking for rename... yes
checking for rmdir... yes
configure:14457: $? = 0
configure:14474: result: none required
configure:14482: checking for library containing socket
configure:14513: i686-pc-linux-gnu-gcc -o conftest -g -O2    
conftest.c  >&5
configure:14513: $? = 0
configure:14530: result: none required
configure:14538: checking for library containing gethostbyname
configure:14569: i686-pc-linux-gnu-gcc -o conftest -g -O2    
conftest.c  >&5
configure:14569: $? = 0
configure:14586: result: none required
configure:14776: error: in `/mnt/clfs/sources/shadow-4.2':
configure:14778: error: cannot run test program while cross compiling
See `config.log' for more details

We will stick with for now, but I'm curious at what is  
different in 4.2 which would prevent cross compile from working.
You can view what we do here: http://cross-lfs.org/view/git/x86/boot/shadow.html

If you need us to test anything, we'd be glad to help.


William Harrington

More information about the Pkg-shadow-devel mailing list