Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350575 - =x11-libs/libXrandr-1.3.1 does depend on x11-proto/randrproto but it should depend on >=x11-proto/randrproto-1.3
Summary: =x11-libs/libXrandr-1.3.1 does depend on x11-proto/randrproto but it should d...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-04 19:01 UTC by Joachim Schiele
Modified: 2011-01-05 16:26 UTC (History)
1 user (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 Joachim Schiele 2011-01-04 19:01:43 UTC
same as summary
=x11-libs/libXrandr-1.3.1 does depend on x11-proto/randrproto but it should depend on >=x11-proto/randrproto-1.3

just replace:
x11-proto/randrproto with
>=x11-proto/randrproto-1.3 in

libXrandr-1.3.1.ebuild


Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-01-04 19:24:43 UTC
Keywords for x11-proto/randrproto:
      | a a a h i m m p p s s s x | u s | r
      | l m r p a 6 i p p 3 h p 8 | n l | e
      | p d m p 6 8 p c c 9   a 6 | u o | p
      | h 6   a 4 k s   6 0   r   | s t | o
      | a 4             4     c   | e   |  
      |                           | d   |  
------+---------------------------+-----+-------
1.3.1 | + + + + + o ~ + + + + + + | o 0 | gentoo
1.3.2 | ~ + + + ~ o ~ ~ + ~ ~ ~ + | o   | gentoo

Nothing else is in the tree, so why set a dependency on something that shouldn't exist?
Comment 2 Joachim Schiele 2011-01-05 16:26:06 UTC
yes you are right, only these versions are currently in the tree. my problem was that not all software was listed in the world file, that resulted probably in a dependency miss (not including the recent x11-proto/randrproto) in the update. 

# qlist -IvC | grep rand
x11-apps/xrandr-1.3.4
x11-libs/libXrandr-1.3.1
x11-proto/randrproto-1.3.2

but there is no older package in that list. i wonder what happended...?

emerge -uDN world did not update the x11-proto/randrproto (but i can't check that anymore).

thanks for the fast feedback ;-)





>>> Emerging (1 of 1) x11-libs/libXrandr-1.3.1
openpty failed: 'out of pty devices'
>>> Downloading 'ftp://gentoo.imj.fr/pub/gentoo/distfiles/libXrandr-1.3.1.tar.bz2'
--2011-01-03 05:55:54--  ftp://gentoo.imj.fr/pub/gentoo/distfiles/libXrandr-1.3.1.tar.bz2
           => ?/usr/portage/distfiles/libXrandr-1.3.1.tar.bz2?
Resolving gentoo.imj.fr... 94.23.194.173
Connecting to gentoo.imj.fr|94.23.194.173|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/gentoo/distfiles ... done.
==> SIZE libXrandr-1.3.1.tar.bz2 ... 285632
==> PASV ... done.    ==> RETR libXrandr-1.3.1.tar.bz2 ... done.
Length: 285632 (279K) (unauthoritative)

     0K .......... .......... .......... .......... .......... 17%  470K 0s
    50K .......... .......... .......... .......... .......... 35%  705K 0s
   100K .......... .......... .......... .......... .......... 53%  730K 0s
   150K .......... .......... .......... .......... .......... 71%  705K 0s
   200K .......... .......... .......... .......... .......... 89%  727K 0s
   250K .......... .......... ........                        100%  697K=0.4s

2011-01-03 05:55:55 (653 KB/s) - ?/usr/portage/distfiles/libXrandr-1.3.1.tar.bz2? saved [285632]

 * libXrandr-1.3.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...               [ ok ]
 * Package:    x11-libs/libXrandr-1.3.1
 * Repository: gentoo
 * Maintainer: x11@gentoo.org
 * USE:  elibc_glibc kernel_linux userland_GNU x86
>>> Unpacking source...
>>> Unpacking libXrandr-1.3.1.tar.bz2 to /var/tmp/portage/x11-libs/libXrandr-1.3.1/work
>>> Source unpacked in /var/tmp/portage/x11-libs/libXrandr-1.3.1/work
>>> Preparing source in /var/tmp/portage/x11-libs/libXrandr-1.3.1/work/libXrandr-1.3.1 ...
 * Running elibtoolize in: libXrandr-1.3.1/
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-libs/libXrandr-1.3.1/work/libXrandr-1.3.1 ...
 * econf: updating libXrandr-1.3.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating libXrandr-1.3.1/config.sub with /usr/share/gnuconfig/config.sub
./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 --disable-static
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for i686-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
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 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 RANDR... configure: error: Package requirements (x11 randrproto >= 1.3 xext xextproto xrender renderproto) were not met:

Requested 'randrproto >= 1.3' but version of RandrProto is 1.2.2

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables RANDR_CFLAGS
and RANDR_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-libs/libXrandr-1.3.1/work/libXrandr-1.3.1/config.log
 * ERROR: x11-libs/libXrandr-1.3.1 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 3314:  Called xorg-2_src_configure
 *   environment, line 4123:  Called econf '--disable-static'
 *     ebuild.sh, line  552:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =x11-libs/libXrandr-1.3.1',
 * the complete build log and the output of 'emerge -pqv =x11-libs/libXrandr-1.3.1'.
 * The complete build log is located at '/var/tmp/portage/x11-libs/libXrandr-1.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libXrandr-1.3.1/temp/environment'.
 * S: '/var/tmp/portage/x11-libs/libXrandr-1.3.1/work/libXrandr-1.3.1'



# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXrandr/libXrandr-1.3.1.ebuild,v 1.7 2010/12/31 20:07:54 jer Exp $

EAPI=3
inherit xorg-2

DESCRIPTION="X.Org Xrandr library"

KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
IUSE=""

RDEPEND="x11-libs/libX11
    x11-libs/libXext
    x11-libs/libXrender
    x11-proto/randrproto
    x11-proto/renderproto
    x11-proto/xextproto"
DEPEND="${RDEPEND}"



the fix

EAPI=3
inherit xorg-2

DESCRIPTION="X.Org Xrandr library"

KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
IUSE=""

RDEPEND="x11-libs/libX11
    x11-libs/libXext
    x11-libs/libXrender
    >=x11-proto/randrproto-1.3
    x11-proto/renderproto
    x11-proto/xextproto"
DEPEND="${RDEPEND}"




(In reply to comment #1)
> Keywords for x11-proto/randrproto:
>       | a a a h i m m p p s s s x | u s | r
>       | l m r p a 6 i p p 3 h p 8 | n l | e
>       | p d m p 6 8 p c c 9   a 6 | u o | p
>       | h 6   a 4 k s   6 0   r   | s t | o
>       | a 4             4     c   | e   |  
>       |                           | d   |  
> ------+---------------------------+-----+-------
> 1.3.1 | + + + + + o ~ + + + + + + | o 0 | gentoo
> 1.3.2 | ~ + + + ~ o ~ ~ + ~ ~ ~ + | o   | gentoo
> 
> Nothing else is in the tree, so why set a dependency on something that
> shouldn't exist?
>