First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 114603
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: X11 External Driver Maintainers <x11-drivers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Avuton Olrich <avuton@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
nvidia-settings-modular-x-changes.patch Diff between r2 and new r3 for modular-x. patch Robin Johnson 2006-01-11 00:45 0000 2.84 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 114603 depends on: Show dependency tree
Bug 114603 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-12-06 01:31 0000
If building nvidia-settings it needs to depend on xmkmf: 
 
>>> Unpacking source... 
>>> Unpacking nvidia-settings-1.0.20051122.tar.gz 
to /var/tmp/portage/nvidia-settings-1.0.20051122/work 
>>> Source unpacked. 
 * Building libXNVCtrl... 
/mnt/shapeshifter/portage/media-video/nvidia-settings/nvidia-settings-1.0.20051122.ebuild: 
line 33: xmkmf: command not found 
 
!!! ERROR: media-video/nvidia-settings-1.0.20051122 failed.

------- Comment #1 From Kris Kersey (RETIRED) 2005-12-07 08:50:16 0000 -------
*** Bug 114687 has been marked as a duplicate of this bug. ***

------- Comment #2 From Kris Kersey (RETIRED) 2005-12-07 08:51:41 0000 -------
In my installation, xmkmf is installed by xorg-x11:

glacier ~ # equery belongs /usr/bin/xmkmf
[ Searching for file(s) /usr/bin/xmkmf in *... ]
x11-base/xorg-x11-6.8.2-r4 (/usr/bin/xmkmf)

Under what condition would xmkmf not be installed?

Anybody?

------- Comment #3 From Joshua Baergen (RETIRED) 2005-12-07 09:31:30 0000 -------
If modular (7.0) is installed, as the bug specifies :P

x11-misc/xmkmf

and 

http://dev.gentoo.org/~spyderous/xorg-x11/porting_to_modular_x_howto.txt

------- Comment #4 From Donnie Berkholz 2005-12-10 23:44:31 0000 -------
FYI, xmkmf is moving into imake package for the next RC.

------- Comment #5 From Sandro Bonazzola (RETIRED) 2005-12-24 10:50:14 0000 -------
after emerging xorg-x11-7.0 nvidia-settings should depend on:
x11-misc/imake
x11-misc/gccmakedep

and still fails with:
make: *** No rule to make target `src/libXNVCtrl/libXNVCtrl.a', needed by
`nvidia-settings'.  Stop.

------- Comment #6 From Sandro Bonazzola (RETIRED) 2005-12-25 10:29:52 0000 -------
Headers ignored because they weren't found:

amigax.h
simx.h
in.h
in_systm.h
ip.h
cthreads.h
krb5.h
endian.h
netconfig.h
netdir.h
dnetdb.h
dn.h
errno.h
os2.h
prgpre.h
stdarg.h
synch.h
bsdtypes.h
byteorder.h
endian.h
sysent.h
filio.h
isa_defs.h
limits.h
ptms.h
stream.h
threadlib.h
Threads.tmpl
tis.h
tiuser.h
XvMClib.h

Absolute headers:

media-libs/fontconfig
media-libs/freetype
sys-libs/glibc
x11-libs/libdrm
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXau
x11-libs/libXaw
x11-libs/libXfixes
x11-libs/libXfont
x11-libs/libXft
x11-libs/libxkbfile
x11-libs/libXmu
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXt
x11-libs/libXv
x11-libs/Xaw3d
x11-proto/compositeproto
x11-proto/damageproto
x11-proto/fixesproto
x11-proto/fontcacheproto
x11-proto/fontsproto
x11-proto/inputproto
x11-proto/kbproto
x11-proto/printproto
x11-proto/randrproto
x11-proto/recordproto
x11-proto/renderproto
x11-proto/scrnsaverproto
x11-proto/trapproto
x11-proto/videoproto
x11-proto/xextproto
x11-proto/xf86bigfontproto
x11-proto/xf86dgaproto
x11-proto/xf86driproto
x11-proto/xf86miscproto
x11-proto/xf86rushproto
x11-proto/xf86vidmodeproto
x11-proto/xproto

