Readme missing 32bit as dependency for a default build on Debian Jessie
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.
--
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 <sys/cdefs.h>
^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'
Quoted 9 lines · Sander Eikelenboom
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.
Quoted 36 lines
--
Sandermake -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(quoted diff) +0
-6-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.cIn 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 <sys/cdefs.h> ^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'
Quoted 8 lines · Wei Liu
Quoted 3 lines · Sander Eikelenboom
Hi,
Today i tried building installing a fresh clone of Xen 4.6.0 (to be)
on a
Quoted 2 lines
minimal Debian Jessie install.
The package list in the README seems to be missing "libc6-dev-i386"which
Quoted 9 lines
Quoted 1 line
seems to be needed for a default build (.configure && make && make
install)
Quoted 3 lines
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.
Quoted 60 lines
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.
Quoted 5 lines
--
Sandermake -C rombios all
make[6]: Entering directory'
/usr/src/xen-stable/tools/firmware/rombios'Quoted 1 line
make[7]: Entering directory
'
/usr/src/xen-stable/tools/firmware/rombios'Review
Quoted 11 lines
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(quoted diff) +0
-2-std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs-D__XEN_TOOLS__
Review
Quoted 3 lines
(quoted diff) +0
-3-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
Quoted 3 lines
-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,Quoted 4 lines
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 suchfile or
Quoted 5 lines
directory
# include <sys/cdefs.h>^compilation terminated.
/usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios/../../../../../tools/Rules.mk:107:Quoted 4 lines
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
[email protected]
http://lists.xen.org/xen-devel
Quoted 13 lines · Konrad Rzeszutek Wilk
Quoted 12 lines · Wei Liu
Quoted 3 lines · Sander Eikelenboom
Hi,
Today i tried building installing a fresh clone of Xen 4.6.0 (to be)
on a
Quoted 2 lines
minimal Debian Jessie install.
The package list in the README seems to be missing "libc6-dev-i386"which
Quoted 1 line
seems to be needed for a default build (.configure && make && make
install)
Quoted 2 lines
which also builds 32-bit pieces.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
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 ?
Quoted 61 lines
Quoted 61 lines
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.
Quoted 5 lines
--
Sandermake -C rombios all
make[6]: Entering directory'
/usr/src/xen-stable/tools/firmware/rombios'Quoted 1 line
make[7]: Entering directory
'
/usr/src/xen-stable/tools/firmware/rombios'Review
Quoted 11 lines
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(quoted diff) +0
-2-std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs-D__XEN_TOOLS__
Review
Quoted 3 lines
(quoted diff) +0
-3-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
Quoted 3 lines
-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,Quoted 4 lines
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 suchfile or
Quoted 5 lines
directory
# include <sys/cdefs.h>^compilation terminated.
/usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios/../../../../../tools/Rules.mk:107:Quoted 4 lines
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
[email protected]
http://lists.xen.org/xen-devel
Quoted 18 lines · Sander Eikelenboom
Quoted 1 line · Konrad Rzeszutek Wilk
On October 6, 2015 7:26:35 AM EDT, Wei Liu <[email protected]>
Quoted 4 lines · wrote:
Quoted 4 lines · Sander Eikelenboom
Quoted 3 lines
Hi,
Today i tried building installing a fresh clone of Xen 4.6.0 (to
be)
Quoted 10 lines
Quoted 10 lines
on a
Quoted 2 lines
minimal Debian Jessie install.
The package list in the README seems to be missing "libc6-dev-i386"which
Quoted 1 line
seems to be needed for a default build (.configure && make && make
install)
Quoted 3 lines
which also builds 32-bit pieces.
The build error is below.
Quoted 9 lines
Quoted 1 line
Quoted 1 line
I think that's due to Debian's multiarch arrangement. And we
already
Quoted 4 lines
Quoted 2 lines
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
Quoted 65 lines
Quoted 22 lines
Quoted 22 lines
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.
Quoted 5 lines
--
Sandermake -C rombios all
make[6]: Entering directory'
/usr/src/xen-stable/tools/firmware/rombios'Quoted 1 line
make[7]: Entering directory
'
/usr/src/xen-stable/tools/firmware/rombios'Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
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
Quoted 7 lines
Quoted 7 lines
Review
Quoted 2 lines
(quoted diff) +0
-2-std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs-D__XEN_TOOLS__
Review
Quoted 3 lines
(quoted diff) +0
-3-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
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
-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,Quoted 4 lines
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 suchQuoted 7 lines
Quoted 7 lines
file or
Quoted 5 lines
directory
# include <sys/cdefs.h>^compilation terminated.
/usr/src/xen-stable/tools/firmware/rombios/32bit/tcgbios/../../../../../tools/Rules.mk:107:Quoted 9 lines
Quoted 9 lines
Quoted 4 lines
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
[email protected]
http://lists.xen.org/xen-devel
Quoted 16 lines · Sander Eikelenboom
Quoted 15 lines · Konrad Rzeszutek Wilk
Quoted 14 lines · Wei Liu
Quoted 3 lines · Sander Eikelenboom
Hi,
Today i tried building installing a fresh clone of Xen 4.6.0 (to be)
on a
Quoted 2 lines
minimal Debian Jessie install.
The package list in the README seems to be missing "libc6-dev-i386"which
Quoted 1 line
seems to be needed for a default build (.configure && make && make
install)
Quoted 3 lines
which also builds 32-bit pieces.
The build error is below.
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
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.