[Bug 197920] [patch] shells/pdksh : fails to build on gcc5 due to cpp, here is fix

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 22 14:53:07 UTC 2015


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

            Bug ID: 197920
           Summary: [patch] shells/pdksh : fails to build on gcc5 due to
                    cpp, here is fix
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rodrigo at FreeBSD.org
          Reporter: marino at FreeBSD.org
          Assignee: rodrigo at FreeBSD.org
             Flags: maintainer-feedback?(rodrigo at FreeBSD.org)

Created attachment 153315
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=153315&action=edit
pdksh patch to use tradcpp in siglist.sh script

The pdksh port will fail to build with gcc5 because of a behavioral change in
the cpp program that it comes with.  However, the default replacement, tradcpp,
will cause the configure to fail.  The fix is not pretty, it is to use GCC cpp
everything except the siglist.sh script.

The error is as follows:
--- siglist.out ---
./siglist.sh "cpp  -DHAVE_CONFIG_H -I. -I." < ./siglist.in > tmpsiglist.out
--- siglist.out ---
*** [siglist.out] Error code 1

The attached patch will force siglist.sh to use tradcpp instead which allows
for the program to successfully build on gcc5.

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer rodrigo at FreeBSD.org

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


More information about the freebsd-ports-bugs mailing list