Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675016 - app-crypt/tpm2-tss-2.1.0 : Makefile:15028: *** missing separator. Stop.
Summary: app-crypt/tpm2-tss-2.1.0 : Makefile:15028: *** missing separator. Stop.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL: https://github.com/tpm2-software/tpm2...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-09 17:40 UTC by Toralf Förster
Modified: 2019-01-11 18:05 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.16 KB, text/plain)
2019-01-09 17:40 UTC, Toralf Förster
Details
app-crypt:tpm2-tss-2.1.0:20190109-151629.log (app-crypt:tpm2-tss-2.1.0:20190109-151629.log,8.33 KB, text/plain)
2019-01-09 17:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,229.83 KB, text/plain)
2019-01-09 17:40 UTC, Toralf Förster
Details
environment (environment,83.19 KB, text/plain)
2019-01-09 17:40 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.47 KB, application/x-bzip)
2019-01-09 17:40 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.24 KB, application/x-bzip)
2019-01-09 17:40 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.33 KB, application/x-bzip)
2019-01-09 17:40 UTC, Toralf Förster
Details
libgdata-0.17.9.tbz2 (libgdata-0.17.9.tbz2,462.33 KB, application/x-bzip)
2019-01-11 14:30 UTC, Toralf Förster
Details
tpm2.tbz2 (tpm2.tbz2,506.74 KB, application/x-bzip)
2019-01-11 16:23 UTC, Toralf Förster
Details
app-crypt:tpm2-tss-2.1.0:20190111-161446.log (app-crypt:tpm2-tss-2.1.0:20190111-161446.log,8.23 KB, text/plain)
2019-01-11 16:37 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-01-09 17:40:21 UTC
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/tpm2-tss-2.1.0 --htmldir=/usr/share/doc/tpm2-tss-2.1.0/html --with-sysroot=/ --libdir=/usr/lib64 --disable-doxygen-doc --disable-static --disable-unit --with-crypto=gcrypt --with-udevrulesdir=/lib/udev/rules.d --with-udevrulesprefix=60-
configure: loading site script /usr/share/config.site
./configure: line 2401: -O2: command not found
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out

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

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

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

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)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.31.1 *
java-config:
The following VMs are available for generation-2:


emerge -qpvO app-crypt/tpm2-tss
[ebuild  N    ] app-crypt/tpm2-tss-2.1.0  USE="gcrypt -doc -openssl -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2019-01-09 17:40:23 UTC
Created attachment 560566 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-01-09 17:40:26 UTC
Created attachment 560568 [details]
app-crypt:tpm2-tss-2.1.0:20190109-151629.log
Comment 3 Toralf Förster gentoo-dev 2019-01-09 17:40:29 UTC
Created attachment 560570 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-01-09 17:40:32 UTC
Created attachment 560572 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-01-09 17:40:35 UTC
Created attachment 560574 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-01-09 17:40:37 UTC
Created attachment 560576 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-01-09 17:40:40 UTC
Created attachment 560578 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-01-09 20:12:30 UTC
The bug has been referenced in the following commit(s):

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

commit 846d47e8c5426578048aa6e41354d5e20c984fdb
Author:     Alon Bar-Lev <alonbl@gentoo.org>
AuthorDate: 2019-01-09 20:11:19 +0000
Commit:     Alon Bar-Lev <alonbl@gentoo.org>
CommitDate: 2019-01-09 20:12:20 +0000

    app-crypt/tpm2-tss: add missing sys-devel/autoconf-archive dependency
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=675016
    Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../tpm2-tss/files/tpm2-tss-2.1.0-build.patch      | 39 ++++++++++++++++++++++
 app-crypt/tpm2-tss/tpm2-tss-2.1.0.ebuild           |  3 +-
 2 files changed, 41 insertions(+), 1 deletion(-)
Comment 9 Alon Bar-Lev (RETIRED) gentoo-dev 2019-01-09 20:17:19 UTC
Hi Toralf,

