Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130176 - media-video/ati-gatos - broken source tarball, broken dependencies
Summary: media-video/ati-gatos - broken source tarball, broken dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-16 10:50 UTC by Segin
Modified: 2007-10-21 07:00 UTC (History)
6 users (show)

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


Attachments
ati-gatos directory in my PORTDIR_OVERLAY (ati-gatos__working_with_modular_xorg.tar.bz2,8.65 KB, application/octet-stream)
2006-05-10 07:57 UTC, Thomas Raschbacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Segin 2006-04-16 10:50:08 UTC
The source tree for media-video/ati-gatos is broken; it is missing the file "Imake.tmpl". Because of this, it is impossible to build it under any configuration.

It should also be noted that it does not depend of x11-apps/imake when using modular Xorg

Steps to reproduce:
1. emerge ati-gatos

Reproducible: Always

emerge --info:
Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.16-gentoo-r2 i586)
=================================================================
System uname: 2.6.16-gentoo-r2 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O2 -march=i586 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=i586 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm avi bash-completion berkdb bitmap-fonts cli crypt ctype cups dba directfb doc dri eds emboss encode esd expat fastbuild fbcon foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 isdnlog javascript jpeg libg++ libwww mad memlimit mikmod mmx motif mp3 mpeg ncurses nextaw nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png posix pppd python qt quicktime readline sdk sdl session simplexml soap sockets spell spl ssl svga tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_ati video_cards_fbdev video_cards_s3virge video_cards_vesa video_cards_vga"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Thomas Raschbacher gentoo-dev 2006-05-10 07:57:44 UTC
Created attachment 86549 [details]
ati-gatos directory in my PORTDIR_OVERLAY

ok i got it to work here with 'some' modifications and a patch to the makefile i'll attach it (i don't want to commit something like this especially when I'm not the maintainer of the package) :)

@battosai maybe u have a use for this. it installs fine here
Comment 2 Thomas Raschbacher gentoo-dev 2006-05-10 09:14:30 UTC
ok X also runs fine now (had some other prob so I wasn't 100% sure if it was ok)
Comment 3 MickKi 2006-06-12 13:12:11 UTC
Any ideas how long before this fix is incorporated in portage?  I've only used portage overlay once and even then someone was holding my hand, so I'd rather wait - unless it will take longer than me learning how to use overlay . . . :-)
-- 
Regards,
Mick

Comment 4 Lex 2006-09-05 11:10:39 UTC
That fix worked for me.  I was rebuilding 'world' after I upgraded to GCC 4, and ati-gatos crashed (saying something about Imake I believe).  It could have been because of modular X, i'm not sure.  But the TV-out has been working fine for me.

Here's my info:

Portage 2.1-r2 (default-linux/x86/2005.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16-suspend2-r8 i686)
=================================================================
System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.4
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac akode alsa apache2 apm arts audio audiofile avi berkdb bitmap-fonts bzip2 cdr cli cpudetection crypt cups dlloader dri dvd dvdr emboss encode esd firefox foomaticdb fortran gdbm gif gpm gtk gtk2 idn imlib ipv6 isdnlog java jpeg kde lcms libg++ libwww mad mikmod mmx motif mozilla mozilla-plugin mp3 mpeg nas ncurses nls nptl nptlonly nsplugin offensive ogg oggvorbis opengl oss pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline real reflection sdl session sound spell spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis xcomposite xine xml xml2 xmms xorg xscreensaver xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_radeon video_cards_vesa video_cards_fbdev video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Lex 2006-10-16 10:22:36 UTC
The attached portage overlay worked VERY WELL.

However, when I upgraded to xorg-7.1, it wouldn't compile.

If this isn't going to be added to the main portage tree, another overlay would be very welcome.

The error I get is:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-video/ati-gatos-4.4.0-r1  0 kB [1] 

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage

Would you like to merge these packages? [Yes/No] y

>>> Emerging (1 of 1) media-video/ati-gatos-4.4.0-r1 to /
 * ati-gatos-4.4.0-20040930.tar.bz2 size ;-) ...                          [ ok ]
 * ati-gatos-4.4.0-20040930.tar.bz2 RMD160 ;-) ...                        [ ok ]
 * ati-gatos-4.4.0-20040930.tar.bz2 SHA256 ;-) ...                        [ ok ]
 * ati-gatos-4.4.0-20040930.tar.bz2 MD5 ;-) ...                           [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking ati-gatos-4.4.0-20040930.tar.bz2 ;-) ...                      [ ok ]

!!! ERROR: media-video/ati-gatos-4.4.0-r1 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  ati-gatos-4.4.0-r1.ebuild, line 22:   Called built_with_use 'x11-base/xorg-x11' 'sdk'
  eutils.eclass, line 1619:   Called die

!!! x11-base/xorg-x11-7.1 does not actually support the sdk USE flag!
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/portage'
Comment 6 Grant Boling 2007-05-30 06:45:20 UTC
(In reply to comment #1)
> Created an attachment (id=86549) [edit]
> ati-gatos directory in my PORTDIR_OVERLAY
> 
> ok i got it to work here with 'some' modifications and a patch to the makefile
> i'll attach it (i don't want to commit something like this especially when I'm
> not the maintainer of the package) :)
> 
> @battosai maybe u have a use for this. it installs fine here
> 

With the patch it compiles okay (unlike the ati-gatos in portage), but for some reason xorg chokes on the modules with: 
(II) Loading /usr/lib/modules/drivers//ati_drv.so
dlopen: /usr/lib/modules/drivers//ati_drv.so: undefined symbol: RADEONOptions
(EE) Failed to load /usr/lib/modules/drivers//ati_drv.so

emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r2, 2.6.20-gentoo-r8-gb-cb-gt4 i686)
=================================================================
System uname: 2.6.20-gentoo-r8-gb-cb-gt4 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 16 May 2007 07:20:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ "
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X alsa arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr eds emboss encode esd fam firefox fortran gdbm gif gpm gstreamer hal iconv ipv6 isdnlog jpeg kde ldap libg++ mad midi mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I'm running xorg 7.2.0, and haven't been able to find anything relevant via google or the gentoo forums.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-07-07 06:43:01 UTC
Folks, what's this dead thing good for with current Xorg versions? x11-drivers/xf86-video-ati doesn't work, or?
Comment 8 David J Cozatt 2007-07-18 20:29:14 UTC
"Folks, what's this dead thing good for with current Xorg versions?
x11-drivers/xf86-video-ati doesn't work, or?"

The current versions of the documentaion for dri and ati that are sown in the documentaion list for these cards say use x11-drm. 

http://www.gentoo.org/doc/en/ati-faq.xml
http://www.gentoo.org/doc/en/dri-howto.xml

This driver is now part of the xorg package? Not sure. Please update the documentation to reflect the proper procedure for both direct rendering and ati-gatos if it is now in xorg? 

Things seem to be in a transition state and the documentaion is not catching up.

A good way to generate bugs...increase workload.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2007-08-23 16:33:11 UTC
Gone in 60 days.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2007-10-21 07:00:49 UTC
removed from tree, replaced by __latest__ xf86-video-ati in tree.