Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2013 08:27:16 GMT
From:      Spil <spil.oss@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/184276: [misc/help2man] Build fails on Locale::Gettext
Message-ID:  <201311250827.rAP8RGuX026110@oldred.freebsd.org>
Resent-Message-ID: <201311250830.rAP8U03x057259@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         184276
>Category:       ports
>Synopsis:       [misc/help2man] Build fails on Locale::Gettext
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 25 08:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Spil
>Release:        FreeBSD 9.0 i386
>Organization:
n.a.
>Environment:
FreeBSD build.example.org 9.0-RELEASE-p4 FreeBSD 9.0-RELEASE-p4 #0: Sun Sep 16 13:32:33 CEST 2012     root@gw.example.org:/usr/obj/usr/src/sys/HEMD90  i386

>Description:
Build of misc/help2man fails with the following, seems like a mismatch in the INC path 5.16 vs 5.16.0???

/usr/ports/misc/help2man]# make
===>   help2man-1.43.3_1 depends on package: p5-Locale-gettext>=0 - found
===>   help2man-1.43.3_1 depends on executable: gmake - found
===>   help2man-1.43.3_1 depends on file: /usr/local/bin/perl5.16.3 - found
===>   help2man-1.43.3_1 depends on shared library: libintl.so - found
===>  Configuring for help2man-1.43.3_1
configure: loading site script /usr/ports/Templates/config.site
checking for perl... perl
checking for module Locale::gettext... no
checking for msgfmt... /usr/local/bin/msgfmt
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for library containing dlsym... none required
checking for library containing bindtextdomain... none required
configure: error: perl module Locale::gettext required
===>  Script "configure" failed unexpectedly.
Please report the problem to sunpoet@FreeBSD.org [maintainer] and attach the
"/usr/ports/misc/help2man/work/help2man-1.43.3/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/sbin/pkg_info -Ea).
*** Error code 1

Stop in /usr/ports/misc/help2man.
*** Error code 1

Stop in /usr/ports/misc/help2man.

Locale::Gettext is installed

p5-CPAN-Meta-2.132830
p5-CPAN-Meta-Requirements-2.125
p5-CPAN-Meta-YAML-0.010
p5-ExtUtils-CBuilder-0.2802.12,1
p5-ExtUtils-Install-1.54_2
p5-ExtUtils-ParseXS-3.22
p5-IO-Tty-1.10
p5-IPC-Cmd-0.84
p5-IPC-Run-0.92
p5-JSON-PP-2.27203
p5-Locale-Maketext-Simple-0.21
p5-Locale-gettext-1.05_3
p5-Module-Build-0.4202
p5-Module-CoreList-3.01
p5-Module-Load-0.24
p5-Module-Load-Conditional-0.58
p5-Module-Metadata-1.000019
p5-Params-Check-0.38
p5-Parse-CPAN-Meta-1.44.04
p5-Perl-OSType-1.006
p5-Test-Harness-3.30
p5-Test-Simple-1.001.002
p5-YAML-0.84
p5-YAML-Tiny-1.55
p5-version-0.99.04
pcre-8.33
perl5-5.16.3_3

>From the configure log
configure:1832: checking for module Locale::gettext
Can't locate Locale/gettext.pm in @INC (@INC contains: /usr/local/lib/perl5/5.16/BSDPAN /usr/local/lib/perl5/site_perl/5.16/mach /usr/local/lib/perl5/site_perl/5.16 /usr/local/lib/perl5/5.16/mach /usr/local/lib/perl5/5.16 .).
BEGIN failed--compilation aborted.

# locate gettext.pm
/usr/local/lib/perl5/site_perl/5.16.0/mach/Locale/gettext.pm
>How-To-Repeat:
$ cd /usr/ports/misc/help2man
$ make
>Fix:
rebuild all p5-* ports
This is a result of the 20130612 layout change 
The directory structure where Perl is installed has also been modified:
  "major.minor" is now used instead of "major.minor.patchlevel".



>Release-Note:
>Audit-Trail:
>Unformatted:



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