Re: [Xen-devel] [xen 4.6.0 to be] Readme missing 32bit as dependency for a default build on Debian Jessie

2015-10-06 Thread Sander Eikelenboom

On 2015-10-06 13:52, Konrad Rzeszutek Wilk wrote:

On October 6, 2015 7:26:35 AM EDT, Wei Liu  wrote:

On Tue, Oct 06, 2015 at 01:19:17PM +0200, Sander Eikelenboom wrote:

Hi,

Today i tried building installing a fresh clone of Xen 4.6.0 (to be)

on a

minimal Debian Jessie install.
The package list in the README seems to be missing "libc6-dev-i386"

which

seems to be needed for a default build (.configure && make && make

install)

which also builds 32-bit pieces.

The build error is below.


I think that's due to Debian's multiarch arrangement.  And we already
have  the same issue for Wheezy.



And it is also an issue on Fedora.


How is/are the required package(s) named there ?





FWIW I don't think README or INSTALL should be tied to a specific
distro. But the line is blurred because we already used a bunch of
package names from Debian and Redhat.

I don't think this is a big issue. It should probably go to a wiki
page.

If you're keen, you can submit a patch to README and request it be
backported.

Wei.


--
Sander

make -C rombios all
make[6]: Entering directory

'/usr/src/xen-stable/tools/firmware/rombios'

make[7]: Entering directory

'/usr/src/xen-stable/tools/firmware/rombios'

make -C 32bit all
make[8]: Entering directory
'/usr/src/xen-stable/tools/firmware/rombios/32bit'
make[9]: Entering directory
'/usr/src/xen-stable/tools/firmware/rombios/32bit'
make -C tcgbios all
make[10]: Entering directory
'/usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios'
gcc   -O2 -fomit-frame-pointer -m32 -march=i686 -fno-strict-aliasing
-std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement
-Wno-unused-but-set-variable -Wno-unused-local-typedefs

-D__XEN_TOOLS__

-MMD -MF .tcgbios.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-mno-tls-direct-seg-refs  -DNDEBUG -Werror -fno-stack-protector
-fno-exceptions -fno-builtin -msoft-float

-I/usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios/../../../../../tools/include

-I.. -I../..  -c -o tcgbios.o tcgbios.c
In file included from /usr/include/stdint.h:25:0,
 from

/usr/lib/gcc/x86_64-linux-gnu/4.9/include/stdint.h:9,

 from ../../../hvmloader/acpi/acpi2_0.h:20,
 from ../util.h:4,
 from tcgbios.c:26:
/usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such

file or

directory
 #  include 
 ^
compilation terminated.


/usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios/../../../../../tools/Rules.mk:107:

recipe for target 'tcgbios.o' failed
make[10]: *** [tcgbios.o] Error 1
make[10]: Leaving directory
'/usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios'


___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] [xen 4.6.0 to be] Readme missing 32bit as dependency for a default build on Debian Jessie

2015-10-06 Thread Wei Liu
On Tue, Oct 06, 2015 at 02:25:39PM +0200, Sander Eikelenboom wrote:
> On 2015-10-06 13:52, Konrad Rzeszutek Wilk wrote:
> >On October 6, 2015 7:26:35 AM EDT, Wei Liu  wrote:
> >>On Tue, Oct 06, 2015 at 01:19:17PM +0200, Sander Eikelenboom wrote:
> >>>Hi,
> >>>
> >>>Today i tried building installing a fresh clone of Xen 4.6.0 (to be)
> >>on a
> >>>minimal Debian Jessie install.
> >>>The package list in the README seems to be missing "libc6-dev-i386"
> >>which
> >>>seems to be needed for a default build (.configure && make && make
> >>install)
> >>>which also builds 32-bit pieces.
> >>>
> >>>The build error is below.
> >>
> >>I think that's due to Debian's multiarch arrangement.  And we already
> >>have  the same issue for Wheezy.
> >>
> >
> >And it is also an issue on Fedora.
> 
> How is/are the required package(s) named there ?
> 

I take it you're preparing a patch? If so I won't bother writing one.
:-)

Wei.

___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] [xen 4.6.0 to be] Readme missing 32bit as dependency for a default build on Debian Jessie

