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

Bug 668250

Summary: app-text/htp-1.19 : Can't locate in @INC, Command "perl -s ref.tmp" exited with an error code of 512
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: CONFIRMED ---    
Severity: normal CC: kentnl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: ~arch only
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 612408    
Attachments: emerge-info.txt

Description Toralf Förster gentoo-dev 2018-10-10 16:06:45 UTC
htp: error encountered, file "alttext.html" not completed

make: *** [Makefile:67: homepage/ref/alttext.html] Error 1
 * ERROR: app-text/htp-1.19::gentoo failed (compile phase):
 *   emake failed


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_libressl_20181006-210858


gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

emerge -qpvO app-text/htp
[ebuild  N    ] app-text/htp-1.19
Comment 1 Toralf Förster gentoo-dev 2018-10-10 16:06:47 UTC
Created attachment 550468 [details]
Comment 2 Toralf Förster gentoo-dev 2018-10-10 16:06:50 UTC
Created attachment 550470 [details]
Comment 3 Toralf Förster gentoo-dev 2018-10-10 16:06:52 UTC
Created attachment 550472 [details]
Comment 4 Toralf Förster gentoo-dev 2018-10-10 16:06:55 UTC
Created attachment 550474 [details]
Comment 5 Toralf Förster gentoo-dev 2018-10-10 16:06:57 UTC
Created attachment 550476 [details]
Comment 6 Toralf Förster gentoo-dev 2018-10-10 16:07:00 UTC
Created attachment 550478 [details]
Comment 7 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-10-10 17:07:34 UTC
Can't locate in @INC (@INC contains: /etc/perl /usr/local/lib64/perl5/5.26.2/x86_64-linux /usr/local/lib64/perl5/5.26.2 /usr/lib64/perl5/vendor_perl/5.26.2/x86_64-linux /usr/lib64/perl5/vendor_perl/5.26.2 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.26.2/x86_64-linux /usr/lib64/perl5/5.26.2) at line 9.
[!] macros.def line 19: Command "perl -s ref.tmp" exited with an error code of 512

This is almost certainly a perl 5.26+ .-in-INC issue. bug #612408

Given that:

- is part of this dist
- that tries to require it on line 9 was relying on the "." in @INC for to be loadable.

Fixing should be straightforward,

Either one of the options here:

Or possibly adding " -I." to the perl invocation from macros.def