FS#58197 - [dtc] install conflict header to /usr/include

Attached to Project: Community Packages
Opened by Jiuyang Liu (Sequencer) - Wednesday, 11 April 2018, 10:54 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 18 April 2018, 16:20 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
this package will lead u-boot compile failed, for installing a conflict header to /usr/include

Additional info:
* package version(s)
* config and/or log files etc.

log:
In file included from tools/../include/../lib/libfdt/libfdt.h:10:0,
from tools/../include/libfdt.h:1,
from tools/fdt_host.h:11,
from tools/imagetool.h:24,
from tools/aisimage.c:8:
/usr/include/libfdt_env.h:70:30: error: conflicting types for ‘fdt64_t’
typedef uint64_t FDT_BITWISE fdt64_t;
^~~~~~~
In file included from <command-line>:0:0:
././include/libfdt_env.h:19:16: note: previous declaration of ‘fdt64_t’ was here
typedef __be64 fdt64_t;
^~~~~~~
In file included from ././include/libfdt_env.h:12:0,
from <command-line>:0:
/usr/include/libfdt_env.h:90:24: error: expected ‘)’ before ‘x’
static inline uint32_t fdt32_to_cpu(fdt32_t x)
^
././include/compiler.h:71:9: error: expected ‘)’ before ‘&’ token
((((x) & 0xff000000) >> 24) | \
^
././include/compiler.h:71:23: error: expected ‘)’ before ‘>>’ token
((((x) & 0xff000000) >> 24) | \
^
././include/compiler.h:71:30: error: expected ‘)’ before ‘|’ token
((((x) & 0xff000000) >> 24) | \
^
/usr/include/libfdt_env.h:94:23: error: expected ‘)’ before ‘x’
static inline fdt32_t cpu_to_fdt32(uint32_t x)
^
././include/compiler.h:71:9: error: expected ‘)’ before ‘&’ token
((((x) & 0xff000000) >> 24) | \
^
././include/compiler.h:71:23: error: expected ‘)’ before ‘>>’ token
((((x) & 0xff000000) >> 24) | \
^
././include/compiler.h:71:30: error: expected ‘)’ before ‘|’ token
((((x) & 0xff000000) >> 24) | \
^
/usr/include/libfdt_env.h:99:24: error: expected ‘)’ before ‘x’
static inline uint64_t fdt64_to_cpu(fdt64_t x)
^
././include/compiler.h:76:9: error: expected ‘)’ before ‘&’ token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
././include/compiler.h:76:36: error: expected ‘)’ before ‘>>’ token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
././include/compiler.h:76:43: error: expected ‘)’ before ‘|’ token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
/usr/include/libfdt_env.h:103:23: error: expected ‘)’ before ‘x’
static inline fdt64_t cpu_to_fdt64(uint64_t x)
^
././include/compiler.h:76:9: error: expected ‘)’ before ‘&’ token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
././include/compiler.h:76:36: error: expected ‘)’ before ‘>>’ token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^
././include/compiler.h:76:43: error: expected ‘)’ before ‘|’ token
((((x) & 0xff00000000000000##sfx) >> 56) | \
^



Steps to reproduce:
1. install dtc
2. make u-boot
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 18 April 2018, 16:20 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Wednesday, 11 April 2018, 14:20 GMT
Sounds like a u-boot problem.

Loading...