Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488036 - =sys-apps/dbus-1.6.18 - i686-w64-mingw32-gcc: error: unrecognized command line option '-rdynamic'
Summary: =sys-apps/dbus-1.6.18 - i686-w64-mingw32-gcc: error: unrecognized command lin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-10-14 18:10 UTC by Bertrand Jacquin
Modified: 2013-11-30 14:02 UTC (History)
1 user (show)

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


Attachments
emerge --info (info.log,17.09 KB, text/x-log)
2013-10-14 18:12 UTC, Bertrand Jacquin
Details
build.log (build.log,6.21 KB, text/x-log)
2013-10-14 18:12 UTC, Bertrand Jacquin
Details
config.log (config.log,17.22 KB, text/x-log)
2013-10-14 18:12 UTC, Bertrand Jacquin
Details
dbus-1.6.16.ebuild-rdynamic.diff (dbus-1.6.16.ebuild-rdynamic.diff,432 bytes, patch)
2013-10-14 18:14 UTC, Bertrand Jacquin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2013-10-14 18:10:48 UTC
Cross compiling sys-apps/dbus-1.6.16 for i686-w64-mingw32 fail in src_configure with the following error :

checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/sys-apps/dbus-1.6.16/work/dbus-1.6.16-build':
configure: error: C compiler cannot create executables
See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-apps/dbus-1.6.16/work/dbus-1.6.16-build/config.log
 * ERROR: sys-apps/dbus-1.6.16::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 4705:  Called econf '--disable-silent-rules' '--localstatedir=/var' '--docdir=/usr/share/doc/dbus-1.6.16' '--htmldir=/usr/share/doc/dbus-1.6.16/html' '--enable-static' '--disable-verbose-mode' '--disable-asserts' '--disable-checks' '--disable-selinux' '--disable-libaudit' '--enable-inotify' '--disable-kqueue' '--disable-systemd' '--disable-embedded-tests' '--disable-modular-tests' '--disable-stats' '--with-xml=expat' '--with-session-socket-dir=/tmp' '--with-system-pid-file=/var/run/dbus.pid' '--with-system-socket=/var/run/dbus/system_bus_socket' '--with-dbus-user=messagebus' '--without-x' '--with-systemdsystemunitdir=/usr/lib/systemd/system' '--disable-xml-docs' '--disable-doxygen-docs'
 *   phase-helpers.sh, line  577:  Called die
 * The specific snippet of code:
 *                      die "econf failed"

ebuild add a -rdynamic that is only supported for ELF binaries.

Attached, full log, emerge --info and patch proposal for ebuild

Reproducible: Always

Steps to Reproduce:
1. crossdev -S -t i686-w64-mingw32
2. i686-w64-mingw32-emerge -va1t =sys-apps/dbus-1.6.16::gentoo
3.
Comment 1 Bertrand Jacquin 2013-10-14 18:12:00 UTC
Created attachment 360894 [details]
emerge --info
Comment 2 Bertrand Jacquin 2013-10-14 18:12:11 UTC
Created attachment 360896 [details]
build.log
Comment 3 Bertrand Jacquin 2013-10-14 18:12:21 UTC
Created attachment 360898 [details]
config.log
Comment 4 Bertrand Jacquin 2013-10-14 18:14:29 UTC
Created attachment 360900 [details, diff]
dbus-1.6.16.ebuild-rdynamic.diff

patch for ebuild
Comment 5 Bertrand Jacquin 2013-11-30 09:47:04 UTC
This still apply for =sys-apps/dbus-1.6.18
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2013-11-30 12:41:58 UTC
(In reply to Bertrand Jacquin from comment #4)
> Created attachment 360900 [details, diff] [details, diff]
> dbus-1.6.16.ebuild-rdynamic.diff
> 
> patch for ebuild

I applied this patch to 1.6.18-r1 (slightly modified, but in effect, the same)
I don't know much about mingw, so I'm taking your word for this one
Comment 7 Bertrand Jacquin 2013-11-30 14:02:53 UTC
(In reply to Samuli Suominen from comment #6)

> I applied this patch to 1.6.18-r1 (slightly modified, but in effect, the
> same)
> I don't know much about mingw, so I'm taking your word for this one

Applied patch is fine for me. Thanks dude