gentoo / dlang

[MIRROR] D programming language ebuild repository

Home Page:https://gitweb.gentoo.org/repo/user/dlang.git

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build failing for DMD

baklava151 opened this issue · comments

DMD 2.080.1 and 2.078.3 are failing to build with the following error

 * Package:    dev-lang/dmd-2.078.3
 * Repository: dlang
 * USE:        abi_x86_32 abi_x86_64 amd64 elibc_glibc kernel_linux selfhost userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking dmd.2.078.3.linux.tar.xz to /var/tmp/portage/dev-lang/dmd-2.078.3/work
>>> Source unpacked in /var/tmp/portage/dev-lang/dmd-2.078.3/work
>>> Preparing source in /var/tmp/portage/dev-lang/dmd-2.078.3/work/dmd2 ...
 * Applying 2.078-allow-deprecations.patch ...                                                                                                                                                          [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lang/dmd-2.078.3/work/dmd2 ...
 * ERROR: dev-lang/dmd-2.078.3::dlang failed (configure phase):
 *   _ver_compare: invalid version: selfhost
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 3481:  Called dlang_src_configure
 *   environment, line 1118:  Called __dlang_phase_wrapper 'configure'
 *   environment, line  454:  Called dlang_single_config 'dlang_phase' 'configure'
 *   environment, line 1110:  Called __dlang_use_build_vars 'dlang_phase' 'configure'
 *   environment, line  546:  Called dlang_convert_ldflags
 *   environment, line 1006:  Called ver_test 'selfhost' '-lt' '2.072'
 *   environment, line 4329:  Called _ver_compare 'selfhost' '2.072'
 *   environment, line  768:  Called die
 * The specific snippet of code:
 *       [[ ${va} =~ ${re} ]] || die "${FUNCNAME}: invalid version: ${va}";
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/dmd-2.078.3::dlang'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/dmd-2.078.3::dlang'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/dmd-2.078.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/dmd-2.078.3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/dmd-2.078.3/work/dmd2'
 * S: '/var/tmp/portage/dev-lang/dmd-2.078.3/work/dmd2'

Have absolutely the same problem since yesterday evening's emerge @world - here with dmd-2.074-r1, see attached file.
dmd_274_emerge_error.txt

commented

I see the same errors with dmd-2.074.1-r3.

Thanks guys, I can reproduce it. The switch from versionator.eclass to eapi7-ver.eclass is likely causing it.