Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Oct 2019 09:12:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        mips@FreeBSD.org
Subject:   [Bug 241031] mail/fetchmail: fails to build on FreeBSD 11.2 on MIPS64 (Mk/Uses/compiler.mk defect)
Message-ID:  <bug-241031-27794@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241031

            Bug ID: 241031
           Summary: mail/fetchmail: fails to build on FreeBSD 11.2 on
                    MIPS64 (Mk/Uses/compiler.mk defect)
           Product: Ports & Packages
           Version: Latest
          Hardware: mips
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mandree@FreeBSD.org
          Reporter: mandree@FreeBSD.org
                CC: chalpin@cs.wisc.edu, mips@FreeBSD.org
        Depends on: 240822, 241029
                CC: mips@FreeBSD.org
             Flags: maintainer-feedback?(chalpin@cs.wisc.edu)
             Flags: maintainer-feedback?(chalpin@cs.wisc.edu)

mail/fetchmail currently specified USES=3Dcompiler:c11.=20

This breaks poudriere on MIPS64 due to compiler.mk choosing GCC without add=
ing
it to BUILD_DEPENDS.

Unfortunately, this compiler.mk-related issue was masked by a pkg bug (2408=
22)
where pkg 1.12 failed to build on MIPS, which was only recently fixed (after
2019Q4 branched).

Corey, for fetchmail, we can sidestep the issue by removing the compiler:c11
option from the USES=3D line. The basis fetchmail 6.4.1 code is C89, and
files/patch-ZZZ-87626c2707cc0d82e49e160ab3c85430ff33534f requires C99 for t=
he
long long type (strictly speaking). C11 is not necessary.

Corey, do we know that the base compiler miscompiles fetchmail on either
architecture? If not, I propose this patch:

-USES=3D          compiler:c11 cpe gmake tar:xz ssl
+USES=3D          cpe gmake tar:xz ssl


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240822
[Bug 240822] ports-mgmt/pkg does not build on mips64
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241029
[Bug 241029] Mk/Uses/compiler.mk fails to add GCC dependency on 11.2 MIPS64
with USES=3Dcompiler:c11
--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241031-27794>