Skip to contentSkip to conversation

mkbuildtree/lndir confused by arch symlink in hypervisor-ifs

DISCUSSION Christian Limpach 2 participants 3 messages Mar 11, 2004 – Mar 12, 2004

lore
Share & tools
lore
#0 lore raw

Hello!

it seems that the lndir-rel program gets confused by the arch symlink in xen/include/hypervisor-ifs, it creates the following tree in linux/include/asm-xeno/hypervisor-ifs:

drwxr-xr-x    2 chris    users          80 Mar 11 17:06 arch
drwxr-xr-x    2 chris    users          80 Mar 11 17:06 arch-i386
lrwxrwxrwx    1 chris    users          44 Mar 11 17:06 arch-x86_64 ->

.../../xen/include/hypervisor-ifs/arch-x86_64

This then fails at the make dep stage because it tries to recreate the arch symlink (it fails on rm arch since arch is a dir).

Removing the arch symlink in xen/include/hypervisor-ifs before running lndir-rel fixes the problem.

christian

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#1 lore raw
Quoted 10 lines

Hello!

it seems that the lndir-rel program gets confused by the arch symlink in xen/include/hypervisor-ifs, it creates the following tree in linux/include/asm-xeno/hypervisor-ifs:

drwxr-xr-x    2 chris    users          80 Mar 11 17:06 arch
drwxr-xr-x    2 chris    users          80 Mar 11 17:06 arch-i386
lrwxrwxrwx    1 chris    users          44 Mar 11 17:06 arch-x86_64 ->

.../../xen/include/hypervisor-ifs/arch-x86_64

Quoted 7 lines

This then fails at the make dep stage because it tries to recreate the arch symlink (it fails on rm arch since arch is a dir).

Removing the arch symlink in xen/include/hypervisor-ifs before running lndir-rel fixes the problem.

christian

I'll take a look at this. Perhaps it won't be too hard to get rid of lndir-rel entirely -- it's rather hideous having a native executable hanging around in the build system.

-- Keir

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#2 lore raw
In reply to Christian Limpach

Should be all fixed now.

-- Keir

Quoted 21 lines

Hello!

it seems that the lndir-rel program gets confused by the arch symlink in xen/include/hypervisor-ifs, it creates the following tree in linux/include/asm-xeno/hypervisor-ifs:

drwxr-xr-x    2 chris    users          80 Mar 11 17:06 arch
drwxr-xr-x    2 chris    users          80 Mar 11 17:06 arch-i386
lrwxrwxrwx    1 chris    users          44 Mar 11 17:06 arch-x86_64 ->

.../../xen/include/hypervisor-ifs/arch-x86_64

This then fails at the make dep stage because it tries to recreate the arch symlink (it fails on rm arch since arch is a dir).

Removing the arch symlink in xen/include/hypervisor-ifs before running lndir-rel fixes the problem.

christian

Quoted 9 lines

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click