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

Bug 828843

Summary: media-libs/libemf-1.0.13 - /.../byteswap.h: error: a function-definition is not allowed here before { token
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: maintainer-needed
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
media-libs:libemf-1.0.13:20211210-163429.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-12-10 16:39:05 UTC
/bin/sh ../libtool  --tag=CXX   --mode=compile x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../config  -I../include   -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DPTHREADS -c -o libemf.lo libemf.cpp
libtool: compile:  x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../config -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_REENTRANT -DPTHREADS -c libemf.cpp  -fPIC -DPIC -o .libs/libemf.o
In file included from libemf.cpp:75:
/usr/include/byteswap.h: In function 'DWORD EMF::swab(DWORD)':
/usr/include/byteswap.h:8:1: error: a function-definition is not allowed here before '{' token
    8 | {
      | ^
/usr/include/byteswap.h:13:1: error: a function-definition is not allowed here before '{' token
   13 | {

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.57.0 *
php cli:

  HEAD of ::gentoo
commit 5186d391e75b7433cbce57867af5ac3c0009e6e3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 10 15:21:41 2021 +0000

    2021-12-10 15:21:40 UTC

emerge -qpvO media-libs/libemf
[ebuild  N    ] media-libs/libemf-1.0.13  USE="-doc -static-libs"
Comment 1 Toralf Förster gentoo-dev 2021-12-10 16:39:06 UTC
Created attachment 758273 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-10 16:39:08 UTC
Created attachment 758274 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-10 16:39:09 UTC
Created attachment 758275 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-10 16:39:10 UTC
Created attachment 758276 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-10 16:39:11 UTC
Created attachment 758277 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-10 16:39:12 UTC
Created attachment 758278 [details]
media-libs:libemf-1.0.13:20211210-163429.log
Comment 7 Toralf Förster gentoo-dev 2021-12-10 16:39:13 UTC
Created attachment 758279 [details]
temp.tar.bz2