Christian Limpach
2004-Mar-11  16:54 UTC
[Xen-devel] mkbuildtree/lndir confused by arch symlink in hypervisor-ifs
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
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xen-devel
Keir Fraser
2004-Mar-12  07:52 UTC
Re: [Xen-devel] mkbuildtree/lndir confused by arch symlink in hypervisor-ifs
> 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. > > christianI''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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Keir Fraser
2004-Mar-12  11:47 UTC
Re: [Xen-devel] mkbuildtree/lndir confused by arch symlink in hypervisor-ifs
Should be all fixed now. -- Keir> 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 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel