Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296569 - sys-libs/ncurses fails to build for mingw32 targets due to missing shared-dll logic
Summary: sys-libs/ncurses fails to build for mingw32 targets due to missing shared-dll...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 527602 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-11 23:40 UTC by vbe
Modified: 2014-10-31 16:13 UTC (History)
2 users (show)

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


Attachments
build log of failed emerge (build.log,144.78 KB, text/plain)
2009-12-11 23:41 UTC, vbe
Details
environment of failed emerge (environment,99.59 KB, text/plain)
2009-12-11 23:41 UTC, vbe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vbe 2009-12-11 23:40:20 UTC
Hi,

Following the instructions in "Gentoo Embedded Handbook", I tried to emerge sys-libs/ncurses with no success.

Emerge fails at the configure step with the following error:
configure: error: Shared libraries are not supported in this version

I tried to remove '--with-shared' from the ebuild, it passes the configure step then but failed with another error at compile time.
I also tried to emerge binutils with no success :(

Not sure this is the right place to report this, if not, please redirect.

Reproducible: Always
Steps to Reproduce:
1. i686-mingw32-emerge --root-deps=rdeps -v ncurses
2.
3.
Actual Results:  
sys-libs/ncurses doesn't configure itself correctly.

Expected Results:  
Installation of ncurses lib.

gentoo64 ~ # i686-mingw32-emerge --info
Portage 2.1.6.13 (embedded, gcc-4.4.2, unavailable, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 11 Dec 2009 22:15:03 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -pipe -march=i686 -fomit-frame-pointer -I/usr/i686-mingw32/usr/include/ -I/usr/i686-mingw32/include/"
CHOST="i686-mingw32"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -pipe -march=i686 -fomit-frame-pointer -I/usr/i686-mingw32/usr/include/ -I/usr/i686-mingw32/include/"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
LDFLAGS="-L/usr/i686-mingw32/lib -L/usr/i686-mingw32/usr/lib"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/i686-mingw32/packages/"
PORTAGE_CONFIGROOT="/usr/i686-mingw32/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/i686-mingw32/tmp/"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 bindist kdrive make-symlinks minimal modules multicall openmp unicode zlib" ELIBC="__LIBC__" INPUT_DEVICES="evdev mouse keyboard tslib" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 vbe 2009-12-11 23:41:23 UTC
Created attachment 212751 [details]
build log of failed emerge
Comment 2 vbe 2009-12-11 23:41:55 UTC
Created attachment 212753 [details]
environment of failed emerge
Comment 3 Thomas Dickey 2009-12-22 10:07:01 UTC
I don't know how to build mingw shared libraries in a cross-compile,
so that would be unsupported (patches welcome...).  For the other,
the build-problem when omitting --with-shared isn't described.
That might be some problem with the ebuild setting up the host
compiler - or it might simply be that it's using a function that
mingw doesn't support.
Comment 4 SpanKY gentoo-dev 2014-10-31 16:08:56 UTC
*** Bug 527602 has been marked as a duplicate of this bug. ***
Comment 5 Luke-Jr 2014-10-31 16:13:53 UTC
FWIW, #527602 includes a patch that at least lets ncurses cross-compile for MinGW targets. (note it isn't stable yet there, though)