All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 50280] New: Mesa 8.0.3 fails to build dri/nouveau against libdrm 2.4.34
@ 2012-05-23 13:10 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
       [not found] ` <bug-50280-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  0 siblings, 1 reply; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2012-05-23 13:10 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

https://bugs.freedesktop.org/show_bug.cgi?id=50280

             Bug #: 50280
           Summary: Mesa 8.0.3 fails to build dri/nouveau against libdrm
                    2.4.34
    Classification: Unclassified
           Product: Mesa
           Version: 8.0
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: high
         Component: Drivers/DRI/nouveau
        AssignedTo: nouveau@lists.freedesktop.org
        ReportedBy: mc2374@mclink.it


Created attachment 62018
  --> https://bugs.freedesktop.org/attachment.cgi?id=62018
Log of a failed build

As per summary.
Building against libdrm 2.4.34 and kernel 3.2.16, Mandriva 2010.2 x86_64.

The message error is:
**************************
In file included from nouveau_fbo.c:27:
nouveau_driver.h:41:28: error: nouveau_device.h: No such file or directory
nouveau_driver.h:42:27: error: nouveau_grobj.h: No such file or directory
nouveau_driver.h:43:29: error: nouveau_channel.h: No such file or directory
nouveau_driver.h:44:24: error: nouveau_bo.h: No such file or directory
nouveau_driver.h:45:30: error: nouveau_notifier.h: No such file or directory
nouveau_driver.h:49:26: error: nv04_pushbuf.h: No such file or directory
In file included from nouveau_screen.c:27:
nouveau_driver.h:41:28: error: nouveau_device.h: No such file or directory
nouveau_driver.h:42:27: error: nouveau_grobj.h: No such file or directory
nouveau_driver.h:43:29: error: nouveau_channel.h: No such file or directory
nouveau_driver.h:44:24: error: nouveau_bo.h: No such file or directory
nouveau_driver.h:45:30: error: nouveau_notifier.h: No such file or directory
nouveau_driver.h:49:26: error: nv04_pushbuf.h: No such file or directory
nouveau_fbo.c: In function ‘nouveau_renderbuffer_storage’:
nouveau_fbo.c:97: error: ‘NOUVEAU_BO_VRAM’ undeclared (first use in this
function)    
nouveau_fbo.c:97: error: (Each undeclared identifier is reported only once
nouveau_fbo.c:97: error: for each function it appears in.)
nouveau_fbo.c:97: error: ‘NOUVEAU_BO_MAP’ undeclared (first use in this
function)
nouveau_fbo.c: In function ‘nouveau_renderbuffer_map’:
nouveau_fbo.c:145: error: ‘NOUVEAU_BO_RD’ undeclared (first use in this
function)     
nouveau_fbo.c:147: error: ‘NOUVEAU_BO_WR’ undeclared (first use in this
function)
nouveau_fbo.c:149: warning: implicit declaration of function ‘nouveau_bo_map’
nouveau_fbo.c:151: error: dereferencing pointer to incomplete type
nouveau_fbo.c: In function ‘nouveau_renderbuffer_unmap’:
nouveau_fbo.c:172: warning: implicit declaration of function ‘nouveau_bo_unmap’ 
nouveau_screen.c:31:27: error: nouveau_drmif.h: No such file or directory
In file included from nouveau_context.c:28:
nouveau_driver.h:41:28: error: nouveau_device.h: No such file or directory
nouveau_driver.h:42:27: error: nouveau_grobj.h: No such file or directory
nouveau_driver.h:43:29: error: nouveau_channel.h: No such file or directory
nouveau_driver.h:44:24: error: nouveau_bo.h: No such file or directory
nouveau_driver.h:45:30: error: nouveau_notifier.h: No such file or directory
nouveau_driver.h:49:26: error: nv04_pushbuf.h: No such file or directory
nouveau_screen.c: In function ‘nouveau_init_screen2’:
nouveau_screen.c:131: warning: implicit declaration of function
‘nouveau_device_open_existing’
nouveau_screen.c:144: error: dereferencing pointer to incomplete type
nouveau_screen.c: In function ‘nouveau_destroy_screen’:
nouveau_screen.c:178: warning: implicit declaration of function
‘nouveau_device_close’
gmake[6]: *** [nouveau_fbo.o] Error 1
gmake[6]: *** Waiting for unfinished jobs....
***********************************

It cannot find all those nouveau_[device | grobj | channel | bo | notifier |
drimif] headers and the nv04_pushbuf.h one because they are no more present in
the libdrm include dir.

The previous release of libdrm (2.4.33) still provides the needed .h files and
obviously works.


See the attached log for more infos.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 50280] Mesa 8.0.3 fails to build dri/nouveau against libdrm 2.4.34
       [not found] ` <bug-50280-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2012-05-28 19:41   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2012-05-28 20:18   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2012-05-28 19:41 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

