Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 520092

Summary: dev-db/mariadb - .../work/mysql/storage/xtradb/os/os0stacktrace.c:88:54: error: invalid operands to binary & (have 'void *' and 'long unsigned int')
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Current packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: hppa
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://mariadb.atlassian.net/browse/MDEV-6595
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mariadb-5.5.39-hppa-unsigned-long.patch
mariadb-10.0.13-hppa-unsigned-long.patch
mariadb-10.0.12-hppa-unsigned-long.patch

Description Jeroen Roovers (RETIRED) gentoo-dev 2014-08-16 22:41:13 UTC
Created attachment 382998 [details, diff]
mariadb-5.5.39-hppa-unsigned-long.patch

/dev/shm/portage/dev-db/mariadb-5.5.39/work/mysql/storage/xtradb/os/os0stacktrace.c: In function 'os_stacktrace_print':
/dev/shm/portage/dev-db/mariadb-5.5.39/work/mysql/storage/xtradb/os/os0stacktrace.c:88:54: error: invalid operands to binary & (have 'void *' and 'long unsigned int')
distcc[17507] ERROR: compile /dev/shm/portage/dev-db/mariadb-5.5.39/work/mysql/storage/xtradb/os/os0stacktrace.c on localhost failed
storage/xtradb/CMakeFiles/xtradb.dir/build.make:1115: recipe for target 'storage/xtradb/CMakeFiles/xtradb.dir/os/os0stacktrace.c.o' failed
make[2]: *** [storage/xtradb/CMakeFiles/xtradb.dir/os/os0stacktrace.c.o] Error 1
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-16 23:06:42 UTC
Created attachment 383000 [details, diff]
mariadb-10.0.13-hppa-unsigned-long.patch
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-16 23:07:50 UTC
Created attachment 383002 [details, diff]
mariadb-10.0.12-hppa-unsigned-long.patch

I have _no_ idea how that x turned into a multiplication symbol.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-16 23:13:13 UTC
(In reply to Jeroen Roovers from comment #2)
> I have _no_ idea how that x turned into a multiplication symbol.

That was apparently broken in the move from .c => .cc, and it was fixed after 10.0.12 was released and before 10.0.13. Oh, well.

http://bazaar.launchpad.net/~maria-captains/maria/10.0/revision/4343
Comment 4 Brian Evans (RETIRED) gentoo-dev 2014-08-17 19:58:24 UTC
Reported as MDEV-6595 upstream
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-17 22:55:27 UTC
Could you add it to the Gentoo patchset too, please? It's pretty simple and mariadb went stable before I realised that I wasn't going to figure out how to add them myself.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-17 23:39:32 UTC
  17 Aug 2014; Jeroen Roovers <jer@gentoo.org> mariadb-5.5.39.ebuild,
  mariadb-10.0.13.ebuild:
  Bump patchset by grknight (bug #520092). Stable for HPPA.