[Bug 1288404] Re: fglrx 2:13.350-0ubuntu1: fglrx kernel module failed to build [error: incompatible types when returning type ‘kuid_t’ but ‘KCL_TYPE_Uid’ was expected]

2014-07-28 Thread Evan Langlois
I seem to have the #ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS patch
installed in the source tree already, but it still fails to build.  I
had to add a -DCONFIG_UIDGID_STRICT_TYPE_CHECKS into the makefile to get
it to build.  About to see if manually installing it worked ...  I'm
kinda out in the open here!

Might want to have the installer GUI mention when this fails and
automatically display the LOG to people.  Most people aren't running the
installer from a terminal, few end-users read the screen, especially
when a box doesn't pop-up in their face.  All they know is that it
didn't work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1288404

Title:
  fglrx 2:13.350-0ubuntu1: fglrx kernel module failed to build [error:
  incompatible types when returning type ‘kuid_t’ but ‘KCL_TYPE_Uid’ was
  expected]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1288404/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1288404] Re: fglrx 2:13.350-0ubuntu1: fglrx kernel module failed to build [error: incompatible types when returning type ‘kuid_t’ but ‘KCL_TYPE_Uid’ was expected]

2014-07-28 Thread Evan Langlois
Nope - apparently the Xorg side isn't getting installed.  I could
manually install the module into the kernel, but since the installer
stopped at the kernel build, it evidently didn't  finish the rest maybe?
Xorg tries to load fglrx, but can't.  Still playing with it, but it's
getting there.  Do the ATI guys watch here, or does someone push this
info upstream to AMD?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1288404

Title:
  fglrx 2:13.350-0ubuntu1: fglrx kernel module failed to build [error:
  incompatible types when returning type ‘kuid_t’ but ‘KCL_TYPE_Uid’ was
  expected]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1288404/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1288404] Re: fglrx 2:13.350-0ubuntu1: fglrx kernel module failed to build [error: incompatible types when returning type ‘kuid_t’ but ‘KCL_TYPE_Uid’ was expected]

2014-04-25 Thread Lupius
The guys at Suse has published a patch.


diff -rup fglrx.orig/firegl_public.c fglrx/firegl_public.c
--- fglrx.orig/firegl_public.c2013-12-20 01:37:15.155648294 +0100
+++ fglrx/firegl_public.c2013-12-21 01:02:47.201517242 +0100
@@ -1754,11 +1754,17 @@ KCL_TYPE_Pid ATI_API_CALL KCL_GetTgid(vo
  */
 KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)
 {
+#ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS
+return __kuid_val(current_euid());
+#else
+
 #ifdef current_euid
 return current_euid();
 #else
 return current-euid;
 #endif
+
+#endif
 }
 
 /** /brief Delay execution for the specified number of microseconds
diff -rup fglrx.orig/kcl_acpi.c fglrx/kcl_acpi.c
--- fglrx.orig/kcl_acpi.c2013-12-20 01:13:55.0 +0100
+++ fglrx/kcl_acpi.c2013-12-21 01:06:00.158734992 +0100
@@ -792,7 +792,9 @@ static unsigned int KCL_ACPI_SearchHandl
 unsigned int ATI_API_CALL KCL_ACPI_GetHandles(kcl_match_info_t *pInfo)
 {
 #if LINUX_VERSION_CODE  KERNEL_VERSION(2,6,12)
-#if LINUX_VERSION_CODE = KERNEL_VERSION(3,8,0)
+#if LINUX_VERSION_CODE = KERNEL_VERSION(3,13,0)
+pInfo-video_handle = pInfo-pcidev-dev.acpi_node.companion;
+#elif LINUX_VERSION_CODE = KERNEL_VERSION(3,8,0)
 pInfo-video_handle = pInfo-pcidev-dev.acpi_node.handle;
 #elif LINUX_VERSION_CODE  KERNEL_VERSION(2,6,19)
 pInfo-video_handle = pInfo-pcidev-dev.archdata.acpi_handle;
@@ -996,6 +998,10 @@ int ATI_API_CALL KCL_ACPI_ParseTable(cha
 {
 return KCL_ACPI_ERROR;
 }
+#if LINUX_VERSION_CODE = KERNEL_VERSION(3,9,1)
+((acpi_tbl_table_handler)handler)(hdr);
+#else
 ((acpi_table_handler)handler)(hdr);
+#endif
 return KCL_ACPI_OK;
 }

thread: http://forums.opensuse.org/showthread.php/493913-ATI-
Proprietary-driver-13-12-installation-fails-in-openSUSE-13-1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1288404

Title:
  fglrx 2:13.350-0ubuntu1: fglrx kernel module failed to build [error:
  incompatible types when returning type ‘kuid_t’ but ‘KCL_TYPE_Uid’ was
  expected]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1288404/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1288404] Re: fglrx 2:13.350-0ubuntu1: fglrx kernel module failed to build [error: incompatible types when returning type ‘kuid_t’ but ‘KCL_TYPE_Uid’ was expected]

2014-03-22 Thread Alberto Salvia Novella
It prevents the package (or a dependent one) from functioning correctly
at all.

** Changed in: fglrx-installer (Ubuntu)
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1288404

Title:
  fglrx 2:13.350-0ubuntu1: fglrx kernel module failed to build [error:
  incompatible types when returning type ‘kuid_t’ but ‘KCL_TYPE_Uid’ was
  expected]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1288404/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1288404] Re: fglrx 2:13.350-0ubuntu1: fglrx kernel module failed to build [error: incompatible types when returning type ‘kuid_t’ but ‘KCL_TYPE_Uid’ was expected]

2014-03-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: fglrx-installer (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1288404

Title:
  fglrx 2:13.350-0ubuntu1: fglrx kernel module failed to build [error:
  incompatible types when returning type ‘kuid_t’ but ‘KCL_TYPE_Uid’ was
  expected]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1288404/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1288404] Re: fglrx 2:13.350-0ubuntu1: fglrx kernel module failed to build [error: incompatible types when returning type ‘kuid_t’ but ‘KCL_TYPE_Uid’ was expected]

2014-03-06 Thread Apport retracing service
** Tags removed: need-duplicate-check

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1288404

Title:
  fglrx 2:13.350-0ubuntu1: fglrx kernel module failed to build [error:
  incompatible types when returning type ‘kuid_t’ but ‘KCL_TYPE_Uid’ was
  expected]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1288404/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1288404] Re: fglrx 2:13.350-0ubuntu1: fglrx kernel module failed to build [error: incompatible types when returning type ‘kuid_t’ but ‘KCL_TYPE_Uid’ was expected]

2014-03-05 Thread Daniel van Vugt
** Summary changed:

- fglrx 2:13.350-0ubuntu1: fglrx kernel module failed to build
+ fglrx 2:13.350-0ubuntu1: fglrx kernel module failed to build [error: 
incompatible types when returning type ‘kuid_t’ but ‘KCL_TYPE_Uid’ was expected]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1288404

Title:
  fglrx 2:13.350-0ubuntu1: fglrx kernel module failed to build [error:
  incompatible types when returning type ‘kuid_t’ but ‘KCL_TYPE_Uid’ was
  expected]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1288404/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs