pkgsrc-Bugs archive

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

pkg/52559: sysutils/rename: configure fails on OpenIndiana



>Number:         52559
>Category:       pkg
>Synopsis:       sysutils/rename: configure fails on OpenIndiana
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 19 14:05:00 +0000 2017
>Originator:     Matteo Cypriani
>Release:        SunOS 5.11
>Environment:
System: SunOS indiana 5.11 illumos-202ca9ae46 i86pc i386 i86pc
Architecture: i86pc
Compiler: /usr/bin/gcc version 4.9.4
>Description:
The configure target fails on OpenIndiana with the default environment:

checking whether the C compiler (gcc -O2 -D_FORTIFY_SOURCE=2 -Wl,-R/usr/pkg/lib) works... no

rename configures and builds fine when running ./configure && make directly in
the source tree from the tarball.
>How-To-Repeat:
The problem arises with these two commands:

bmake configure
bmake configure CC=gcc

CC=gcc is the default anyway, but interestingly configure works fine with:

bmake configure CC=/usr/bin/gcc
>Fix:
A workaround is to use CC=/usr/bin/gcc like above. Another one is to remove the
following line from work/.cwrapper/config/cc:

transform=-D_FORTIFY_SOURCE=2

I'm not sure what the proper fix would be on the package.


Home | Main Index | Thread Index | Old Index