[Bug 241031] mail/fetchmail: fails to build on FreeBSD 11.2 on MIPS64 (Mk/Uses/compiler.mk defect)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 3 09:12:10 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241031

            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 at FreeBSD.org
          Reporter: mandree at FreeBSD.org
                CC: chalpin at cs.wisc.edu, mips at FreeBSD.org
        Depends on: 240822, 241029
                CC: mips at FreeBSD.org
             Flags: maintainer-feedback?(chalpin at cs.wisc.edu)
             Flags: maintainer-feedback?(chalpin at cs.wisc.edu)

mail/fetchmail currently specified USES=compiler:c11. 

This breaks poudriere on MIPS64 due to compiler.mk choosing GCC without adding
it to BUILD_DEPENDS.

Unfortunately, this compiler.mk-related issue was masked by a pkg bug (240822)
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= line. The basis fetchmail 6.4.1 code is C89, and
files/patch-ZZZ-87626c2707cc0d82e49e160ab3c85430ff33534f requires C99 for the
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=          compiler:c11 cpe gmake tar:xz ssl
+USES=          cpe gmake tar:xz ssl


Referenced Bugs:

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


More information about the freebsd-mips mailing list