Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 571202 - x11-apps/xdm-1.1.11-r3 fails to build with <dev-libs/libbsd-0.8.1 - /usr/include/bsd/unistd.h:63:6: error: old-style parameter declarations in prototyped function definition
Summary: x11-apps/xdm-1.1.11-r3 fails to build with <dev-libs/libbsd-0.8.1 - /usr/incl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on: 571294
Blocks:
  Show dependency tree
 
Reported: 2016-01-07 21:23 UTC by Silvio
Modified: 2016-04-16 10:42 UTC (History)
3 users (show)

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


Attachments
My build.log (build.log,126.41 KB, text/plain)
2016-01-07 21:35 UTC, Silvio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Silvio 2016-01-07 21:23:08 UTC
It exites so:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm -I..  -I/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/include  -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/include/ConsoleKit/ck-connector -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DUSE_CONSOLEKIT    -DHASXDMAUTH -DSECURE_RPC -march=native -O2 -pipe -fomit-frame-pointer -c -o netaddr.o /var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/netaddr.c
In file included from /var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:59:0:
/usr/include/bsd/unistd.h: In function ‘setproctitle’:
/usr/include/bsd/unistd.h:64:2: error: expected declaration specifiers before ‘__printflike’
  __printflike(1, 2);
  ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:74:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:94:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:107:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:123:3: error: storage class specified for parameter ‘IndirectUsersRec’
 } IndirectUsersRec, *IndirectUsersPtr;
   ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:123:22: error: storage class specified for parameter ‘IndirectUsersPtr’
 } IndirectUsersRec, *IndirectUsersPtr;
                      ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:125:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘indirectUsers’
 static IndirectUsersPtr indirectUsers;
                         ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:131:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:154:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:179:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:191:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:250:3: error: storage class specified for parameter ‘ChoiceRec’
 } ChoiceRec, *ChoicePtr;
   ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:250:15: error: storage class specified for parameter ‘ChoicePtr’
 } ChoiceRec, *ChoicePtr;
               ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:252:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘choices’
 static ChoicePtr   choices;
                    ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:258:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:297:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:386:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:411:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:521:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
In file included from /var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:59:0:
/usr/include/bsd/unistd.h:63:6: error: old-style parameter declarations in prototyped function definition
 void setproctitle(const char *fmt, ...)
      ^
/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11/xdm/choose.c:550:1: error: expected ‘{’ at end of input
 }
 ^
Makefile:561: set di istruzioni per l'obiettivo "choose.o" non riuscito
make[2]: *** [choose.o] Errore 1
make[2]: *** Attesa per i processi non terminati....
make[2]: uscita dalla directory "/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11_build/xdm"
Makefile:566: set di istruzioni per l'obiettivo "all-recursive" non riuscito
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory "/var/tmp/portage/x11-apps/xdm-1.1.11-r3/work/xdm-1.1.11_build"
Makefile:477: set di istruzioni per l'obiettivo "all" non riuscito
make: *** [all] Errore 2


Reproducible: Always

Actual Results:  
My emerge --info

