pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50279: emulators/tme build failure on NetBSD/amd64 7.0



>Number:         50279
>Category:       pkg
>Synopsis:       emulators/tme build failure on NetBSD/amd64 7.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 27 01:25:00 +0000 2015
>Originator:     Izumi Tsutsui
>Release:        NetBSD 7.0
>Organization:
>Environment:
System: NetBSD optiplex 7.0 NetBSD 7.0 (GENERIC.201509250726Z) amd64
Architecture: x86_64
Machine: amd64
>Description:
emulators/tme build fails on NetBSD/amd64 7.0:

---
 :

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -pthread -I/usr/obj.x86_64/pkgsrc/emulators/tme/work.x86_64/.buildlink/include/gtk-2.0 -I/usr/obj.x86_64/pkgsrc/emulators/tme/work.x86_64/.buildlink/lib/gtk-2.0/include -I/usr/obj.x86_64/pkgsrc/emulators/tme/work.x86_64/.buildlink/include/pango-1.0 -I/usr/obj.x86_64/pkgsrc/emulators/tme/work.x86_64/.buildlink/include/glib/gio-unix-2.0/ -I/usr/obj.x86_64/pkgsrc/emulators/tme/work.x86_64/.x11-buildlink/include -I/usr/obj.x86_64/pkgsrc/emulators/tme/work.x86_64/.buildlink/include/cairo -I/usr/obj.x86_64/pkgsrc/emulators/tme/work.x86_64/.buildlink/include/atk-1.0 -I/usr/obj.x86_64/pkgsrc/emulators/tme/work.x86_64/.x11-buildlink/include/pixman-1 -I/usr/obj.x86_64/pkgsrc/emulators/tme/work.x86_64/.buildlink/include/libpng16 -I/usr/obj.x86_64/pkgsrc/emulators/tme/work.x86_64/.buildlink/include/gdk-pixbuf-2.0 -I/usr/obj.x86_64/pkgsrc/emulators/tme/work.x86_64/.buildlink/include/harfbuzz -I/usr/obj.x86_64/pkgsrc/emulators/t!
 me/work.x86_64/.buildlink/include/glib/glib-2.0 -I/usr/obj.x86_64/pkgsrc/emulators/tme/work.x86_64/.buildlink/lib/glib-2.0/include -I/usr/obj.x86_64/pkgsrc/emulators/tme/work.x86_64/.buildlink/include -I/usr/obj.x86_64/pkgsrc/emulators/tme/work.x86_64/.x11-buildlink/include/freetype2 -D_TME_IMPL -I/usr/obj.x86_64/pkgsrc/emulators/tme/work.x86_64/.x11-buildlink/include/libdrm -DTME_NO_LOG -DTME_NO_DEBUG_LOCKS -DTME_NO_AUDIT_ATOMICS -DNDEBUG -O2 -Wundef -Wall -Werror -MT memory-auto.lo -MD -MP -MF .deps/memory-auto.Tpo -c memory-auto.c  -fPIC -DPIC -o .libs/memory-auto.o
In file included from ../tme/memory.h:124:0,
                 from memory-auto.c:35:
memory-auto.c: In function 'tme_memory_bus_write16':
../libtme/memory-auto.h:69:12: error: 'UINTMAX_MAX' undeclared (first use in this function)
   ((type) (UINTMAX_MAX shift))
            ^
memory-auto.c:323:20: note: in expansion of macro '_tme_memory_type_mask'
         part64 &= (_tme_memory_type_mask(tme_uint64_t, + 0) ^ (((tme_uint64_t) _tme_memory_type_mask(tme_uint16_t, << 0)) << size_skip));
                    ^
../libtme/memory-auto.h:69:12: note: each undeclared identifier is reported only once for each function it appears in
   ((type) (UINTMAX_MAX shift))
            ^
memory-auto.c:323:20: note: in expansion of macro '_tme_memory_type_mask'
         part64 &= (_tme_memory_type_mask(tme_uint64_t, + 0) ^ (((tme_uint64_t) _tme_memory_type_mask(tme_uint16_t, << 0)) << size_skip));
                    ^
memory-auto.c: In function 'tme_memory_bus_write32':
../libtme/memory-auto.h:69:12: error: 'UINTMAX_MAX' undeclared (first use in this function)
   ((type) (UINTMAX_MAX shift))
            ^
memory-auto.c:887:20: note: in expansion of macro '_tme_memory_type_mask'
         part64 &= (_tme_memory_type_mask(tme_uint64_t, + 0) ^ (((tme_uint64_t) _tme_memory_type_mask(tme_uint32_t, << 0)) << size_skip));
                    ^
memory-auto.c: In function 'tme_memory_bus_write64':
../libtme/memory-auto.h:69:12: error: 'UINTMAX_MAX' undeclared (first use in this function)
   ((type) (UINTMAX_MAX shift))
            ^
memory-auto.c:1503:20: note: in expansion of macro '_tme_memory_type_mask'
         part64 &= (_tme_memory_type_mask(tme_uint64_t, + 0) ^ (((tme_uint64_t) _tme_memory_type_mask(tme_uint64_t, << 0)) << size_skip));
                    ^
memory-auto.c: In function 'tme_memory_bus_write_buffer':
../libtme/memory-auto.h:69:12: error: 'UINTMAX_MAX' undeclared (first use in this function)
   ((type) (UINTMAX_MAX shift))
            ^
memory-auto.c:2686:14: note: in expansion of macro '_tme_memory_type_mask'
            ? _tme_memory_type_mask(tme_uint64_t, << (count * 8))
              ^
Makefile:370: recipe for target 'memory-auto.lo' failed
gmake[4]: *** [memory-auto.lo] Error 1
gmake[4]: Leaving directory '/usr/obj.x86_64/pkgsrc/emulators/tme/work.x86_64/tme-0.8/libtme'
Makefile:406: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/usr/obj.x86_64/pkgsrc/emulators/tme/work.x86_64/tme-0.8/libtme'
Makefile:267: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/usr/obj.x86_64/pkgsrc
---

The "UINTMAX_MAX" was added in a pkgsrc patch in recently:
 http://mail-index.netbsd.org/pkgsrc-changes/2015/09/13/msg130026.html
 http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/emulators/tme/patches/patch-libtme_memory-auto.sh?rev=1.1

>How-To-Repeat:
cd /usr/pkgsrc/emulators/tme && make package

>Fix:
Revert untested changes?



Home | Main Index | Thread Index | Old Index