2015-10-06 Thread Wei Liu
On Tue, Oct 06, 2015 at 01:19:17PM +0200, Sander Eikelenboom wrote:
> Hi,
> 
> Today i tried building installing a fresh clone of Xen 4.6.0 (to be) on a
> minimal Debian Jessie install.
> The package list in the README seems to be missing "libc6-dev-i386" which
> seems to be needed for a default build (.configure && make && make install)
> which also builds 32-bit pieces.
> 
> The build error is below.

I think that's due to Debian's multiarch arrangement.  And we already
have  the same issue for Wheezy.

FWIW I don't think README or INSTALL should be tied to a specific
distro. But the line is blurred because we already used a bunch of
package names from Debian and Redhat.

I don't think this is a big issue. It should probably go to a wiki page.

If you're keen, you can submit a patch to README and request it be
backported.

Wei.

> --
> Sander
> 
> make -C rombios all
> make[6]: Entering directory '/usr/src/xen-stable/tools/firmware/rombios'
> make[7]: Entering directory '/usr/src/xen-stable/tools/firmware/rombios'
> make -C 32bit all
> make[8]: Entering directory
> '/usr/src/xen-stable/tools/firmware/rombios/32bit'
> make[9]: Entering directory
> '/usr/src/xen-stable/tools/firmware/rombios/32bit'
> make -C tcgbios all
> make[10]: Entering directory
> '/usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios'
> gcc   -O2 -fomit-frame-pointer -m32 -march=i686 -fno-strict-aliasing
> -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement
> -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -D__XEN_TOOLS__
> -MMD -MF .tcgbios.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -mno-tls-direct-seg-refs  -DNDEBUG -Werror -fno-stack-protector
> -fno-exceptions -fno-builtin -msoft-float 
> -I/usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios/../../../../../tools/include
> -I.. -I../..  -c -o tcgbios.o tcgbios.c
> In file included from /usr/include/stdint.h:25:0,
>  from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/stdint.h:9,
>  from ../../../hvmloader/acpi/acpi2_0.h:20,
>  from ../util.h:4,
>  from tcgbios.c:26:
> /usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or
> directory
>  #  include 
>  ^
> compilation terminated.
> /usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios/../../../../../tools/Rules.mk:107:
> recipe for target 'tcgbios.o' failed
> make[10]: *** [tcgbios.o] Error 1
> make[10]: Leaving directory
> '/usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios'

___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] [xen 4.6.0 to be] Readme missing 32bit as dependency for a default build on Debian Jessie

2015-10-06 Thread Konrad Rzeszutek Wilk
On October 6, 2015 7:26:35 AM EDT, Wei Liu  wrote:
>On Tue, Oct 06, 2015 at 01:19:17PM +0200, Sander Eikelenboom wrote:
>> Hi,
>> 
>> Today i tried building installing a fresh clone of Xen 4.6.0 (to be)
>on a
>> minimal Debian Jessie install.
>> The package list in the README seems to be missing "libc6-dev-i386"
>which
>> seems to be needed for a default build (.configure && make && make
>install)
>> which also builds 32-bit pieces.
>> 
>> The build error is below.
>
>I think that's due to Debian's multiarch arrangement.  And we already
>have  the same issue for Wheezy.
>

And it is also an issue on Fedora.

>FWIW I don't think README or INSTALL should be tied to a specific
>distro. But the line is blurred because we already used a bunch of
>package names from Debian and Redhat.
>
>I don't think this is a big issue. It should probably go to a wiki
>page.
>
>If you're keen, you can submit a patch to README and request it be
>backported.
>
>Wei.
>
>> --
>> Sander
>> 
>> make -C rombios all
>> make[6]: Entering directory
>'/usr/src/xen-stable/tools/firmware/rombios'
>> make[7]: Entering directory
>'/usr/src/xen-stable/tools/firmware/rombios'
>> make -C 32bit all
>> make[8]: Entering directory
>> '/usr/src/xen-stable/tools/firmware/rombios/32bit'
>> make[9]: Entering directory
>> '/usr/src/xen-stable/tools/firmware/rombios/32bit'
>> make -C tcgbios all
>> make[10]: Entering directory
>> '/usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios'
>> gcc   -O2 -fomit-frame-pointer -m32 -march=i686 -fno-strict-aliasing
>> -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement
>> -Wno-unused-but-set-variable -Wno-unused-local-typedefs  
>-D__XEN_TOOLS__
>> -MMD -MF .tcgbios.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
>> -mno-tls-direct-seg-refs  -DNDEBUG -Werror -fno-stack-protector
>> -fno-exceptions -fno-builtin -msoft-float
>-I/usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios/../../../../../tools/include
>> -I.. -I../..  -c -o tcgbios.o tcgbios.c
>> In file included from /usr/include/stdint.h:25:0,
>>  from
>/usr/lib/gcc/x86_64-linux-gnu/4.9/include/stdint.h:9,
>>  from ../../../hvmloader/acpi/acpi2_0.h:20,
>>  from ../util.h:4,
>>  from tcgbios.c:26:
>> /usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such
>file or
>> directory
>>  #  include 
>>  ^
>> compilation terminated.
>>
>/usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios/../../../../../tools/Rules.mk:107:
>> recipe for target 'tcgbios.o' failed
>> make[10]: *** [tcgbios.o] Error 1
>> make[10]: Leaving directory
>> '/usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios'
>
>___
>Xen-devel mailing list
>Xen-devel@lists.xen.org
>http://lists.xen.org/xen-devel



