Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352292 - [gnr overlay] x11-libs/liblauncher-0.1.8 - launcher-session.c:251: error: 'gdk_display' undeclared (first use in this function)--->compile failure
Summary: [gnr overlay] x11-libs/liblauncher-0.1.8 - launcher-session.c:251: error: 'gd...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Lance Albertson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-20 22:27 UTC by Michael Schwarz
Modified: 2011-02-21 17:51 UTC (History)
0 users

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 Michael Schwarz 2011-01-20 22:27:28 UTC
When i try to emerge x11-libs/liblauncher-0.1.8 from gnr, it crashes with the comment "compile failure".

launcher-session.c: In function 'latin1_to_utf8':
launcher-session.c:228: error: declaration of 'read' shadows a global declaration
/usr/include/bits/unistd.h:35: error: shadowed declaration is here
launcher-session.c: In function 'window_wmclass_get':
launcher-session.c:251: error: 'gdk_display' undeclared (first use in this function)
launcher-session.c:251: error: (Each undeclared identifier is reported only once
launcher-session.c:251: error: for each function it appears in.)
make[2]: *** [launcher-session.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed


Reproducible: Always

Steps to Reproduce:
1. add gnr to layman local list
2. emerge liblauncher
Actual Results:  
emerging crashes with comment "compile fail"
relevant lines in compile log are:


launcher-session.c: In function 'latin1_to_utf8':
launcher-session.c:228: error: declaration of 'read' shadows a global declaration
/usr/include/bits/unistd.h:35: error: shadowed declaration is here
launcher-session.c: In function 'window_wmclass_get':
launcher-session.c:251: error: 'gdk_display' undeclared (first use in this function)
launcher-session.c:251: error: (Each undeclared identifier is reported only once
launcher-session.c:251: error: for each function it appears in.)
make[2]: *** [launcher-session.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed


Expected Results:  
emerge correctly

emerge --info =

Portage 2.1.9.34 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.12.2-r0, 2.6.36-gentoo-r5 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r5-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 20 Jan 2011 10:00:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 3.1.2-r4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.68
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.4-r2, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gnr /var/lib/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi ao bash-completition berkdb bindist bluetooth bzip2 calendar cli consolekit cracklib crypt cxx dbus dri ecode extras ffmpeg flac fortran ftp gdbm geoip gif gimp gnome gnutls gpm gps gstreamer gtk gzip hddtemp iconv icq ipod ipv6 jabber java javascript jpeg lame libnotify lm_sensors matroska mime modules mozilla mp3 mp4 mpeg mplayer msn mudflap musicbrainz ncurses networkmanager nls nntp nocd nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png policykit pppd pulseaudio python qt4 quicktime raw readline rss session smp sockets socks5 ssl subversion sysfs tcpd tiff udev unicode usb vorbis wifi win32codecs wxwidgets x264 x86 xml xorg xscreensaver zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" 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" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

-------------------------------------------------------------
emerge -pqv =x11-libs/liblauncher-0.1.8:

[ebuild  N    ] x11-libs/liblauncher-0.1.8  USE="-debug" 

-------------------------------------------------------------
compile log:

[32;01m * [39;49;00mPackage:    x11-libs/liblauncher-0.1.8
[32;01m * [39;49;00mRepository: netbook-remix
[32;01m * [39;49;00mMaintainer: ramereth@gentoo.org
[32;01m * [39;49;00mUSE:        elibc_glibc kernel_linux userland_GNU x86
[32;01m * [39;49;00mFEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking liblauncher-0.1.8.tar.gz to /var/tmp/portage/x11-libs/liblauncher-0.1.8/work
>>> Source unpacked in /var/tmp/portage/x11-libs/liblauncher-0.1.8/work
>>> Preparing source in /var/tmp/portage/x11-libs/liblauncher-0.1.8/work/liblauncher-0.1.8 ...
 [32;01m*[0m Fixing OMF Makefiles ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Running elibtoolize in: liblauncher-0.1.8/
 [32;01m*[0m   Applying portage-2.2.patch ...
 [32;01m*[0m   Applying sed-1.5.6.patch ...
 [32;01m*[0m   Applying as-needed-2.2.6.patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-libs/liblauncher-0.1.8/work/liblauncher-0.1.8 ...
 * econf: updating liblauncher-0.1.8/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating liblauncher-0.1.8/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for memset... yes
checking for munmap... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LAUNCHER... yes
checking for sed... /bin/sed
configure: creating ./config.status
config.status: creating Makefile
config.status: creating build/Makefile
config.status: creating build/autotools/Makefile
config.status: creating build/autotools/shave-libtool
config.status: creating build/autotools/shave
config.status: creating launcher/Makefile
config.status: creating launcher.pc
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

 liblauncher 0.1.8
 ===============================

 Prefix       : /usr

 Documentation: 

>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-libs/liblauncher-0.1.8/work/liblauncher-0.1.8 ...
make 
Making all in build
Making all in autotools
Making all in launcher
  CC    launcher-application.o
  CC    launcher-category.o
  CC    launcher-favorites.o
  CC    launcher-folder-bookmarks.o
  CC    launcher-folder.o
  CC    launcher-icon-utils.o
  CC    launcher-menu.o
  CC    launcher-session.o
cc1: warnings being treated as errors
launcher-session.c: In function 'latin1_to_utf8':
launcher-session.c:228: error: declaration of 'read' shadows a global declaration
/usr/include/bits/unistd.h:35: error: shadowed declaration is here
launcher-session.c: In function 'window_wmclass_get':
launcher-session.c:251: error: 'gdk_display' undeclared (first use in this function)
launcher-session.c:251: error: (Each undeclared identifier is reported only once
launcher-session.c:251: error: for each function it appears in.)
make[2]: *** [launcher-session.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed
 [31;01m*[0m ERROR: x11-libs/liblauncher-0.1.8 failed:
 [31;01m*[0m   compile failure
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line   56:  Called src_compile
 [31;01m*[0m   environment, line 2955:  Called gnome2_src_compile
 [31;01m*[0m   environment, line 2265:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       emake || die "compile failure"
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of 'emerge --info =x11-libs/liblauncher-0.1.8',
 [31;01m*[0m the complete build log and the output of 'emerge -pqv =x11-libs/liblauncher-0.1.8'.
 [31;01m*[0m This ebuild is from an overlay named 'netbook-remix': '/var/lib/layman/gnr/'
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/x11-libs/liblauncher-0.1.8/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/x11-libs/liblauncher-0.1.8/temp/environment'.
 [31;01m*[0m S: '/var/tmp/portage/x11-libs/liblauncher-0.1.8/work/liblauncher-0.1.8'
Comment 1 Rafał Mużyło 2011-01-20 23:31:53 UTC
Note, that:
a) this doesn't seems to even be an *official* overlay (at least I don't see it on http://git.overlays.gentoo.org/gitweb/)
b) that's a -DGDK_DISABLE_DEPRECATED problem (at least gdk_display error), should be easy to fix, either by removing define or porting to non-deprecated API
Comment 2 Lance Albertson (RETIRED) gentoo-dev 2011-02-21 17:51:04 UTC
I am no longer updating this overlay. I just removed it from the repo list.

Thanks