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

Bug 695956

Summary: app-misc/pet-0.3.6 : flag provided but not defined: -p 1
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Vladimir Pavljuchenkov (SpiderX) <spiderx>
Status: RESOLVED OBSOLETE    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/14382
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-misc:pet-0.3.6:20191001-075351.log
emerge-history.txt
environment
etc.portage.tbz2

Description Toralf Förster gentoo-dev 2019-10-01 07:59:21 UTC
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-misc/pet-0.3.6/work/pet-0.3.6/src/github.com/knqyf263/pet ...
flag provided but not defined: -p 1
usage: go build [-o output] [-i] [build flags] [packages]
Run 'go help build' for details.
 * ERROR: app-misc/pet-0.3.6::gentoo failed (compile phase):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20190929-041856

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

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

clang:
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 01 Oct 2019 06:26:15 +0000

emerge -qpvO app-misc/pet
[ebuild  N    ] app-misc/pet-0.3.6  USE="-zsh-completion"
Comment 1 Toralf Förster gentoo-dev 2019-10-01 07:59:24 UTC
Created attachment 591476 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-10-01 07:59:27 UTC
Created attachment 591478 [details]
app-misc:pet-0.3.6:20191001-075351.log
Comment 3 Toralf Förster gentoo-dev 2019-10-01 07:59:30 UTC
Created attachment 591480 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-10-01 07:59:33 UTC
Created attachment 591482 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-10-01 07:59:36 UTC
Created attachment 591484 [details]
etc.portage.tbz2
Comment 6 Vladimir Pavljuchenkov (SpiderX) 2020-01-18 18:38:52 UTC
You passed EGO_BUILD_FLAGS="-p 1" and that broke build, why do you need "-p 1" ?
Comment 7 Toralf Förster gentoo-dev 2020-01-18 19:59:21 UTC
(In reply to Vladimir Pavljuchenkov (SpiderX) from comment #6)
> You passed EGO_BUILD_FLAGS="-p 1" and that broke build, why do you need "-p
> 1" ?

The tinderbox runs N images in parallel, therefore using "make -j1"  in each.
In the past additional attempts were made toachieve that goal for build systems who does not respect -j1:

https://github.com/toralf/tinderbox/blob/master/bin/setup_img.sh#L472

If ther're some entries odd/superfluous nowadays I appreciate hints to fix those.
Comment 8 Vladimir Pavljuchenkov (SpiderX) 2020-05-24 18:48:57 UTC
This is not relevant anymore due to ebuild changes.