___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] [xen 4.6.0 to be] Readme missing 32bit as dependency for a default build on Debian Jessie

2015-10-06 Thread Konrad Rzeszutek Wilk
On October 6, 2015 8:25:39 AM EDT, Sander Eikelenboom  
wrote:
>On 2015-10-06 13:52, Konrad Rzeszutek Wilk wrote:
>> On October 6, 2015 7:26:35 AM EDT, Wei Liu 
>wrote:
>>> On Tue, Oct 06, 2015 at 01:19:17PM +0200, Sander Eikelenboom wrote:
 Hi,
 
 Today i tried building installing a fresh clone of Xen 4.6.0 (to
>be)
>>> on a
 minimal Debian Jessie install.
 The package list in the README seems to be missing "libc6-dev-i386"
>>> which
 seems to be needed for a default build (.configure && make && make
>>> install)
 which also builds 32-bit pieces.
 
 The build error is below.
>>> 
>>> I think that's due to Debian's multiarch arrangement.  And we
>already
>>> have  the same issue for Wheezy.
>>> 
>> 
>> And it is also an issue on Fedora.
>
>How is/are the required package(s) named there ?
>

glibc-devel.i686

>
>> 
>>> FWIW I don't think README or INSTALL should be tied to a specific
>>> distro. But the line is blurred because we already used a bunch of
>>> package names from Debian and Redhat.
>>> 
>>> I don't think this is a big issue. It should probably go to a wiki
>>> page.
>>> 
>>> If you're keen, you can submit a patch to README and request it be
>>> backported.
>>> 
>>> Wei.
>>> 
 --
 Sander
 
 make -C rombios all
 make[6]: Entering directory
>>> '/usr/src/xen-stable/tools/firmware/rombios'
 make[7]: Entering directory
>>> '/usr/src/xen-stable/tools/firmware/rombios'
 make -C 32bit all
 make[8]: Entering directory
 '/usr/src/xen-stable/tools/firmware/rombios/32bit'
 make[9]: Entering directory
 '/usr/src/xen-stable/tools/firmware/rombios/32bit'
 make -C tcgbios all
 make[10]: Entering directory
 '/usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios'
 gcc   -O2 -fomit-frame-pointer -m32 -march=i686
>-fno-strict-aliasing
 -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement
 -Wno-unused-but-set-variable -Wno-unused-local-typedefs
>>> -D__XEN_TOOLS__
 -MMD -MF .tcgbios.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
 -mno-tls-direct-seg-refs  -DNDEBUG -Werror -fno-stack-protector
 -fno-exceptions -fno-builtin -msoft-float
>>>
>-I/usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios/../../../../../tools/include
 -I.. -I../..  -c -o tcgbios.o tcgbios.c
 In file included from /usr/include/stdint.h:25:0,
  from
>>> /usr/lib/gcc/x86_64-linux-gnu/4.9/include/stdint.h:9,
  from ../../../hvmloader/acpi/acpi2_0.h:20,
  from ../util.h:4,
  from tcgbios.c:26:
 /usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such
>>> file or
 directory
  #  include 
  ^
 compilation terminated.
 
>>>
>/usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios/../../../../../tools/Rules.mk:107:
 recipe for target 'tcgbios.o' failed
 make[10]: *** [tcgbios.o] Error 1
 make[10]: Leaving directory
 '/usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios'
>>> 
>>> ___
>>> Xen-devel mailing list
>>> Xen-devel@lists.xen.org
>>> http://lists.xen.org/xen-devel



___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel