pkgsrc-Bugs archive

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

pkg/55838: gprolog-1.4.5 will not build on MacPPC 9.1



>Number:         55838
>Category:       pkg
>Synopsis:       gprolog-1.4.5 will not build on MacPPC 9.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 03 06:05:00 +0000 2020
>Originator:     Adam Russell
>Release:        MacPPC 9.1
>Organization:
>Environment:
NetBSD macppc0 9.1 NetBSD 9.1 (GENERIC) #0: Sun Oct 18 19:24:30 UTC 2020  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/macppc/compile/GENERIC macppc
>Description:
cd /usr/pkgsrc/lang/gprolog
make

The build eventually fails with 

gplc -c foreign.wam
/tmp/gplcPLkFFd.s: Assembler messages:
/tmp/gplcPLkFFd.s:132: Error: unknown pseudo-op: `.mod_init_func'
compilation failed
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/lang/gprolog/work/gprolog-1.4.5/src/BipsPl
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/gprolog/work/gprolog-1.4.5/src
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/lang/gprolog
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/gprolog

>How-To-Repeat:
cd /usr/pkgsrc/lang/gprolog
make

The build eventually fails with 

gplc -c foreign.wam
/tmp/gplcPLkFFd.s: Assembler messages:
/tmp/gplcPLkFFd.s:132: Error: unknown pseudo-op: `.mod_init_func'
compilation failed
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/lang/gprolog/work/gprolog-1.4.5/src/BipsPl
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/gprolog/work/gprolog-1.4.5/src
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/lang/gprolog
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/gprolog

>Fix:
change line 1014 of gprolog-1.4.5/src/Ma2Asm/powerpc_any.c from
 
#ifdef M_powerpc_linux

to 

#if defined(M_powerpc_linux) || defined(M_powerpc_bsd)

If that is applied as a patch to the sources during the patch phase this will build fine.


Home | Main Index | Thread Index | Old Index