Relative headers:

app-emulation/wine
x11-base/xorg-server
x11-libs/libXt
x11-libs/openmotif
x11-libs/Xaw3d
x11-libs/xtrans
x11-proto/fontsproto
x11-proto/xextproto
x11-proto/xf86driproto
x11-proto/xproto

------- Comment #7 From Sandro Bonazzola (RETIRED) 2005-12-25 10:54:08 0000 -------
found XvMClib.h in x11-libs/libXvMC, still doesn't compile. 

------- Comment #8 From Jakub Moc (RETIRED) 2005-12-30 07:19:13 0000 -------
*** Bug 117197 has been marked as a duplicate of this bug. ***

------- Comment #9 From Matteo Azzali 2005-12-30 07:39:08 0000 -------
New stop error after emerging gccmakedep:

make: *** No rule to make target `src/libXNVCtrl/libXNVCtrl.a', needed by
`nvidia-settings'.  Stop.

------- Comment #10 From David Watzke 2006-01-01 10:42:50 0000 -------
nvidia-settings should depend on imake, because it fails without it...

 * Building libXNVCtrl...
/usr/portage/media-video/nvidia-settings/nvidia-settings-1.0.20051122-r2.ebuild:
line 33: xmkmf: command not found

and after emerge imake it fails on well known error with libXNVCtrl ...

------- Comment #11 From David Watzke 2006-01-01 10:44:02 0000 -------
Adding myself to CC... sorry I forgot to do it with that comment...

------- Comment #12 From Robin Johnson 2006-01-11 00:45:53 0000 -------
Created an attachment (id=76817) [edit]
Diff between r2 and new r3 for modular-x.

This attachment allows nvidia-settings to build in modular-X systems. A minor
tweak was needed to the Imakefile to ensure that the library built correctly.
Additionally, I cleaned up the ebuild to follow more Gentoo best practices.
src_unpack is used for things that should only be done once before compiling.
CDEBUGFLAGS is used instead of CCOPTIONS to avoid Xorg CFLAGS affecting the
CFLAGS for nvidia-settings.

------- Comment #13 From Robin Johnson 2006-01-11 00:49:23 0000 -------
*** Bug 114649 has been marked as a duplicate of this bug. ***

------- Comment #14 From David Watzke 2006-01-11 05:14:36 0000 -------
Patch is fine, now it works. Well done! :)

------- Comment #15 From Jonathan Heaney 2006-01-12 11:02:13 0000 -------
Patch to r3 works fine here too.

