Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709670 - dev-perl/Alien-Gnuplot-1.33.0 :the executable '/usr/bin/gnuplot' appears not to be gnuplot.
Summary: dev-perl/Alien-Gnuplot-1.33.0 :the executable '/usr/bin/gnuplot' appears not ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 753224 762790 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-02-14 23:10 UTC by Toralf Förster
Modified: 2021-01-24 17:31 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.86 KB, text/plain)
2020-02-14 23:10 UTC, Toralf Förster
Details
dev-perl:Alien-Gnuplot-1.33.0:20200214-230540.log (dev-perl:Alien-Gnuplot-1.33.0:20200214-230540.log,2.94 KB, text/plain)
2020-02-14 23:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,198.63 KB, text/plain)
2020-02-14 23:10 UTC, Toralf Förster
Details
environment (environment,33.67 KB, text/plain)
2020-02-14 23:10 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.66 KB, application/x-bzip)
2020-02-14 23:10 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,10.69 KB, application/x-bzip)
2020-02-14 23:10 UTC, Toralf Förster
Details
Fix parsing of gnuplot version in Gnuplot.pm (Alien-Gnuplot-1.33.0-gnuplot_3part_version.patch,607 bytes, patch)
2021-01-05 03:51 UTC, David Haller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-02-14 23:10:28 UTC
 * ERROR: dev-perl/Alien-Gnuplot-1.33.0::gentoo failed (configure phase):
 *   Unable to build!
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20200208-201054

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

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

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 14 Feb 2020 22:37:30 +0000

emerge -qpvO dev-perl/Alien-Gnuplot
[ebuild  N    ] dev-perl/Alien-Gnuplot-1.33.0
Comment 1 Toralf Förster gentoo-dev 2020-02-14 23:10:31 UTC
Created attachment 613870 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-14 23:10:34 UTC
Created attachment 613872 [details]
dev-perl:Alien-Gnuplot-1.33.0:20200214-230540.log
Comment 3 Toralf Förster gentoo-dev 2020-02-14 23:10:36 UTC
Created attachment 613874 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-14 23:10:39 UTC
Created attachment 613876 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-14 23:10:42 UTC
Created attachment 613878 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-14 23:10:45 UTC
Created attachment 613880 [details]
temp.tbz2
Comment 7 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-02-15 07:17:23 UTC
> Alien::Gnuplot: the executable '/usr/bin/gnuplot' appears not to be gnuplot,
or perhaps there was a problem running it.  You can remove it or set
your GNUPLOT_BINARY variable to an actual gnuplot.

Your information doesn't help here.

Please provide the output of `gnuplot -V` on a system that fails, to confirm that your GNU Plot both exists, and isn't broken.

Also confirm what the output of GNUplot is when run in a terminal, after executing the command:

> show version

it should have the string

  	G N U P L O T

In it.

https://metacpan.org/source/ZOWIE/Alien-Gnuplot-1.033/lib/Alien/Gnuplot.pm#L209-211
https://metacpan.org/source/ZOWIE/Alien-Gnuplot-1.033/lib/Alien/Gnuplot.pm#L209-211
Comment 8 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-02-15 07:18:21 UTC
https://metacpan.org/source/ZOWIE/Alien-Gnuplot-1.033/lib/Alien/Gnuplot.pm#L285-290 also, stupid paste buffer.
Comment 9 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-09-19 07:02:04 UTC
Closing until more details can be provided to actually replicate this issue.
Comment 10 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-11-06 08:42:52 UTC
*** Bug 753224 has been marked as a duplicate of this bug. ***
Comment 11 David Haller 2021-01-05 03:51:15 UTC
Created attachment 681091 [details, diff]
Fix parsing of gnuplot version in Gnuplot.pm

Just add the attached patch to PATCHES variable of the .ebuild
Comment 12 Ulrich Müller gentoo-dev 2021-01-24 17:19:56 UTC
*** Bug 762790 has been marked as a duplicate of this bug. ***
Comment 13 Larry the Git Cow gentoo-dev 2021-01-24 17:28:59 UTC
The bug has been closed via the following commit(s):

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

commit c2832cbcfbcefc77050a6f3ffeaa40e64f632f5f
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2021-01-24 17:28:18 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2021-01-24 17:28:53 +0000

    dev-perl/Alien-Gnuplot: Fix gnuplot version detection
    
    Closes: https://bugs.gentoo.org/709670
    Acked-by: Andreas K. Hüttel <dilfridge@gentoo.org>
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 dev-perl/Alien-Gnuplot/Alien-Gnuplot-1.33.0.ebuild          |  4 +++-
 .../Alien-Gnuplot/files/Alien-Gnuplot-1.33.0-version.patch  | 13 +++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)
Comment 14 Ulrich Müller gentoo-dev 2021-01-24 17:31:39 UTC
(In reply to David Haller from comment #11)
> Created attachment 681091 [details, diff] [details, diff]
> Fix parsing of gnuplot version in Gnuplot.pm

Thank you for the patch.

Fixed without revbump, because it is a build-time issue.