Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726800 - sys-libs/ncurses-6.1-r3 fails to build on cygwin
Summary: sys-libs/ncurses-6.1-r3 fails to build on cygwin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-02 17:34 UTC by Alexey
Modified: 2020-06-03 13:50 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,972.85 KB, text/x-log)
2020-06-02 17:41 UTC, Alexey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2020-06-02 17:34:46 UTC
This is continuation of https://bugs.gentoo.org/726462 and https://bugs.gentoo.org/726332 but the issue is separate
Now I'm at the @system rebuild stage.

>>>  '/home/q/gentoo/var/tmp/portage/sys-libs/ncurses-6.1-r3/temp/build.log'

 * Messages for package sys-libs/ncurses-6.1-r3:

 * gen_usr_ldscript: Please migrate to usr-ldscript.eclass
 * ERROR: sys-libs/ncurses-6.1-r3::gentoo_prefix failed (preinst phase):
 *   Merging pending files into rebase database failed.
 *
 * Call stack:
 *        ebuild.sh, line 125:  Called __call-ebuildshell 'post_pkg_preinst'
 *        ebuild.sh, line 526:  Called post_pkg_preinst
 *   profile.bashrc, line  16:  Called cygwin-post_pkg_preinst
 *   profile.bashrc, line  28:  Called cygwin-rebase-post_pkg_preinst
 *   profile.bashrc, line 102:  Called cygwin-rebase-merge 'pending'
 *   profile.bashrc, line 197:  Called die
 * The specific snippet of code:
 *      [[ $? == 0 ]] || die "Merging ${mode} files into rebase database failed."
 *
 * If you need support, post the output of `emerge --info '=sys-libs/ncurses-6.1-r3::gentoo_prefix'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/ncurses-6.1-r3::gentoo_prefix'`.
 * The complete build log is located at '/home/q/gentoo/var/tmp/portage/sys-libs/ncurses-6.1-r3/temp/build.log'.
 * The ebuild environment file is located at '/home/q/gentoo/var/tmp/portage/sys-libs/ncurses-6.1-r3/temp/environment'.
 * Working directory: '/home/q/gentoo/var/tmp/portage/sys-libs/ncurses-6.1-r3/homedir'
 * S: '/home/q/gentoo/var/tmp/portage/sys-libs/ncurses-6.1-r3/work/ncurses-6.1'

 * GNU info directory index is up-to-date.

Oh yeah, I thought I was almost there, and then this!  I did
  emerge -e system
and it failed at some point :(  Details might be found in the build log:
  /home/q/gentoo/var/tmp/portage/dev-util/itstool-2.0.6-r1/temp/build.log
  /home/q/gentoo/var/tmp/portage/sys-libs/ncurses-6.1-r3/temp/build.log
I have no clue, really.  Please find friendly folks in #gentoo-prefix on
irc.gentoo.org, gentoo-alt@lists.gentoo.org mailing list, or file a bug
at bugs.gentoo.org under Gentoo/Alt, Prefix Support.
You know, I got the feeling you just started to like me, but I guess
that's all gone now.  I'll bother you no longer.
Comment 1 Alexey 2020-06-02 17:41:04 UTC
Created attachment 643150 [details]
build.log
Comment 2 Michael Haubenwallner (RETIRED) gentoo-dev 2020-06-03 08:14:39 UTC
(In reply to Alexey from comment #0)

>  * ERROR: sys-libs/ncurses-6.1-r3::gentoo_prefix failed (preinst phase):
>  *   Merging pending files into rebase database failed.

At the company we are struggling with this problem as well, it is because the directory EPREFIX/var/db/rebase/pending/ is lost for yet unknown reason.
Comment 3 Larry the Git Cow gentoo-dev 2020-06-03 13:50:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=242a84765384452152b13921659f69f60612b9d6

commit 242a84765384452152b13921659f69f60612b9d6
Author:     Michael Haubenwallner <haubi@gentoo.org>
AuthorDate: 2020-06-03 08:15:04 +0000
Commit:     Michael Haubenwallner <haubi@gentoo.org>
CommitDate: 2020-06-03 13:50:24 +0000

    cygwin/profile.bashrc: preserve pending dir for cygwin rebase
    
    During cygwin rebase, moving all files from pending/ dir to merged/ dir
    also does move the keepdir file, causing the pending/ dir to get empty.
    Closes: https://bugs.gentoo.org/726800
    
    Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>

 profiles/prefix/windows/cygwin/profile.bashrc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)