------- Comment #16 From Mike Doty 2006-01-14 09:27:14 0000 -------
(In reply to comment #12)
> Created an attachment (id=76817) [edit]
> Diff between r2 and new r3 for modular-x.
patch applies and works on amd64

------- Comment #17 From Matteo Azzali 2006-01-14 09:47:07 0000 -------
Does the r3 ebuild works also for non-modular-X??

------- Comment #18 From FieldySnuts 2006-01-14 09:49:07 0000 -------
Can we get this into portage, please? Been over a month.

------- Comment #19 From merwan kashouty 2006-01-14 18:39:33 0000 -------
patch works here... maybe add gccmakedep and imake as deps

------- Comment #20 From Robin Johnson 2006-01-14 18:52:56 0000 -------
merwan kashouty: imake+gccmakedep are already in the deps in the patch.

------- Comment #21 From Donnie Berkholz 2006-01-18 15:39:34 0000 -------
Driver guys, can somebody get this in? We're the x11 people, we should be
setting an example for everyone else.

------- Comment #22 From Kris Kersey (RETIRED) 2006-01-18 16:19:32 0000 -------
Done.  Sorry for the delay.

nvidia-settings-1.0.20051122-r3.ebuild checked in to CVS.

------- Comment #23 From Robert Lundmark 2006-01-18 21:17:22 0000 -------
It would probably be a good thing to add dependencies for imake and gccmakedep,
or else it will not compile. 

------- Comment #24 From Jose daLuz 2006-01-18 22:08:16 0000 -------
(In reply to comment #23)
> It would probably be a good thing to add dependencies for imake and gccmakedep,
> or else it will not compile.  

Which is exactly what just happened to me.  I'm emerging imake and gccmakedep
now, thanks.

------- Comment #25 From Kris Kersey (RETIRED) 2006-01-22 13:13:47 0000 -------
I see imake and gccmakedep in the DEPEND section.  Do these have the wrong
conditions on them?

------- Comment #26 From Jose daLuz 2006-01-22 13:27:32 0000 -------
(In reply to comment #25)
> I see imake and gccmakedep in the DEPEND section.  Do these have the wrong
> conditions on them?
> 

I'm not a developer, but doesn't the check for x11 packages happen only if the
check for gtk+ >= version 2 fails?

------- Comment #27 From Kris Kersey (RETIRED) 2006-02-02 21:48:33 0000 -------
Robin,

Why were the DEPENDs done that way?

------- Comment #28 From Robin Johnson 2006-02-03 01:01:02 0000 -------
jdaluz: Nope, the || comes after the gtk+ dep.

augustus: what are you talking about in particular?
In the DEPEND, I added this:
|| ( 
(  x11-base/xorg-server x11-libs/libXt x11-proto/xf86driproto x11-misc/imake
x11-misc/gccmakedep )
virtual/x11
)
This simply states that either: virtual/x11 needs to be present
OR you need the following set of packages (I've added the why):
x11-base/xorg-server - headers and libraries
x11-libs/libXt - libraries
x11-proto/xf86driproto - headers
x11-misc/imake - build tool
x11-misc/gccmakedep - build tool

Only the libs packages out of this are also needing in the RDEPEND, hence the
others are dropped.

Strictly speaking I could actually leave out libXt as well, as gtk+
RDEPEND+DEPENDS on it, but I left it here for clarity.

------- Comment #29 From dark_mail@gmx.net 2006-06-29 10:02:40 0000 -------
Unfortunately, media-video/nvidia-settings-1.0.20060516 seems to fail with
non-modular X11.

>>> checking ebuild checksums ;-)
>>> checking auxfile checksums
!!! A file listed in the Manifest could not be found:
'/usr/portage/media-video/nvidia-settings/files/libXNVCtrl.a'

xorg-x11 is 6.8.2-r8

emerge --info:

Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17
i686
)
=================================================================
System uname: 2.6.17 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.15
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shu
tdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/sha
re/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/gen
eric/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer parallel-fetch
sand
box sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
ftp://gent
oo.inode.at/source/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
rsync://mirrors.
sec.informatik.tu-darmstadt.de/gentoo"
LANG="de_DE"
LC_ALL="de_DE"
LINGUAS="de"
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='/d                             
              istfiles' --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 3dnow X a52 acpi alsa apache2 apm avi berkdb bitmap-fonts bzlib cdr
cli                                             crypt cups divx4linux dri dv
dvd dvdread eds emboss encode fame flac foomaticdb                             
               fortran ftp gdbm gif gimpprint gpg gpm gstreamer gtk gtk2
imagemagick imlib ipv                                            6 isdnlog jpeg
kde libg++ libwww lirc lm_sensors mad mikmod mmx mng motif mozill              
                             a mp3 mpeg mythtv ncurses nptl nvidia ogg opengl
oss other_var1 other_var2 pam p                                            cre
pdflib perl pic png ppds pppd python qt qt3 qt4 quicktime readline reflectio   
                                        n scanner sdl session spell spl sse ssl
subtitles svg swat tcpd tetex truetype t                                       
    ruetype-fonts type1-fonts udev usb vorbis win32codecs xine xml xmms xorg xv
xvid                                             zlib elibc_glibc kernel_linux
linguas_de userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA                                            _OPTS

First Last Prev Next    No search results available      Search page      Enter new bug