pkgsrc-Bugs archive

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

pkg/53836: termcap not working on ppc64 linux



>Number:         53836
>Category:       pkg
>Synopsis:       termcap not working on ppc64 linux
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 05 11:40:00 +0000 2019
>Originator:     Thomas Batten
>Release:        2018Q4
>Organization:
None
>Environment:
Linux PowerMacG5 4.19.0-1-powerpc64 #1 SMP Debian 4.19.13-1 (2018-12-30) ppc64 GNU/Linux
>Description:
In package makefiles that include '.include "../../mk/termcap.buildlink3.mk"' configure scripts say that the "C compiler cannot create executables".
In the config log at the compiler checking stage it states: "cc: Invalid transform rule: l:termcap:" causing the build to fail.

I have seen that this occurs on, at least, the readline and gettext-tools packages.

This also occurs on Debian Jessie on real hardware and in qemu
>How-To-Repeat:
(On ppc64(big endian) Linux)

cd /usr/pkgsrc/devel/readline
bmake

[build should fail with compiler cannot create executables]
>Fix:
In affected packages add an if statement specifying that:

if the operating system is linux and architecture is ppc64, .include "../../mk/curses.buildlink3.mk" else,  .include "../../mk/termcap.buildlink3.mk"

where applicable.


Home | Main Index | Thread Index | Old Index