Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 911601

Summary: dev-libs/openssl-3.1.2 - Makefile:17284: doc/html/man3/ASN1_EXTERN_FUNCS.html Error 5
Product: Gentoo/Alt Reporter: Martin Mokrejš <mmokrejs>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.bz2

Description Martin Mokrejš 2023-08-02 15:47:25 UTC
Hi,
  when install Gentoo::RAP I hit the following. Manpages should not be installed by default at all.

perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_ADDRESS = "en_US.UTF-8",
        LC_NAME = "en_US.UTF-8",
        LC_MONETARY = "en_US.UTF-8",
        LC_PAPER = "en_US.UTF-8",
        LC_IDENTIFICATION = "en_US.UTF-8",
        LC_TELEPHONE = "en_US.UTF-8",
        LC_MESSAGES = "C",
        LC_MEASUREMENT = "en_US.UTF-8",
        LC_CTYPE = "en_US.UTF-8",
        LC_TIME = "en_US.UTF-8",
        LC_COLLATE = "C",
        LC_NUMERIC = "en_US.UTF-8",
        LANG = "C"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
/auto/vestec1-elixir/projects/biocev/mmokrejs/gentoo/usr/bin/perl ../openssl-3.1.2/util/mkpod2html.pl -i "../openssl-3.1.2/doc/man3/BIO_ADDR.pod" -o doc/html/man3/BIO_ADDR.html -t "BIO_ADDR" -r "../openssl-3.1.2/doc"
/auto/vestec1-elixir/projects/biocev/mmokrejs/gentoo/usr/bin/perl ../openssl-3.1.2/util/mkpod2html.pl -i "../openssl-3.1.2/doc/man3/BIO_ADDRINFO.pod" -o doc/html/man3/BIO_ADDRINFO.html -t "BIO_ADDRINFO" -r "../openssl-3.1.2/doc"
error closing ./pod2htmd.tmp: Input/output error at /auto/vestec1-elixir/projects/biocev/mmokrejs/gentoo/usr/lib64/perl5/5.38/Pod/Html.pm line 418.
make: *** [Makefile:17284: doc/html/man3/ASN1_EXTERN_FUNCS.html] Error 5
make: *** Waiting for unfinished jobs....
error closing ./pod2htmd.tmp: Input/output error at /auto/vestec1-elixir/projects/biocev/mmokrejs/gentoo/usr/lib64/perl5/5.38/Pod/Html.pm line 418.
make: *** [Makefile:17286: doc/html/man3/ASN1_INTEGER_get_int64.html] Error 5
error closing ./pod2htmd.tmp: Input/output error at /auto/vestec1-elixir/projects/biocev/mmokrejs/gentoo/usr/lib64/perl5/5.38/Pod/Html.pm line 418.
error closing ./pod2htmd.tmp: Input/output error at /auto/vestec1-elixir/projects/biocev/mmokrejs/gentoo/usr/lib64/perl5/5.38/Pod/Html.pm line 418.
make: *** [Makefile:17280: doc/html/man1/tsget.html] Error 5
make: *** [Makefile:17252: doc/html/man1/openssl-srp.html] Error 5
perl: warning: Setting locale failed.
Comment 1 Martin Mokrejš 2023-08-02 15:50:00 UTC
Created attachment 866853 [details]
build.log.bz2

This happened already past the stage3 bootstrapping.
Comment 2 Martin Mokrejš 2023-08-02 16:20:51 UTC
The ebuild should respect USE=-doc and USE=-man if it exists. And bootstrap-prefix.sh should use it, also for other packages.
Comment 3 Martin Mokrejš 2023-08-02 16:52:30 UTC
Probably the ebuild can edit the line

sed -e 's/SUBDIRS=crypto ssl apps util tools fuzz providers doc/SUBDIRS=crypto ssl apps util tools fuzz providers/g' -i build.info || die

in "${W}"/build.info and drop the trailing " doc" if upstream does not expose "no-doc" and "no-man" arguments to the home-grown Configure.

It worked in my case now although still in the install phase manpages and html files were installed.