Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281043 - xfce-extra/xfce4-power-manager-0.8.3.1 fails to build with x11-libs/libXext-1.0.99.4
Summary: xfce-extra/xfce4-power-manager-0.8.3.1 fails to build with x11-libs/libXext-1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-10 23:16 UTC by Gef
Modified: 2012-02-20 21:52 UTC (History)
0 users

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


Attachments
Working patch. (xfce4-power-manager-libXext-1.0.99-dpms.patch,435 bytes, patch)
2009-08-10 23:19 UTC, Gef
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gef 2009-08-10 23:16:54 UTC
Build fails with the following error :
xfpm-dpms.c:35:36: error: X11/extensions/dpmsstr.h : No such file or directory

(Due to the specified file being non-existant on newer devel version of libXext, apparently). /usr/includes/X11/extensions/dpms.h now seems to handle of the needed declarations. Attached patch solves the build issue here.

Reproducible: Always

Steps to Reproduce:
1. layman -a x11
2. emerge =libXext-1.0.99.4
3. emerge =xfce4-power-manager-0.8.3.1

Actual Results:  
Build fails.

Expected Results:  
Build is successful. 

Portage 2.2_rc38 (default/linux/x86/10.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-tuxonice-r5-low-tickless-hrt-ipv6 i686)
=================================================================
System uname: Linux-2.6.30-tuxonice-r5-low-tickless-hrt-ipv6-i686-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 10 Aug 2009 21:45:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs preserved-rebuild protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="fr fr_FR"
MAKEOPTS="-j3"
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="/usr/portage/local/zeta-overlay /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/mozilla /usr/portage/local/layman/wschlich-testing /usr/portage/local/layman/xfce-dev /usr/portage/local/layman/x11 /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apm berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt dbus dri dvd dvdr emboss encode evo exif ffmpeg flac fortran gdbm gif gnutls gpm gstreamer gtk hal iconv id3tag ipv6 isdnlog jpeg lame laptop libnotify mad mikmod mmx mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl ssse3 svg sysfs tcpd threads tiff truetype unicode usb vdpau vorbis win32codecs x264 x86 xcb xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gef 2009-08-10 23:19:10 UTC
Created attachment 200874 [details, diff]
Working patch.
Comment 2 Gef 2009-08-10 23:27:52 UTC
Anyway, it looks like libXext is moving fast. Many files are being added/dropped/splitted :
http://lists.x.org/archives/xorg-devel/2009-June/001232.html
http://osdir.com/ml/fedora-extras-commits/2009-08/msg00091.html
Comment 3 Wormo (RETIRED) gentoo-dev 2009-08-15 07:11:11 UTC
Thanks for submitting your patch, assigning to overlay owners.
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-08-15 21:00:01 UTC
Not our bug.
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-21 18:22:11 UTC
Does this patch work with x11-libs/libXext-1.0.4? I really don't want to add a patch to fix a fast moving target if what you say in Comment #2 is true and hence obsoleting the patch soon thereafter.
Comment 6 Gef 2009-08-21 18:35:50 UTC
I tried to downgrade libXext to 1.0.4 but build fails because of missing headers. Prize for trying to mix branches and dev packages. Anyway, you may be right : patching this is trying to shoot a moving target. I cannot disagree with a WONT FIX for now (and if ever this is needed later, this bug can be reopened).
Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-21 18:48:56 UTC
(In reply to comment #6)
> I tried to downgrade libXext to 1.0.4 but build fails because of missing
> headers. Prize for trying to mix branches and dev packages. Anyway, you may be
> right : patching this is trying to shoot a moving target. I cannot disagree
> with a WONT FIX for now (and if ever this is needed later, this bug can be
> reopened).
> 

Thanks for your efforts here. Please re-open this bug or take it to bugzilla.xfce.org when there is a problem with a future (non moving target) libXext. I've found only moderate success with xfce upstream, so I won't reject a patch for Gentoo if you prepare it. ;)
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2012-02-20 21:52:23 UTC
Fixed long ago, closing