Portage 2.2.26 (python 2.7.11-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.3.0, glibc-2.22-r1, 4.3.3-gentoo x86_64)
=================================================================
System uname: Linux-4.3.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-4710HQ_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:    16313464 total,   8982896 free
KiB Swap:   17825788 total,  17607300 free
Timestamp of repository gentoo: Wed, 06 Jan 2016 08:15:01 +0000
sh bash 4.3_p42-r1
ld ld di GNU (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.4.1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000

manual
    location: /usr/portage/local/manual
    masters: gentoo
    priority: 0

bibletime
    location: /var/lib/layman/bibletime
    masters: gentoo
    priority: 1

amielke-overlay
    location: /var/lib/layman/amielke-overlay
    masters: gentoo
    priority: 50

belak
    location: /var/lib/layman/belak
    masters: gentoo
    priority: 50

betagarden
    location: /var/lib/layman/betagarden
    masters: gentoo
    priority: 50

gamerlay
    location: /var/lib/layman/gamerlay
    masters: gentoo
    priority: 50

luman
    location: /var/lib/layman/luman
    masters: gentoo
    priority: 50

maekke
    location: /var/lib/layman/maekke
    masters: gentoo
    priority: 50

maggu2810-overlay
    location: /var/lib/layman/maggu2810-overlay
    masters: gentoo
    priority: 50

nikai
    location: /var/lib/layman/nikai
    masters: gentoo
    priority: 50

pentoo
    location: /var/lib/layman/pentoo
    masters: gentoo
    priority: 50

pinkbyte
    location: /var/lib/layman/pinkbyte
    masters: gentoo
    priority: 50

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 50

voyageur
    location: /var/lib/layman/voyageur
    masters: gentoo
    priority: 50

yarik-overlay
    location: /var/lib/layman/yarik-overlay
    masters: gentoo
    priority: 50

zugaina
    location: /var/lib/layman/zugaina
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" http://mirror.ovh.net/gentoo-distfiles/ http://ftp.heanet.ie/pub/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ rsync://rsync3.it.gentoo.org/gentoo-sources/ ftp://ftp.unina.it/pub/linux/distributions/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/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"
USE="3ds 64bit X a52 aac aacplus aacs aalib acl acpi ads aften aiglx akode alias alsa amd64 amr ao apache apm apng asyncns audiofile autoreplace autotrace avahi avi bash-completion berkdb bidi bitmap-fonts bluetooth bluray bmp branding browserplugin bzip bzip2 cairo caps cdaudio cdda cddb cdr cli clucene connectionstatus consolekit contactnotes cracklib crypt cuda cups cvd cvs cxx dbus declarative designer dia dialup dirac djvu dri dtmf dts dv dvb dvd dvdr dvdread dvi dxva2 dynamicplugin ebook efi emboss encode ethereal exif faac faad fam farstream fat fdk ffmpeg firefox flac fluidsynth fontconfig foomaticdb fortran freetds frei0r fribidi g726 g729 gbm gdbm geolocation gif gimp git glamor glib glitz gme gnome-keyring gphoto2 gpm gps gpu groupwise gstreamer gtk gtk3 h323 highlight history hvm i8x0 iconv icu ieee1394 ilbc imagemagick innodb iphone ipv6 irc ithreads jack java javascript jingle jpeg jpeg2k kate kde kdenlive kdepim kipi kontact kqemu lame laptop lcms ldap libass libkms libnotify lm_sensors lucene m4a mad marble mbrola mdb mdnsresponder-compat mercurial midi mime minizip mmx mmxext mng modules moonlight mozilla mp3 mp4 mpeg mpeg2 mplayer msn mssql multilib musepack musicbrainz ncurses netmeeting nls nowlistening npt1 nptl nptlonly nsplugin ntfs nvidia odbc ogg openal openexr opengl openipmi openmp opus orc oss pam pango pcmcia pcre pda pdf perl phonon plasma pmu png policykit portaudio postgres postproc ppds pulseaudio python python3 qemu qml qt3support qt4 qt5 quicktime rar raw rdesktop rdp readline reiserfs reports rtsp samba sametime sane scanner sdl sdl-image seccomp semantic-desktop session shout sip sipim skype smp sms soprano soundtouch speex spell sqlite sse sse2 sse3 ssh ssl startup-notification subtitles subversion svg tcpd texteffect texteffects theora tidy tiff timidity tk tordns touchpad translator truetype truetype-fonts twolame type1-fonts udev udisks unicode upower usb utempter uxa v4l v4l2 vaapi vcd vcdx vdpau video virtualbox vnc vorbis vpx wav wavpack webkit webpresence webrtc-aec wicd widgets wifi wiimote win32codecs win64 winbind winetriks winpopup wlm wma wma-fixed wmf wxwidgets wxwindows x264 xattr xcb xcomposite xen xetex xine xinerama xml xmp xscreensaver xv xvid xvmc yahoo zeroconf zlib" ABI_X86="64 32" ALSA_CARDS="snd_hda_intel" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2 avx avx2 fma3" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev joystick synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it en it_IT" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21 ruby22" SANE_BACKENDS="*" USERLAND="GNU" VIDEO_CARDS="nvidia intel i965 nv vesa nouveau v4l v4l2 modesetting fbdev" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Silvio 2016-01-07 21:35:51 UTC
Created attachment 422236 [details]
My build.log
Comment 2 Tomáš Mózes 2016-01-08 06:47:57 UTC
It builds for me on the more-less same configuration. Passing to the x11 team.
Comment 3 Tomáš Mózes 2016-01-08 06:49:51 UTC
Can you please check what installed /usr/include/bsd?
Comment 4 Silvio 2016-01-08 09:24:47 UTC
(In reply to Tomáš Mózes from comment #3)
> Can you please check what installed /usr/include/bsd?

drwxr-xr-x   4 root root  4096  6 gen 10.54 .
drwxr-xr-x 660 root root 69632  7 gen 23.32 ..
-rw-r--r--   1 root root  1596  6 gen 10.54 bitstring.h
-rw-r--r--   1 root root  1779  6 gen 10.54 bsd.h
-rw-r--r--   1 root root  1998  6 gen 10.54 err.h
-rw-r--r--   1 root root  1578  6 gen 10.54 getopt.h
-rw-r--r--   1 root root  3181  6 gen 10.54 libutil.h
-rw-r--r--   1 root root  1901  6 gen 10.54 md5.h
drwxr-xr-x   2 root root  4096  6 gen 10.54 netinet
-rw-r--r--   1 root root  1638  6 gen 10.54 nlist.h
-rw-r--r--   1 root root  1732  6 gen 10.54 readpassphrase.h
-rw-r--r--   1 root root  3086  6 gen 10.54 stdio.h
-rw-r--r--   1 root root  2917  6 gen 10.54 stdlib.h
-rw-r--r--   1 root root  1944  6 gen 10.54 string.h
-rw-r--r--   1 root root  2024  6 gen 10.54 stringlist.h
drwxr-xr-x   2 root root  4096  6 gen 10.54 sys
-rw-r--r--   1 root root  2360  6 gen 10.54 timeconv.h
-rw-r--r--   1 root root  2359  6 gen 10.54 unistd.h
-rw-r--r--   1 root root  3280  6 gen 10.54 vis.h
-rw-r--r--   1 root root  2045  6 gen 10.54 wchar.h
Comment 5 Tomáš Mózes 2016-01-08 09:59:49 UTC
I meant to check which package installed that.

For example:

$ equery belongs /usr/include/yajl/yajl_common.h 
 * Searching for /usr/include/yajl/yajl_common.h ... 
dev-libs/yajl-2.0.4-r2 (/usr/include/yajl/yajl_common.h)

So the file /usr/include/yajl/yajl_common.h was installed by dev-libs/yajl

Please check:

$ equery belongs /usr/include/bsd/unistd.h
Comment 6 Silvio 2016-01-08 10:11:13 UTC
(In reply to Silvio from comment #4)
> (In reply to Tomáš Mózes from comment #3)
> > Can you please check what installed /usr/include/bsd?
> 
> drwxr-xr-x   4 root root  4096  6 gen 10.54 .
> drwxr-xr-x 660 root root 69632  7 gen 23.32 ..
> -rw-r--r--   1 root root  1596  6 gen 10.54 bitstring.h
> -rw-r--r--   1 root root  1779  6 gen 10.54 bsd.h
> -rw-r--r--   1 root root  1998  6 gen 10.54 err.h
> -rw-r--r--   1 root root  1578  6 gen 10.54 getopt.h
> -rw-r--r--   1 root root  3181  6 gen 10.54 libutil.h
> -rw-r--r--   1 root root  1901  6 gen 10.54 md5.h
> drwxr-xr-x   2 root root  4096  6 gen 10.54 netinet
> -rw-r--r--   1 root root  1638  6 gen 10.54 nlist.h
> -rw-r--r--   1 root root  1732  6 gen 10.54 readpassphrase.h
> -rw-r--r--   1 root root  3086  6 gen 10.54 stdio.h
> -rw-r--r--   1 root root  2917  6 gen 10.54 stdlib.h
> -rw-r--r--   1 root root  1944  6 gen 10.54 string.h
> -rw-r--r--   1 root root  2024  6 gen 10.54 stringlist.h
> drwxr-xr-x   2 root root  4096  6 gen 10.54 sys
> -rw-r--r--   1 root root  2360  6 gen 10.54 timeconv.h
> -rw-r--r--   1 root root  2359  6 gen 10.54 unistd.h
> -rw-r--r--   1 root root  3280  6 gen 10.54 vis.h
> -rw-r--r--   1 root root  2045  6 gen 10.54 wchar.h

(In reply to Tomáš Mózes from comment #5)
> I meant to check which package installed that.

sorry
 
> For example:
> 
> $ equery belongs /usr/include/yajl/yajl_common.h 
>  * Searching for /usr/include/yajl/yajl_common.h ... 
> dev-libs/yajl-2.0.4-r2 (/usr/include/yajl/yajl_common.h)
> 
> So the file /usr/include/yajl/yajl_common.h was installed by dev-libs/yajl
> 
> Please check:
> 
> $ equery belongs /usr/include/bsd/unistd.h

# equery belongs /usr/include/bsd/unistd.h
 * Searching for /usr/include/bsd/unistd.h ... 
dev-libs/libbsd-0.8.0 (/usr/include/bsd/unistd.h)
Comment 7 Tomáš Mózes 2016-01-08 11:35:22 UTC
Do you need libbsd? If not, try to uninstall it and try to re-emerge xdm.
Comment 8 Silvio 2016-01-08 14:45:48 UTC
(In reply to Tomáš Mózes from comment #7)
> Do you need libbsd? If not, try to uninstall it and try to re-emerge xdm.

It works,

Now I'm trying to do:

emerge -NDavu world

to understand if I need that lib.

But why it creates problems?
Comment 9 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-01-08 16:39:52 UTC
This is supposedly fixed by this commit, which is also in libbsd-0.8.1
http://cgit.freedesktop.org/libbsd/commit/?id=48ac79b1883981f5135b5b9c76ca268e6cbe65b2
Comment 10 Felix Janda 2016-01-08 19:35:50 UTC
Same problem as in bug 567988.