Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 665438 - app-admin/vault-0.11.0 : make: *** [Makefile:<snip>: fmtcheck] Error 1
Summary: app-admin/vault-0.11.0 : make: *** [Makefile:<snip>: fmtcheck] Error 1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-07 14:53 UTC by Toralf Förster
Modified: 2018-09-10 07:26 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.29 KB, text/plain)
2018-09-07 14:53 UTC, Toralf Förster
Details
app-admin:vault-0.11.0:20180907-040208.log (app-admin:vault-0.11.0:20180907-040208.log,2.05 KB, text/plain)
2018-09-07 14:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,80.81 KB, text/plain)
2018-09-07 14:53 UTC, Toralf Förster
Details
environment (environment,68.61 KB, text/plain)
2018-09-07 14:53 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.50 KB, application/x-bzip)
2018-09-07 14:53 UTC, Toralf Förster
Details
Fix compilation issues due to fmt (vault-0.11.0.patch,36 bytes, patch)
2018-09-09 18:08 UTC, Daniel Salas
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 2018-09-07 14:53:12 UTC
./builtin/credential/aws/path_login.go
You can use the command: `make fmt` to reformat code.
make: *** [Makefile:152: fmtcheck] Error 1
 * ERROR: app-admin/vault-0.11.0::gentoo failed (compile phase):
 *   emake failed
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib-hardened_20180905-191033

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

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

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



emerge -qpv app-admin/vault
[ebuild   R   ] app-admin/vault-0.11.0  USE="filecaps"
Comment 1 Toralf Förster gentoo-dev 2018-09-07 14:53:15 UTC
Created attachment 546156 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-09-07 14:53:18 UTC
Created attachment 546158 [details]
app-admin:vault-0.11.0:20180907-040208.log
Comment 3 Toralf Förster gentoo-dev 2018-09-07 14:53:21 UTC
Created attachment 546160 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-09-07 14:53:23 UTC
Created attachment 546162 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-09-07 14:53:26 UTC
Created attachment 546164 [details]
etc.portage.tbz2
Comment 6 Zac Medico gentoo-dev 2018-09-07 20:41:48 UTC
(In reply to Toralf Förster from comment #1)
> Created attachment 546156 [details]
> emerge-info.txt

Since the error from https://github.com/hashicorp/terraform/issues/12064 looks similar, I thought this might be triggered by parallel make due to a missing Makefile dependency. However, I see that your emerge-info.txt has MAKEOPTS="-j1", so I don't know what caused this.
Comment 7 Daniel Salas 2018-09-09 18:07:39 UTC
I fixed mine by adding fmt and dev to emake.
Comment 8 Daniel Salas 2018-09-09 18:08:51 UTC
Created attachment 546454 [details, diff]
Fix compilation issues due to fmt
Comment 9 Larry the Git Cow gentoo-dev 2018-09-10 07:24:06 UTC
The bug has been closed via the following commit(s):

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

commit 97ceaf0a19f7c57e7e5279835bea409f81b14824
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2018-09-10 07:20:41 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2018-09-10 07:23:56 +0000

    app-admin/vault: fix fmt issue for bug 665438
    
    Closes: https://bugs.gentoo.org/665438
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 app-admin/vault/vault-0.11.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)
Comment 10 Zac Medico gentoo-dev 2018-09-10 07:26:28 UTC
(In reply to Daniel Salas from comment #8)
> Created attachment 546454 [details, diff] [details, diff]
> Fix compilation issues due to fmt

Thanks! I've added an earlier call to `emake fmt`, since calling the fmt target in the same emake invocation is not safe for parallel make.