Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298337 - media-libs/freeglut-2.6.0 missing dependency on x11-libs/libXi
Summary: media-libs/freeglut-2.6.0 missing dependency on x11-libs/libXi
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 300758 (view as bug list)
Depends on:
Blocks: 325215
  Show dependency tree
 
Reported: 2009-12-25 15:31 UTC by woddfellow2
Modified: 2010-08-02 15:00 UTC (History)
3 users (show)

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


Attachments
Build log of freeglut (build.log,12.27 KB, text/plain)
2010-01-02 20:20 UTC, ajgon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description woddfellow2 2009-12-25 15:31:26 UTC
I ran emerge -uDNa world, and it stopped at freeglut with this:
http://pastebin.com/f41630981

Pastebin of /var/tmp/portage/media-libs/freeglut-2.6.0/temp/build.log:
/var/tmp/portage/media-libs/freeglut-2.6.0/temp/build.log

emerge -pv libXi says it would emerge libX11, libXexet, and libXi (all marked with U).

emerge -pv freeglut:
http://paste.pocoo.org/show/159575/

Reproducible: Didn't try
Comment 1 woddfellow2 2009-12-25 15:37:06 UTC
Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-AMD_Athlon-tm-_Processor-with-gentoo-2.0.1
Timestamp of tree: Fri, 25 Dec 2009 02:30:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
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 /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa avahi berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo extras fam firefox flac fortran gdbm gif gnome gnutls gpm gstreamer gtk hal iconv ipv6 jpeg kdrive ldap libnotify mad midi mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png policykit ppds pppd python qt3support quicktime readline reflection sdl session sip spell spl ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vim-syntax vorbis wav win32codecs x264 x86 xml xorg xulrunner xv xvid 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 woddfellow2 2009-12-25 15:38:43 UTC
Output of emerge -pqv =media-libs/freeglut-2.6.0:
[ebuild     U ] media-libs/freeglut-2.6.0 [2.4.0-r1] USE="-debug% -mpx%"
Comment 3 Rafał Mużyło 2009-12-25 18:15:13 UTC
1. don't use pastebin-alikes for bugzilla
2. you've failed to put the real error there anyway
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2009-12-26 16:45:57 UTC
Please attach the build log you mentioned - we don't want to rely on external resources like pastebins. Also, the fact that freeglut fails to compile/install/whatever is useful, the fact that it did so in the larger picture of a world update probably isn't.
Comment 5 woddfellow2 2009-12-27 05:29:21 UTC
freeglut failed to emerge with: 
[...]
 * ERROR: media-libs/freeglut-2.6.0 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3072:  Called _eapi2_src_compile
 *     ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =media-libs/freeglut-2.6.0',
 * the complete build log and the output of 'emerge -pqv =media-libs/freeglut-2.6.0'.
 * The complete build log is located at '/var/tmp/portage/media-libs/freeglut-2.6.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/freeglut-2.6.0/temp/environment'.
 * S: '/var/tmp/portage/media-libs/freeglut-2.6.0/work/freeglut-2.6.0'

>>> Failed to emerge media-libs/freeglut-2.6.0, Log file:

