Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480680 - app-emulation/qemu-1.5.2-r1 USE=fdt - In file included from .../work/qemu-1.5.2/device_tree.c:28: /usr/include/fdt.h:58:2: error: unknown type name «fdt32_t»
Summary: app-emulation/qemu-1.5.2-r1 USE=fdt - In file included from .../work/qemu-1.5...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
: 481084 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-12 05:50 UTC by Dmitriy Baranov
Modified: 2013-08-19 14:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitriy Baranov 2013-08-12 05:50:15 UTC
# USE="fdt" emerge --info qemu
Portage 2.2.0_alpha196 (!/mnt/routine/tmp/0x1u1z/profiles/0x1u1z/desktop/, gcc-4.7.3, glibc-2.17, 3.9.10-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.9.10-gentoo-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-gentoo-2.2
KiB Mem:     7681904 total,   2519224 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sun, 11 Aug 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r1, 3.2.5-r1, 3.3.2-r1
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo crossdev 0x1u1z local
Installed sets: @0x1u1z
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx-i -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core-avx-i -O2 -pipe"
DISTDIR="/mnt/routine/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.utf8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/mnt/routine/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/routine/portage"
PORTDIR_OVERLAY="/mnt/routine/overlays/crossdev /mnt/routine/overlays/0x1u1z /mnt/routine/overlays/local"
USE="X a52 aac aacplus aacs acl aften aio alsa amd64 amr avx berkdb bluray bzip2 c++0x cairo cli consolekit corefonts cracklib crypt cxx dbus declarative djvu dri dts dv dvb dvd enca exif faac faad fdt ffmpeg flac fontconfig g3dvl gd gdbm gif gmp gnutls gpg gstreamer gudev hdri highlight hwdb iconv icu idn ipv6 jpeg jpeg2k kde kdrive keymap kipi lame lcms libass lzma lzo mad matroska minizip mmx mmxext mng modplug modules mp3 mpeg mtp mudflap multilib multimedia natspec ncurses network nls nptl ogg openal openexr opengl openmp openssl opus pam pango pcre pdf plasma png policykit postgres qt3support qt4 quicktime raw readline rtmp session sndfile speex spell sqlite sse sse2 sse3 sse4_1 ssl ssse3 svg taglib tcpd theora threads tiff tray truetype udev udisks unicode usb v4l vaapi vcd vdpau vorbis vpx webdav webdav-serf webp x264 xa xcb xinerama xml xmlpatterns xorg xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-emulation/qemu-1.5.2-r1 was built with the following:
USE="aio alsa caps curl filecaps jpeg ncurses opengl png sdl seccomp threads uuid vhost-net vnc -accessibility -bluetooth -debug -fdt -glusterfs -gtk -iscsi -mixemu -pulseaudio -python -rbd -sasl (-selinux) -smartcard -spice -static -static-softmmu -static-user -systemtap -tci -test -tls -usbredir -vde -virtfs -xattr -xen -xfs" PYTHON_TARGETS="python2_7 -python2_5 -python2_6" QEMU_SOFTMMU_TARGETS="i386 x86_64 (-alpha) (-arm) -cris -lm32 (-m68k) -microblaze -microblazeel (-mips) -mips64 -mips64el -mipsel -moxie -or32 (-ppc) (-ppc64) -ppcemb -s390x -sh4 -sh4eb (-sparc) -sparc64 -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="i386 x86_64 (-alpha) (-arm) -armeb -cris (-m68k) -microblaze -microblazeel (-mips) -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -or32 (-ppc) (-ppc64) -ppc64abi32 -s390x -sh4 -sh4eb (-sparc) -sparc32plus -sparc64 -unicore32"

>>> Attempting to run pkg_info() for 'app-emulation/qemu-1.5.2-r1'
Using:
  
  sys-firmware/ipxe-1.0.0_p20130624
  sys-firmware/seabios-1.7.2.2
    USE=binary
  sys-firmware/vgabios-0.7a

Reproducible: Always

Steps to Reproduce:
1.USE="fdt" emerge qemu
2.
3.
Actual Results:  
In file included from /usr/include/libfdt.h:55:0,
                 from /var/tmp/portage/app-emulation/qemu-1.5.2-r1/work/qemu-1.5.2/device_tree.c:28:
/usr/include/fdt.h:58:2: error: unknown type name «fdt32_t»
/usr/include/fdt.h:59:2: error: unknown type name «fdt32_t»
/usr/include/fdt.h:60:2: error: unknown type name «fdt32_t»
/usr/include/fdt.h:61:2: error: unknown type name «fdt32_t»
/usr/include/fdt.h:62:2: error: unknown type name «fdt32_t»
/usr/include/fdt.h:63:2: error: unknown type name «fdt32_t»
/usr/include/fdt.h:64:2: error: unknown type name «fdt32_t»
/usr/include/fdt.h:67:2: error: unknown type name «fdt32_t»
/usr/include/fdt.h:70:2: error: unknown type name «fdt32_t»
/usr/include/fdt.h:73:2: error: unknown type name «fdt32_t»
/usr/include/fdt.h:77:2: error: unknown type name «fdt64_t»
/usr/include/fdt.h:78:2: error: unknown type name «fdt64_t»
/usr/include/fdt.h:82:2: error: unknown type name «fdt32_t»
/usr/include/fdt.h:87:2: error: unknown type name «fdt32_t»
/usr/include/fdt.h:88:2: error: unknown type name «fdt32_t»
/usr/include/fdt.h:89:2: error: unknown type name «fdt32_t»
In file included from /var/tmp/portage/app-emulation/qemu-1.5.2-r1/work/qemu-1.5.2/device_tree.c:28:0:
/usr/include/libfdt.h: In function «fdt_setprop_inplace_u32»:
/usr/include/libfdt.h:921:2: error: unknown type name «fdt32_t»
/usr/include/libfdt.h: In function «fdt_setprop_inplace_u64»:
/usr/include/libfdt.h:956:2: error: unknown type name «fdt64_t»
/usr/include/libfdt.h: In function «fdt_property_u32»:
/usr/include/libfdt.h:1032:2: error: unknown type name «fdt32_t»
/usr/include/libfdt.h: In function «fdt_property_u64»:
/usr/include/libfdt.h:1037:2: error: unknown type name «fdt64_t»
/usr/include/libfdt.h: In function «fdt_setprop_u32»:
/usr/include/libfdt.h:1193:2: error: unknown type name «fdt32_t»
/usr/include/libfdt.h: In function «fdt_setprop_u64»:
/usr/include/libfdt.h:1228:2: error: unknown type name «fdt64_t»
/usr/include/libfdt.h: In function «fdt_appendprop_u32»:
/usr/include/libfdt.h:1335:2: error: unknown type name «fdt32_t»
/usr/include/libfdt.h: In function «fdt_appendprop_u64»:
/usr/include/libfdt.h:1370:2: error: unknown type name «fdt64_t»
make[1]: *** [device_tree.o] Error 1
Comment 1 David Klann 2013-08-14 03:54:43 UTC
Experienced this issue on my ~amd64 as well.
Comment 2 Denis I. Polukarov 2013-08-14 09:19:57 UTC
Same error (~amd64) throw updating app-emulation/qemu from 1.4.2 to 1.5.2-r2.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2013-08-14 16:18:33 UTC
What version of sys-apps/dtc do you guys have? If you have a 1.3.x version, try upgrading to 1.4.0 first. If you have 1.4.0, try downgrading to the current stable 1.3.0.
Comment 4 Dmitriy Baranov 2013-08-14 17:28:01 UTC
(In reply to Doug Goldstein from comment #3)
> What version of sys-apps/dtc do you guys have? If you have a 1.3.x version,
> try upgrading to 1.4.0 first. If you have 1.4.0, try downgrading to the
> current stable 1.3.0.

Ok. It compiles fine with =sys-apps/dtc-1.3.0-r1.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-15 15:02:50 UTC
*** Bug 481084 has been marked as a duplicate of this bug. ***
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2013-08-19 14:06:59 UTC
Should now be fixed in tree with a specific depend for sys-apps/dtc.