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

Bug 634684

Summary: dev-libs/tvision-2.1.0_pre2-r4 : Can t locate miscperl.pl in @INC (@INC contains: /etc/perl /usr/local/lib64/perl5/5.26.1/x86_64-linux /usr/local/lib64/perl5/5.26.1 /usr/lib64/perl5/vendor_perl/5.26.1/x86_64-linux /usr/lib64/perl5/vendor_perl/5.26.1 /usr/
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: kentnl, plevine457, waebbl-gentoo
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 612408    
Attachments: emerge-info.txt
dev-libs:tvision-2.1.0_pre2-r4:20171018-192025.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
Patch to fix dot-in-INC issue

Description Toralf Förster gentoo-dev 2017-10-18 19:38:22 UTC
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/tvision-2.1.0_pre2-r4/work/tvision ...
Can't locate miscperl.pl in @INC (@INC contains: /etc/perl /usr/local/lib64/perl5/5.26.1/x86_64-linux /usr/local/lib64/perl5/5.26.1 /usr/lib64/perl5/vendor_perl/5.26.1/x86_64-linux /usr/lib64/perl5/vendor_perl/5.26.1 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.26.1/x86_64-linux /usr/lib64/perl5/5.26.1) at config.pl line 8.
 * ERROR: dev-libs/tvision-2.1.0_pre2-r4::gentoo failed (configure phase):
 *   (no error message)
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-no-multilib_20171014-220851

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 

emerge -qpv dev-libs/tvision
[ebuild  N    ] dev-libs/tvision-2.1.0_pre2-r4
Comment 1 Toralf Förster gentoo-dev 2017-10-18 19:38:25 UTC
Created attachment 499144 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-10-18 19:38:28 UTC
Created attachment 499146 [details]
dev-libs:tvision-2.1.0_pre2-r4:20171018-192025.log
Comment 3 Toralf Förster gentoo-dev 2017-10-18 19:38:31 UTC
Created attachment 499148 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-10-18 19:38:34 UTC
Created attachment 499150 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-10-18 19:38:37 UTC
Created attachment 499152 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-10-18 19:38:41 UTC
Created attachment 499154 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-10-18 19:38:44 UTC
Created attachment 499156 [details]
temp.tbz2
Comment 8 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-10-18 19:41:48 UTC
This is: https://wiki.gentoo.org/wiki/Project:Perl/Dot-In-INC-Removal
Comment 9 Bernd 2017-11-11 15:13:32 UTC
Created attachment 503598 [details, diff]
Patch to fix dot-in-INC issue

This patch fixes the issue with dot in @INC for me. It follows the recommendations on the gentoo wiki by making the require explicitly import from the local directory: require "file.pl" -> require "./file.pl"
Comment 10 Larry the Git Cow gentoo-dev 2017-12-04 20:26:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=206f0333252feea61ad01bdceb927ac0a1ee6d60

commit 206f0333252feea61ad01bdceb927ac0a1ee6d60
Author:     Bernd Waibel <waebbl@gmail.com>
AuthorDate: 2017-11-11 15:49:08 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2017-12-04 20:26:25 +0000

    dev-libs/tvision: fix dot-in-INC issue.
    
    Closes: https://bugs.gentoo.org/634684
    Closes: https://github.com/gentoo/gentoo/pull/6172
    Package-Manager: Portage-2.3.13, Repoman-2.3.4

 .../files/tvision-2.1.0_pre2-perl-INC.patch        | 30 ++++++++++++++++++++++
 dev-libs/tvision/tvision-2.1.0_pre2-r4.ebuild      |  1 +
 2 files changed, 31 insertions(+)
Comment 11 Peter Levine 2017-12-05 07:40:11 UTC
Alternatively, you could prepend the configure command with PERL5LIB="${S}"
Comment 12 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-12-05 08:31:13 UTC
(In reply to Peter Levine from comment #11)
> Alternatively, you could prepend the configure command with PERL5LIB="${S}"

I'd discourage that approach, as its likely to hide other real issues, and risk creating new ones. Falls under the category of "workaround", not "fix"