Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2019 20:59:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 239503] devel/llvm80: fails to build with all options off
Message-ID:  <bug-239503-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 239503
           Summary: devel/llvm80: fails to build with all options off
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks@FreeBSD.org
          Reporter: phascolarctos@protonmail.ch
                CC: brooks@FreeBSD.org
             Flags: maintainer-feedback?(brooks@FreeBSD.org)
          Assignee: brooks@FreeBSD.org
 Attachment #206131 maintainer-approval?(brooks@FreeBSD.org)
             Flags:
                CC: brooks@FreeBSD.org

Created attachment 206131
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D206131&action=
=3Dedit
llvm80 - fix for all option off

I configured the port by setting all options off and choosing BE_FREEBSD as
backend, but it fails to build.

The first error is in patching, where it tries to patch two files listed in
SHEBANG_FILES, but they do not exist. I changed the Makefile by adding those
files to SHEBANG_FILES only when CLANG option is on.

The second error is with pkg-plist: the port tries to install four files th=
at
are not in the stagedir. I fixed it by inserting the files in the plist onl=
y if
CLANG option is on.

I attach a patch with the fixes. I hope that I figured out correctly the ne=
eded
condition on CLANG option.

I tested succesfully my patch on 12.0-STABLE r350192 amd64.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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