The -O2 error is noop, the issue is different.

I believe that the autoreconf needed the sys-devel/autoconf-archive package to work properly, but I see this already exist in your system.

However, the only difference between your config.log and mine is related to AX_CODE_COVERAGE which is probably not generated correctly.

But I do not see any error in this regard.

I will appreciate if you can attach the configure, Makefile post src_configure stage or after this build failure.

Thanks!
Comment 10 Toralf Förster gentoo-dev 2019-01-11 14:30:04 UTC
Created attachment 560690 [details]
libgdata-0.17.9.tbz2
Comment 11 Alon Bar-Lev (RETIRED) gentoo-dev 2019-01-11 15:43:57 UTC
(In reply to Toralf Förster from comment #10)
> Created attachment 560690 [details]
> libgdata-0.17.9.tbz2

Wrong bug?
Comment 12 Toralf Förster gentoo-dev 2019-01-11 16:03:43 UTC
indeed, this bug is fixed btw.
Comment 13 Toralf Förster gentoo-dev 2019-01-11 16:10:28 UTC
closed wrong bug, will assign here data asap
Comment 14 Toralf Förster gentoo-dev 2019-01-11 16:17:10 UTC
whilst the issue at hte reported image was fiex now and the packlage were built there I run into an error at rhe image run/17.0-no-multilib-hardened_20190107-221722 which sounds similar but not fully equal - pls see data in the next item
Comment 15 Toralf Förster gentoo-dev 2019-01-11 16:23:53 UTC
Created attachment 560692 [details]
tpm2.tbz2
Comment 16 Alon Bar-Lev (RETIRED) gentoo-dev 2019-01-11 16:29:59 UTC
(In reply to Toralf Förster from comment #15)
> Created attachment 560692 [details]
> tpm2.tbz2

thanks! please attach also build log of this build, so I can see the error.
Comment 17 Toralf Förster gentoo-dev 2019-01-11 16:37:45 UTC
Created attachment 560694 [details]
app-crypt:tpm2-tss-2.1.0:20190111-161446.log
Comment 18 Alon Bar-Lev (RETIRED) gentoo-dev 2019-01-11 17:02:52 UTC
Makefile.am
---
### Add ax_* rules ###
# ax_code_coverage
@CODE_COVERAGE_RULES@
---

This means that the macro is not expanded, it exists in ax_code_coverage.m4.

$ equery belongs /usr/share/aclocal/ax_code_coverage.m4
 * Searching for /usr/share/aclocal/ax_code_coverage.m4 ... 
sys-devel/autoconf-archive-2018.03.13 (/usr/share/aclocal/ax_code_coverage.m4)

What I see in your aclocal.m4 is totally different... I am unsure why.

Can you please check if you have /usr/share/aclocal/ax_code_coverage.m4 and what package it belongs?
Comment 19 Alon Bar-Lev (RETIRED) gentoo-dev 2019-01-11 17:13:03 UTC
ok, found... you are using the nonstable.
Comment 20 Larry the Git Cow gentoo-dev 2019-01-11 18:05:52 UTC
The bug has been closed via the following commit(s):

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

commit ca1813471a6b5e2a07071032b4e230879fed5630
Author:     Alon Bar-Lev <alonbl@gentoo.org>
AuthorDate: 2019-01-11 18:04:37 +0000
Commit:     Alon Bar-Lev <alonbl@gentoo.org>
CommitDate: 2019-01-11 18:05:38 +0000

    app-crypt/tpm2-tss: force sys-devel/autoconf-archive-2018.03.13
    
    the ax_code_coverage.m4 in autoconf-archive-2019.01.06 broke backward
    compatibility.
    
    it is too difficult to patch package to be compatible with both.
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=675016
    Thanks: Toralf Förster
    Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-crypt/tpm2-tss/tpm2-tss-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)