>>>  '/var/tmp/portage/media-libs/freeglut-2.6.0/temp/build.log'

 * Messages for package dev-libs/libsigc++-2.2.4.2:

 * To allow parallel installation of sigc++-1.0, sigc++-1.2, and sigc++2.0
 * the header files are now installed in a version specific
 * subdirectory.  Be sure to unmerge any libsigc++ versions
 * < 1.0.4 that you may have previously installed.

 * Messages for package media-plugins/live-2009.11.12:

 * If you are upgrading from a version prior to live-2008.02.08
 * Please make sure to rebuild applications built against live
 * like vlc or mplayer. live may have had ABI changes and live
 * support might be broken.

 * Messages for package sys-process/cronbase-0.3.3:

 * Forcing proper permissions on
 * /etc/cron.{hourly,daily,weekly,monthly},
 * /var/spool/cron/ and /var/spool/cron/lastrun/

 * Messages for package net-misc/dhcpcd-5.1.3-r1:

 * You have installed dhcpcd with zeroconf support.
 * This means that it will always obtain an IP address even if no
 * DHCP server can be contacted, which will break any existing
 * failover support you may have configured in your net configuration.
 * This behaviour can be controlled with the -L flag.
 * See the dhcpcd man page for more details.
 * 
 * Users transfering from 4.0 series should pay attention to removal
 * of compat useflag. This changes behavior of dhcp in wide manner:
 * dhcpcd no longer sends a default ClientID for ethernet interfaces.
 * This is so we can re-use the address the kernel DHCP client found.
 * To retain the old behaviour of sending a default ClientID based on the
 * hardware address for interface, simply add the keyword clientid
 * to dhcpcd.conf or use commandline parameter -I ''

 * Messages for package sys-apps/pciutils-3.1.4:

 * Providing a backwards compatibility non-compressed pci.ids
 * The 'pcimodules' program has been replaced by 'lspci -k'

 * Messages for package sys-kernel/linux-headers-2.6.30-r1:

 * Kernel headers are usually only used when recompiling your system libc, as
 * such, following the installation of newer headers, it is advised that you
 * re-merge your system libc.
 * Failure to do so will cause your system libc to not make use of newer
 * features present in the updated kernel headers.

 * Messages for package sys-apps/openrc-0.6.0:

 * /etc/conf.d/rc is no longer used for configuration.
 * Please migrate your settings to /etc/rc.conf as applicable
 * and delete /etc/conf.d/rc
 * Auto-adding 'termencoding' service to your boot runlevel
 * Auto-adding 'bootmisc' service to your boot runlevel
 * Auto-adding 'fsck' service to your boot runlevel
 * Auto-adding 'hostname' service to your boot runlevel
 * Auto-adding 'hwclock' service to your boot runlevel
 * Auto-adding 'keymaps' service to your boot runlevel
 * Auto-adding 'localmount' service to your boot runlevel
 * Auto-adding 'modules' service to your boot runlevel
 * Auto-adding 'mtab' service to your boot runlevel
 * Auto-adding 'net.lo' service to your boot runlevel
 * Auto-adding 'procfs' service to your boot runlevel
 * Auto-adding 'root' service to your boot runlevel
 * Auto-adding 'swap' service to your boot runlevel
 * Auto-adding 'sysctl' service to your boot runlevel
 * Auto-adding 'termencoding' service to your boot runlevel
 * Auto-adding 'urandom' service to your boot runlevel
 * Auto-adding 'device-mapper' service to your boot runlevel
 * Auto-adding 'lvm' service to your boot runlevel
 * Add on services (such as RAID/dmcrypt/LVM/etc...) are now stand alone
 * init.d scripts.  If you use such a thing, make sure you have the
 * required init.d scripts added to your boot runlevel.
 * Converting your /etc/modules.autoload.d/ files to /etc/conf.d/modules
 * Auto-adding 'udev' service to your sysinit runlevel
 * Auto-adding 'udev-postmount' service to your default runlevel
 * //etc/conf.d/net.example has been removed.
 * The new file is //usr/share/doc/openrc-0.6.0/net.example
 * //etc/conf.d/wireless.example is deprecated and has been removed.
 * If you are using the old style network scripts,
 * Configure wireless settings in //etc/conf.d/net
 * after reviewing //usr/share/doc/openrc-0.6.0/net.example
 * You should now update all files in /etc, using etc-update
 * or equivalent before restarting any services or this host.
 * 
 * Please read the migration guide available at:
 * http://www.gentoo.org/doc/en/openrc-migration.xml

 * Messages for package dev-libs/libpcre-8.00:

 * This version of libpcre has stopped installing .la files. This may
 * cause compilation failures in other packages. To fix this problem,
 * install dev-util/lafilefixer and run:
 * lafilefixer --justfixit

 * Messages for package dev-libs/libcdio-0.82:

 * If you've upgraded from a previous version of libcdio, you may need to re-emerge
 * packages that linked against libcdio (vlc, vcdimager and more) by running:
 * 	revdep-rebuild

 * Messages for package x11-libs/libdrm-2.4.17:

 * libdrm's ABI may have changed without change in library name
 * Please rebuild media-libs/mesa, x11-base/xorg-server and
 * your video drivers in x11-drivers/*.

 * Messages for package sys-kernel/genkernel-3.4.10.907:

 * Copying files to /var/cache/genkernel/src...
 * Documentation is available in the genkernel manual page
 * as well as the following URL:
 * http://www.gentoo.org/doc/en/genkernel.xml
 * This package is known to not work with reiser4.  If you are running
 * reiser4 and have a problem, do not file a bug.  We know it does not
 * work and we don't plan on fixing it since reiser4 is the one that is
 * broken in this regard.  Try using a sane filesystem like ext3 or
 * even reiser3.
 * The LUKS support has changed from versions prior to 3.4.4.  Now,
 * you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah.

 * Messages for package dev-util/ctags-5.8:

 * You can set the version to be started by /usr/bin/ctags through
 * the ctags eselect module. "man ctags.eselect" for details.

 * Messages for package dev-libs/nss-3.12.5:

 * We have reverted back to using upstreams soname.
 * Please run revdep-rebuild --library libnss3.so.12 , this
 * will correct most issues. If you find a binary that does
 * not run please re-emerge package to ensure it properly
 *  links after upgrade.
 * 

 * Messages for package sys-kernel/gentoo-sources-2.6.32:

 * If you are upgrading from a previous kernel, you may be interested
 * in the following document:
 *   - General upgrade guide: http://www.gentoo.org/doc/en/kernel-upgrade.xml

 * Messages for package media-libs/freeglut-2.6.0:

 * ERROR: media-libs/freeglut-2.6.0 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3072:  Called _eapi2_src_compile
 *     ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =media-libs/freeglut-2.6.0',
 * the complete build log and the output of 'emerge -pqv =media-libs/freeglut-2.6.0'.
 * The complete build log is located at '/var/tmp/portage/media-libs/freeglut-2.6.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/freeglut-2.6.0/temp/environment'.
 * S: '/var/tmp/portage/media-libs/freeglut-2.6.0/work/freeglut-2.6.0'

 * Regenerating GNU info directory index...
 * Processed 138 info files.

 * IMPORTANT: 15 config files in '/etc' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

emerge -pv freeglut: 
These are the packages that would be merged, in order:

Calculating dependencies  ... done!
[ebuild     U ] media-libs/freeglut-2.6.0 [2.4.0-r1] USE="-debug% -mpx%" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB
Comment 6 Rafał Mużyło 2009-12-27 12:48:02 UTC
> Please attach the build log you mentioned
Which part of this sentence is too hard too understand ?
1. attach != paste
2. the real error is STILL missing - it's above all of those messages
Comment 7 ajgon 2010-01-02 20:20:02 UTC
Created attachment 214940 [details]
Build log of freeglut
Comment 8 ajgon 2010-01-02 20:23:54 UTC
emerging x11-apps/xinput solved the problem (broken deps ?)

greets
Comment 9 Rafał Mużyło 2010-01-03 00:45:48 UTC
You should have reopened.

IIRC, That header has recently moved between packages.
So the problem may be valid (unless you're masking some of x11-libs).
Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2010-01-21 17:54:30 UTC
*** Bug 300758 has been marked as a duplicate of this bug. ***
Comment 11 Simone Scanzoni 2010-03-23 15:23:01 UTC
media-libs/freeglut-2.6.0 is missing a dependency on x11-libs/libXi too (with mpx disabled).
I tried to build media-libs/freeglut-2.6.0 on MacOSX and I got an error that made me think I needed to install x11-libs/libXi first. I did so and it worked. Just to be sure I unmerged libXi from my Linux box and when I tried to rebuild media-libs/freeglut-2.6.0 I got the same result:
[...]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
make[2]: *** [libglut.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.6.0/work/freeglut-2.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.6.0/work/freeglut-2.6.0'
make: *** [all] Error 2
 * ERROR: media-libs/freeglut-2.6.0 failed:
 *   emake failed
[...]
After emerging libXi I could build freeglut again.
Comment 12 Jeremy Murphy 2010-06-01 23:56:34 UTC
In my quest to see freeglut-2.6.0 stabilized, I'm going to suggest that this bug is invalid and should be closed.  I think the idea of a bug in freeglut has been imagined from a failed and confused emerge world update.  freeglut-2.6.0 does not depend on x11-apps/xinput.  Yes, libXi is a deep dependency and will be emerged if the -D option is used.

Would the reporter or the maintainers please consider closing this bug or posting clear, specific bug data.  Thanks!  :)
Comment 13 Thomas Kahle (RETIRED) gentoo-dev 2010-07-26 21:48:37 UTC
(In reply to comment #12)
> In my quest to see freeglut-2.6.0 stabilized, I'm going to suggest that this
> bug is invalid and should be closed.  I think the idea of a bug in freeglut has
> been imagined from a failed and confused emerge world update.  freeglut-2.6.0
> does not depend on x11-apps/xinput.

Ping from x86-arch team. I can *not* reproduce this issue, xinput is not a dependency. freeglut builds and links fine without xinput. If any objections against closing this bug exist please post them within a week. 
Comment 14 Myckel Habets 2010-07-29 05:27:12 UTC
(In reply to comment #13)
> (In reply to comment #12)
> > In my quest to see freeglut-2.6.0 stabilized, I'm going to suggest that this
> > bug is invalid and should be closed.  I think the idea of a bug in freeglut has
> > been imagined from a failed and confused emerge world update.  freeglut-2.6.0
> > does not depend on x11-apps/xinput.
> 
> Ping from x86-arch team. I can *not* reproduce this issue, xinput is not a
> dependency. freeglut builds and links fine without xinput. If any objections
> against closing this bug exist please post them within a week. 
> 

I tested it also, same outcome here. No problems encountered.
Comment 15 Rafał Mużyło 2010-07-31 00:52:03 UTC
To make things clear -
the error was: 
freeglut_internal.h:111:39: error: X11/extensions/XInput.h: No such file or directory

As it seems mpx useflag was off, it probably means x11-libs/libXi is a hard dep
(perhaps just build-time, haven't checked).

That x11-apps/xinput thing is just effect of the reporter emerging things at random till freeglut built.
My comment was just related to the shuffle, when during 1.6 -> 1.7 xserver
upgrade many headers moved between packages.
Comment 16 Jeremy Murphy 2010-08-02 07:36:13 UTC
So, what's the verdict?  :)
Comment 17 Thomas Kahle (RETIRED) gentoo-dev 2010-08-02 07:39:52 UTC
Closing as invalid. 
If you are having linking trouble as in comment #11, please open a new bug.
Comment 18 Thomas Kahle (RETIRED) gentoo-dev 2010-08-02 14:45:43 UTC
Weird, while I could not reproduce this last week, I can now:

Jeremy, could you try the following:

Unmerge libXi
USE="-mpx" emerge -1v =freeglut-2.6.0

-> Fails here with exactly the error in comment #11. Now it seems to me that the libXi dependency is just not use conditional on mpx. (... and what would a system without libXi but with freeglut be used for...? )
Comment 19 Phil Stracchino (Unix Ronin) 2010-08-02 14:52:28 UTC
Well, I don't see that you WOULD really use a system with freeglut but no libXi.  I see this (and encountered it) as a failure that *can* occur while installing the system, IF you're on your make-world step after enabling a desktop profile AND things work out such that freeglut gets pulled in before libXi — exactly as it did on the machine I was installing when I ran into this myself.
Comment 20 Tomáš Chvátal (RETIRED) gentoo-dev 2010-08-02 15:00:11 UTC
Dep adjusted in main tree.