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

Bug 638606

Summary: dev-libs/ace-5.8.3 : /.../os_sched.h:47:6: error: conflicting declaration typedef struct cpu_set_t cpu_set_t
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED OBSOLETE    
Severity: normal CC: cpp+disabled, jwillemsen, me, mmokrejs, scott
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Deadline: 2019-05-13   
Attachments: emerge-info.txt
dev-libs:ace-5.8.3:20171123-082759.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
Fix for broken ACE ebuilds in current
build.log.bz2 (multilib-strict check failed)
emerge --info '=dev-libs/ace-6.4.7::x-portage'

Description Toralf Förster gentoo-dev 2017-11-23 19:02:25 UTC
                 from /var/tmp/portage/dev-libs/ace-5.8.3/work/ACE_wrappers/ace/ACE.h:864,
                 from /var/tmp/portage/dev-libs/ace-5.8.3/work/ACE_wrappers/ace/ACE.cpp:3:
/var/tmp/portage/dev-libs/ace-5.8.3/work/ACE_wrappers/ace/os_include/os_sched.h:47:6: error: conflicting declaration ‘typedef struct cpu_set_t cpu_set_t’
    } cpu_set_t;
      ^~~~~~~~~
In file included from /usr/include/sched.h:44:0,

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

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

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

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

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



emerge -qpv dev-libs/ace
[ebuild  N    ] dev-libs/ace-5.8.3  USE="ipv6 libressl -X -ciao -static-libs -tao"
Comment 1 Toralf Förster gentoo-dev 2017-11-23 19:02:28 UTC
Created attachment 506022 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-23 19:02:31 UTC
Created attachment 506024 [details]
dev-libs:ace-5.8.3:20171123-082759.log
Comment 3 Toralf Förster gentoo-dev 2017-11-23 19:02:34 UTC
Created attachment 506026 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-11-23 19:02:37 UTC
Created attachment 506028 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-11-23 19:02:40 UTC
Created attachment 506030 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-23 19:02:43 UTC
Created attachment 506032 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-11-23 19:02:46 UTC
Created attachment 506034 [details]
temp.tbz2
Comment 8 Chris Faulkner 2018-05-13 16:11:49 UTC
Having the same issue, even regressed to previous version and still won't compile
Comment 9 Chris Faulkner 2018-05-24 14:57:39 UTC
Created attachment 532828 [details]
Fix for broken ACE ebuilds in current

put this in your ace portage and ebuild ace-6.4.7.ebuild digest
this should allow it to work
would be nice for the dev team to include this in the repo
Comment 10 Johnny Willemsen 2018-07-04 06:20:26 UTC
I would like to recommend to upgrade to ACE 6.5.0 which should fix this issue
Comment 11 Johnny Willemsen 2018-07-04 06:32:16 UTC
Comment on attachment 532828 [details]
Fix for broken ACE ebuilds in current

Can you update the homepage link to https://www.dre.vanderbilt.edu/~schmidt/ACE.html

Also try to not set TCPU and archmodelflag in platform_macros.GNU
Comment 12 Johnny Willemsen 2018-07-04 06:38:09 UTC
(In reply to Chris Faulkner from comment #9)
> Created attachment 532828 [details]
> Fix for broken ACE ebuilds in current
> 
> put this in your ace portage and ebuild ace-6.4.7.ebuild digest
> this should allow it to work
> would be nice for the dev team to include this in the repo

This is the best way to build ACE, not use configure, which is not available in the latest ACE versions anymore
Comment 13 Martin Mokrejš 2019-03-16 11:55:55 UTC
(In reply to Chris Faulkner from comment #9)
> Created attachment 532828 [details]
> Fix for broken ACE ebuilds in current
> 
> put this in your ace portage and ebuild ace-6.4.7.ebuild digest
> this should allow it to work
> would be nice for the dev team to include this in the repo

Compiles fine for me but then:

 * ERROR: dev-libs/ace-6.4.7::x-portage failed:
 *   multilib-strict check failed!
 * 
 * Call stack:
 *   misc-functions.sh, line 601:  Called install_qa_check
 *   misc-functions.sh, line 217:  Called source 'install_symlink_html_docs'
 *   80multilib-strict, line  46:  Called multilib_strict_check
 *   80multilib-strict, line  42:  Called die
 * The specific snippet of code:
 *   		[[ ${abort} == yes ]] && die "multilib-strict check failed!"
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/ace-6.4.7::x-portage'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/ace-6.4.7::x-portage'`.
 * The complete build log is located at '/scratch/var/tmp/portage/dev-libs/ace-6.4.7/temp/build.log'.
 * The ebuild environment file is located at '/scratch/var/tmp/portage/dev-libs/ace-6.4.7/temp/environment'.
 * Working directory: '/scratch/var/tmp/portage/dev-libs/ace-6.4.7/image'
 * S: '/scratch/var/tmp/portage/dev-libs/ace-6.4.7/work/ACE_wrappers'
!!! post install failed; exiting.
Comment 14 Martin Mokrejš 2019-03-16 11:59:18 UTC
Created attachment 569300 [details]
build.log.bz2 (multilib-strict check failed)
Comment 15 Martin Mokrejš 2019-03-16 11:59:55 UTC
Created attachment 569302 [details]
emerge --info '=dev-libs/ace-6.4.7::x-portage'
Comment 16 Chris Faulkner 2019-04-09 18:02:45 UTC
I was using an ebuild and it was working, seems like some changes in glibc or gcc has stopped my ebuild from working and would be really cool if someone could look into this a little further.  

I've run into the " multilib-strict check failed!" error.  Everything compiles fine but that the end when it's copying the files over is where it gets this error.

this is using ACE+TAO 6.5.0 and 6.5.5

I was running 6.5.0 with no issues before the glibc and gcc upgrades
Comment 17 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-05-15 20:44:17 UTC
dev-libs/ace has been removed.