pkgsrc-Bugs archive

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

pkg/44840: Odd perl build failure on Solaris/SunPRO



>Number:         44840
>Category:       pkg
>Synopsis:       Odd perl build failure on Solaris/SunPRO
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 07 13:55:00 +0000 2011
>Originator:     Jim Wise
>Release:        Solaris 10 10/09 with pkgsrc-current
>Organization:
>Environment:
gondolin$ uname -a ; isainfo -n
SunOS gondolin.draga.com 5.10 Generic_142901-03 i86pc i386 i86pc
amd64
>Description:
        Build of lang/perl5 fails with the following  odd error:

                
LD_LIBRARY_PATH=/var/opt/tnf/pkgobj/pkgsrc/lang/perl5/work/perl-5.12.2  
./miniperl -Ilib autodoc.pl
                No -I allowed while running setgid.
                *** Error code 255

                Stop.
                bmake: stopped in 
/var/opt/tnf/pkgobj/pkgsrc/lang/perl5/work/perl-5.12.2
                *** Error code 1

                Stop.
                bmake: stopped in /opt/tnf/pkgsrc/lang/perl5
                *** Error code 1

                Stop.
                bmake: stopped in /opt/tnf/pkgsrc/lang/perl5

        The miniperl binary is not, of course, setgid, and I've verified that 
nothing in the workdir has the sgid bit set.

        mk.conf is as follows:

                # Example /etc/opt/tnf/mk.conf file produced by bootstrap-pkgsrc
                # Wed Apr  6 10:10:29 EDT 2011
                
                .ifdef BSD_PKG_MK       # begin pkgsrc settings
                
                ABI=                    64
                PKGSRC_COMPILER=        sunpro
                CC=                     cc
                CXX=                    CC
                CPP=                    ${CC} -E
                SUNWSPROBASE=           /opt/solstudio12.2
                
                PKG_DBDIR=              /var/opt/tnf/db/pkg
                LOCALBASE=              /opt/tnf
                VARBASE=                /var/opt/tnf
                PKG_SYSCONFBASE=        /etc/opt/tnf
                PKG_TOOLS_BIN=          /opt/tnf/sbin
                PKGMANDIR=              man
                
                TOOLS_PLATFORM.install?=        /opt/tnf/bin/install-sh
                TOOLS_PLATFORM.sh?=             /opt/tnf/bin/pdksh
                TOOLS_PLATFORM.ksh?=            /opt/tnf/bin/pdksh
                TOOLS_PLATFORM.awk?=            /opt/tnf/bin/nawk
                TOOLS_PLATFORM.sed?=            /opt/tnf/bin/nbsed
                
                SU_CMD=                 pfksh -c
                
                PKG_DEFAULT_OPTIONS+=   ssl inet6 gssapi ldap
                PKG_OPTIONS.lsof+=      lsof-more-secure
                PKG_OPTIONS.libfetch+=  openssl
                
                WRKOBJDIR=              /var/opt/tnf/pkgobj/pkgsrc
                DISTDIR=                /var/opt/tnf/distfiles
                PACKAGES=               /var/opt/tnf/packages
                .endif                  # end pkgsrc settings
>How-To-Repeat:
        cd lang/perl5 && bmake
>Fix:
        Unknown



Home | Main Index | Thread Index | Old Index