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

Bug 669212

Summary: games-action/dxx-rebirth-0.59.100 - ./dxxsconf.h:53:3: error: call to ‘dcx::vm_vec_sub_same_values’ declared with attribute error: vm_vec_sub with equal value inputs
Product: Gentoo Linux Reporter: Rob Tongue <robtongue>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: iansilvester, totktonada.ru
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=724882
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info
emerge -pqv

Description Rob Tongue 2018-10-21 15:59:21 UTC
Created attachment 552128 [details]
build.log

Nothing special about my system, just trying to get some old games working, and this is failing to build.  Any help would be appreciated.  I saw bug 653014 but appears unrelated.  Build log/emerge --info/emerge -pqv attached.
Comment 1 Rob Tongue 2018-10-21 15:59:53 UTC
Created attachment 552130 [details]
emerge --info
Comment 2 Rob Tongue 2018-10-21 16:00:13 UTC
Created attachment 552132 [details]
emerge -pqv
Comment 3 Rob Tongue 2018-10-21 17:49:49 UTC
I just built dxx-rebirth using upstream git head.  So this should just be a version bump request.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2018-10-24 06:13:42 UTC
In function ‘dcx::vms_vector& dcx::vm_vec_sub(dcx::vms_vector&, const dcx::vms_vector&, const dcx::vms_vector&)’,
    inlined from ‘void d2x::apply_light(g3s_lrgb, d2x::vcsegptridx_t, const dcx::vms_vector&, int, std::array<int, 36000>&, const std::array<short unsigned int, 36000>&, objnum_t)’ at common/include/vecmat.h:284:39:
./dxxsconf.h:53:3: error: call to ‘dcx::vm_vec_sub_same_values’ declared with attribute error: vm_vec_sub with equal value inputs
  F(); \
common/include/vecmat.h:275:3: note: in expansion of macro ‘DXX_ALWAYS_ERROR_FUNCTION’
   DXX_ALWAYS_ERROR_FUNCTION(vm_vec_sub_same_values, "vm_vec_sub with equal value inputs");
   ^~~~~~~~~~~~~~~~~~~~~~~~~
Comment 5 Ian Silvester 2020-05-22 12:44:16 UTC
This bug is likely caused by compiling with the wrong version of gcc. I worked out (through process of elimination) that this ebuild only compiles with gcc 6.5.0.

I am in the process of bringing the ebuilds for this games up to date - in theory when this bug closes it will be because there is a more recent ebuild in the tree that support current gcc (9.3.0).
Comment 6 Larry the Git Cow gentoo-dev 2020-09-15 08:44:01 UTC
The bug has been closed via the following commit(s):

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

commit 71d1dfc95b4248348d2b55dd5cbe28b6c2b5856b
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2020-09-14 21:09:12 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2020-09-15 08:43:45 +0000

    games-action/dxx-rebirth: Drop old 0.59.100
    
    Closes: https://bugs.gentoo.org/669212
    Closes: https://bugs.gentoo.org/703090
    Closes: https://bugs.gentoo.org/735534
    Package-Manager: Portage-3.0.6, Repoman-3.0.1
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-action/dxx-rebirth/Manifest                  |   8 --
 .../dxx-rebirth/dxx-rebirth-0.59.100.ebuild        | 108 ---------------------
 .../files/dxx-rebirth-0.59.100-flags.patch         |  10 --
 ...-rebirth-0.59.100-physfs-3-no-deprecation.patch |  30 ------
 .../files/dxx-rebirth-0.59.100-sharepath.patch     |  11 ---
 games-action/dxx-rebirth/metadata.xml              |   3 -
 6 files changed, 170 deletions(-)