uck 2.2.1 "Failed to merge X authorization file, error=126 "

Asked by Eugene Kononovich

I install uck 2.2.1. Run "uck-gui" and begin to build distribution Ubuntu 10.04.1 (amd64). UCK build failure.
build.log :

Ubuntu Customization Kit 2.2.1
Starting CD remastering on Срд Окт 20 10:50:59 OMSST 2010
Customization dir=/home/zed/tmp/customization-scripts
Mounting ISO image...
Unpacking ISO image...
Unmounting ISO image...
Mounting SquashFS image...
Unpacking SquashFS image...
Unmounting SquashFS image...
Removing win32 files...
Creating apt cache...
Creating root home...
Mounting /proc
Mounting /sys
Mounting /dev/pts
Mounting /var/run
Mounting /tmp
Mounting /home/zed/tmp/remaster-root-home
Mounting /home/zed/tmp/remaster-apt-cache
Mounting /home/zed/tmp/customization-scripts
Copying resolv.conf...
Creating DBUS uuid...
Creating user directory...
Copying X authorization file to chroot filesystem...
chroot: cannot run command `xauth': Exec format error
Unmounting /home/zed/tmp/remaster-root/tmp/customization-scripts...
Unmounting /home/zed/tmp/remaster-root/var/cache/apt...
Unmounting /home/zed/tmp/remaster-root/root...
Unmounting /home/zed/tmp/remaster-root/tmp...
Unmounting /home/zed/tmp/remaster-root/var/run...
Unmounting /home/zed/tmp/remaster-root/dev/pts...
Unmounting /home/zed/tmp/remaster-root/sys...
Unmounting /home/zed/tmp/remaster-root/proc...
Failed to merge X authorization file, error=126

For Ubuntu 10.04 (i386) there was no problem.
Help!!!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Customization Kit Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Wolf Geldmacher (wolf-womaro) said :
#1

I think you've hit one of the documented limitations of UCK:

You cannot customize a x86_64 system on an i586 host - see referenced FAQ, first item.

Background: UCK needs to run some binaries within the system being customized (like xauth). If the kernel your host is using (i586 in your case) cannot execute the binary in the system being customized (x86_64 in your case) UCK cannot work.

BTW: This is also why you didn't get an error while customizing the i586 version - the architecture of your host and your target matched then and UCK could therefore successfully execute the xauth command.
FAQ #1093: “What are known limitations and caveats when using UCK?”.

Can you help with this problem?

Provide an answer of your own, or ask Eugene Kononovich for more information if necessary.

To post a message you must log in.