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

Bug 712624

Summary: dev-libs/mimetic-0.9.8 : ../.../other_codecs.h: error: expected ) before m
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: arkamar, jkt, kensington, sam
Priority: Normal Keywords: PATCH, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/tat/mimetic/pull/27
See Also: https://github.com/gentoo/gentoo/pull/24585
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: emerge-info.txt
dev-libs:mimetic-0.9.8:20200315-001710.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-15 09:26:33 UTC
                 from ../mimetic/mimeentity.h:22,
                 from body.cxx:8:
../mimetic/codec/other_codecs.h:112:20: error: expected ) before m
  112 |     MaxLineLen(uint m)
      |               ~    ^~
      |                    )

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200311-204810

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.0 *
 [2] x86_64-gentoo-linux-musl-9.3.0
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.41.1
  [2]   rust-1.41.1 *
The following VMs are available for generation-2:

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 14 Mar 2020 23:50:12 +0000
emerge -qpvO dev-libs/mimetic
[ebuild  N    ] dev-libs/mimetic-0.9.8  USE="-doc -examples"
Comment 1 Toralf Förster gentoo-dev 2020-03-15 09:26:36 UTC
Created attachment 619360 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-15 09:26:38 UTC
Created attachment 619362 [details]
dev-libs:mimetic-0.9.8:20200315-001710.log
Comment 3 Toralf Förster gentoo-dev 2020-03-15 09:26:41 UTC
Created attachment 619364 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-15 09:26:44 UTC
Created attachment 619366 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-15 09:26:47 UTC
Created attachment 619368 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-15 09:26:50 UTC
Created attachment 619370 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-15 09:26:52 UTC
Created attachment 619372 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-03-16 16:12:28 UTC
The first attempt to tinderbox a musl image failed at all.

I'll mass close therefore all filed bug reports of the last days related to this tinderbox image.

Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.
Comment 9 Petr Vaněk gentoo-dev 2022-03-15 12:23:55 UTC
I will prepare PR with mentioned patch to Gentoo when upstream will merge my PR.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-15 13:33:32 UTC
(In reply to Petr Vaněk from comment #9)
> I will prepare PR with mentioned patch to Gentoo when upstream will merge my
> PR.

thanks petr!
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-15 13:33:42 UTC
(In reply to Sam James from comment #10)
> (In reply to Petr Vaněk from comment #9)
> > I will prepare PR with mentioned patch to Gentoo when upstream will merge my
> > PR.
> 
> thanks petr!

(it's trivial enough that you don't need to wait though)
Comment 12 Larry the Git Cow gentoo-dev 2022-03-21 23:42:43 UTC
The bug has been closed via the following commit(s):

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

commit ee5c9ab35b61b28d01c8ea267d0e7af4e3fbf34a
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2022-03-14 16:34:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-21 23:41:05 +0000

    dev-libs/mimetic: fix musl build
    
    Upstream-PR: https://github.com/tat/mimetic/pull/27
    Closes: https://bugs.gentoo.org/712624
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Closes: https://github.com/gentoo/gentoo/pull/24585
    Signed-off-by: Sam James <sam@gentoo.org>

 .../mimetic/files/mimetic-0.9.8-uint-musl.patch    | 36 ++++++++++++++++++++++
 dev-libs/mimetic/mimetic-0.9.8.ebuild              |  3 +-
 2 files changed, 38 insertions(+), 1 deletion(-)
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-15 09:49:30 UTC
*** Bug 831751 has been marked as a duplicate of this bug. ***