Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2015 16:06:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 205600] arm's lang/perl5 via pkg install perl5: cc => '/nxb-bin/usr/bin/cc' in /usr/local/lib/perl5/5.20/mach/Config.pm
Message-ID:  <bug-205600-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 205600
           Summary: arm's lang/perl5 via pkg install perl5: cc =>
                    '/nxb-bin/usr/bin/cc' in
                    /usr/local/lib/perl5/5.20/mach/Config.pm
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: markmi@dsl-only.net
                CC: freebsd-arm@FreeBSD.org
                CC: freebsd-arm@FreeBSD.org

pkg install perl5 on arm (rpi2 in my case) to get 5.20 messes up the path for
cc to be "/nxb-bin/usr/bin/cc" in mach/Config.pm . This breaks builds, such as
for p5-Locale-gettext-1.06 . See below for details.

===>>> All >> freetype2-2.6_1 >> devel/gmake >> devel/p5-Locale-gettext (5/66)

===>  Cleaning for p5-Locale-gettext-1.06
. . .
--- blib/arch/auto/Locale/gettext/gettext.so ---
rm -f blib/arch/auto/Locale/gettext/gettext.so
LD_RUN_PATH="/usr/local/lib" /nxb-bin/usr/bin/cc  -shared 
-L/wrkdirs/usr/ports/lang/perl5.20/work/perl-5.20.3
-L/usr/local/lib/perl5/5.20/mach/CORE
-Wl,-rpath=/usr/local/lib/perl5/5.20/mach/CORE -lperl -L/usr/local/lib
-fstack-protector gettext.o  -o blib/arch/auto/Locale/gettext/gettext.so      
-L/usr/local/lib -lintl       
sh: /nxb-bin/usr/bin/cc: not found
*** [blib/arch/auto/Locale/gettext/gettext.so] Error code 127

The /nxb-bin/ text is from . . .

# more /usr/local/lib/perl5/5.20/mach/Config.pm
. . .
# tie returns the object, so the value returned to require will be true.
tie %Config, 'Config', {
    archlibexp => '/usr/local/lib/perl5/5.20/mach',
    archname => 'arm-freebsd-thread-multi-64int',
    cc => '/nxb-bin/usr/bin/cc',
. . .

-- 
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-205600-13>