Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828843 - media-libs/libemf-1.0.13 - /.../byteswap.h: error: a function-definition is not allowed here before { token
Summary: media-libs/libemf-1.0.13 - /.../byteswap.h: error: a function-definition is n...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2021-12-10 16:39 UTC by Toralf Förster
Modified: 2021-12-11 07:00 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.49 KB, text/plain)
2021-12-10 16:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,123.00 KB, text/plain)
2021-12-10 16:39 UTC, Toralf Förster
Details
environment (environment,20.00 KB, text/plain)
2021-12-10 16:39 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,42.79 KB, application/x-bzip)
2021-12-10 16:39 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.83 KB, application/x-bzip)
2021-12-10 16:39 UTC, Toralf Förster
Details
media-libs:libemf-1.0.13:20211210-163429.log (media-libs:libemf-1.0.13:20211210-163429.log,11.03 KB, text/plain)
2021-12-10 16:39 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,9.11 KB, application/x-bzip)
2021-12-10 16:39 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 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