https://bugs.freedesktop.org/show_bug.cgi?id=50280

--- Comment #1 from Giovanni Mariani <mc2374-dP4/7z9UC85eoWH0uzbU5w@public.gmane.org> 2012-05-28 12:41:15 PDT ---
This happens because nobody settled to back-port to the stable 8.0.x branch the
changes made at the various nouveau drivers in the master tree between
13/04/2012 and 15/04/2012 to allow them use the new stable DRM interface.

So, this problem affects not only the dri-based nouveau driver (nouveau-vieux),
but also the gallium and the xorg-base ones: they are unbuildable in the stable
branch because all based on an interface now removed from libdrm.

To solve this bug it will need to adapt at the stable branch at least the
master git commits:
2e47d01c9e5325906cf3bb979279599991c6328e,
6d1cdec3ba151168bfc3aef222fba6265dfb41fb and
f2509df95cd1d055e91b1558c5d9c5a935067d78.

However all those don't apply well to the stable branch, because they depends
on the automake-ification of the building for src/mesa/dri/ and this also
happened on 20/01/2012, ie after the cutting of the stable branch (13/01/2012),
and it was never backported on it.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 50280] Mesa 8.0.3 fails to build dri/nouveau against libdrm 2.4.34
       [not found] ` <bug-50280-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2012-05-28 19:41   ` [Bug 50280] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2012-05-28 20:18   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2012-05-28 20:51   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2012-05-28 20:18 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

https://bugs.freedesktop.org/show_bug.cgi?id=50280

--- Comment #2 from Christoph Bumiller <e0425955-oe7qfRrRQffzPE21tAIdciO7C/xPubJB@public.gmane.org> 2012-05-28 13:18:22 PDT ---
At least for mesa backporting's not going to happen.

You can easily have both old and new versions and headers of libdrm_nouveau
installed at the same time and it will build and work fine.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 50280] Mesa 8.0.3 fails to build dri/nouveau against libdrm 2.4.34
       [not found] ` <bug-50280-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2012-05-28 19:41   ` [Bug 50280] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2012-05-28 20:18   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2012-05-28 20:51   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2012-05-29 18:19   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2012-10-03 20:21   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2012-05-28 20:51 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

https://bugs.freedesktop.org/show_bug.cgi?id=50280

--- Comment #3 from Martin Peres <martin.peres-Iz16wY1oaNPLSKGbIzaifA@public.gmane.org> 2012-05-28 13:51:38 PDT ---
(In reply to comment #2)
> At least for mesa backporting's not going to happen.
> 
> You can easily have both old and new versions and headers of libdrm_nouveau
> installed at the same time and it will build and work fine.

Fine isn't the word I would use. It works but if the ddx and mesa aren't
compiled with the same libdrm_nouveau, you loose AIGLX.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 50280] Mesa 8.0.3 fails to build dri/nouveau against libdrm 2.4.34
       [not found] ` <bug-50280-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (2 preceding siblings ...)
  2012-05-28 20:51   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2012-05-29 18:19   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2012-10-03 20:21   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2012-05-29 18:19 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

https://bugs.freedesktop.org/show_bug.cgi?id=50280

--- Comment #4 from Giovanni Mariani <mc2374-dP4/7z9UC85eoWH0uzbU5w@public.gmane.org> 2012-05-29 11:19:39 PDT ---
(In reply to comment #2)
> At least for mesa backporting's not going to happen.
> You can easily have both old and new versions and headers of libdrm_nouveau
> installed at the same time and it will build and work fine.

Fine for me: I'm on Radeon HW...
But see comment #3: in the case you suggested there is not feature parity for
nouveau (vieux, gallium or whatever).

And, for the sake of arguing, I would like to ask what is the point of a
*stable* mesa release going to be broken in one of their drivers by an
otherwise apparently "innocent" libdrm *stable* upgrade (which in the release
announce nobody warned against); moreover, a brokenness that will remain until
the release of Mesa 8.1 (about 3 months in the future)...
Not all the users are willing to live at the bleeding edge of the git master,
while still willing to have a graphic stack updated to the stable level.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 50280] Mesa 8.0.3 fails to build dri/nouveau against libdrm 2.4.34
       [not found] ` <bug-50280-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (3 preceding siblings ...)
  2012-05-29 18:19   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2012-10-03 20:21   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2012-10-03 20:21 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 451 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=50280

Giovanni Mariani <mc2374-dP4/7z9UC85eoWH0uzbU5w@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1235 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-03 20:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-23 13:10 [Bug 50280] New: Mesa 8.0.3 fails to build dri/nouveau against libdrm 2.4.34 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-50280-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2012-05-28 19:41   ` [Bug 50280] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2012-05-28 20:18   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2012-05-28 20:51   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2012-05-29 18:19   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2012-10-03 20:21   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.