[Bug 255546] games/libretro-mame2000 : fails to build on FreeBSD 13.0-RELEASE powerpc 32 bit: [Makefile:579: src/cpu/tms9900/tms9980a.o] Error 1

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255546

            Bug ID: 255546
           Summary: games/libretro-mame2000 : fails to build on FreeBSD
                    13.0-RELEASE powerpc 32 bit: [Makefile:579:
                    src/cpu/tms9900/tms9980a.o] Error 1
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
                CC: [email protected], [email protected]
             Flags: maintainer-feedback?([email protected])

Problem found when building games/libretro-mame2000 on FreeBSD 13.0-RELEASE
powerpc 32 bit running on Apple Powerbook 17".


# uname -a
FreeBSD g41713 13.0-RELEASE FreeBSD 13.0-RELEASE #0
releng/13.0-n244733-ea31abc261f: Fri Apr  9 04:40:01 UTC 2021    
[email protected]:/usr/obj/usr/src/powerpc.powerpc/sys/GENERIC 
powerpc

# cd /usr/ports/games/libretro-mame2000
root@g41713:/usr/ports/games/libretro-mame2000 # make clean
===>  Cleaning for libretro-mame2000-0.20210214
root@g41713:/usr/ports/games/libretro-mame2000 # make -DBATCH install clean
===>  License GPLv2 accepted by the user
===>   libretro-mame2000-0.20210214 depends on file: /usr/local/sbin/pkg -
found
===> Fetching all distfiles required by libretro-mame2000-0.20210214 for
building
===>  Extracting for libretro-mame2000-0.20210214
=> SHA256 Checksum OK for
libretro-mame2000-libretro-0.20210214-e364a15_GH0.tar.gz.
===>  Patching for libretro-mame2000-0.20210214
===>   Converting DOS text files to UNIX text files
===>  Applying FreeBSD patches for libretro-mame2000-0.20210214 from
/usr/ports/games/libretro-mame2000/files
===>   libretro-mame2000-0.20210214 depends on package: gmake>=4.3 - found
===>  Configuring for libretro-mame2000-0.20210214
===>  Building for libretro-mame2000-0.20210214
...
...
...
src/cpu/tms9900/99xxcore.h:444:49: note: expanded from macro 'readword'
        #define readword(addr)        ( TMS99XX_ICOUNT -= 2,
(cpu_readmem14(addr) << 8) + cpu_readmem14((addr)+1) )
                                                       ^
src/cpu/tms9900/99xxcore.h:3121:11: warning: implicit declaration of function
'setst_subbyte_laecop' is invalid in C99 [-Wimplicit-function-declaration]
                value = setst_subbyte_laecop(readbyte(dest), readbyte(src));
                        ^
src/cpu/tms9900/99xxcore.h:3136:11: warning: implicit declaration of function
'setst_addbyte_laecop' is invalid in C99 [-Wimplicit-function-declaration]
                value = setst_addbyte_laecop(readbyte(dest), readbyte(src));
                        ^
16 warnings and 6 errors generated.
gmake[1]: *** [Makefile:579: src/cpu/tms9900/tms9980a.o] Error 1
gmake[1]: Leaving directory
'/usr/ports/games/libretro-mame2000/work/mame2000-libretro-e364a15'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.