Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380045 - monodevelop-debugger-gdb doesn't emerge on AMD64 - due to problem in monodevelop-debugger
Summary: monodevelop-debugger-gdb doesn't emerge on AMD64 - due to problem in monodeve...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Alistair Bush (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-21 08:53 UTC by stephen.thomas
Modified: 2011-09-09 19:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stephen.thomas 2011-08-21 08:53:16 UTC
monodevelop-debugger-gdb doesn't build because it appears that the package config files for monodevelop are being put in /usr/lib/pkgconfig/

-rw-r--r-- 1 root root 1525 Aug 20 18:08 monodevelop-core-addins.pc
-rw-r--r-- 1 root root  627 Aug 20 18:08 monodevelop.pc

instead of /usr/lib64/pkgconfig/ which is the correct place for AMD64.

This is the output on AMD64.
>>> Emerging (1 of 1) dev-util/monodevelop-debugger-gdb-2.5.93
openpty failed: 'out of pty devices'
 * monodevelop-debugger-gdb-2.5.93.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                         [ ok ]
>>> Unpacking source...
>>> Unpacking monodevelop-debugger-gdb-2.5.93.tar.bz2 to /usr/portage/distfiles/qc/portage/dev-util/monodevelop-debugger-gdb-2.5.93/work
>>> Source unpacked in /usr/portage/distfiles/qc/portage/dev-util/monodevelop-debugger-gdb-2.5.93/work
>>> Preparing source in /usr/portage/distfiles/qc/portage/dev-util/monodevelop-debugger-gdb-2.5.93/work/monodevelop-debugger-gdb-2.5.93 ...
>>> Source prepared.
>>> Configuring source in /usr/portage/distfiles/qc/portage/dev-util/monodevelop-debugger-gdb-2.5.93/work/monodevelop-debugger-gdb-2.5.93 ...
Looking for required packages
Checking for package 'monodevelop'.. ERROR: Package named 'monodevelop' >= 2.5.93 not found.
Try adjusting your PKG_CONFIG_PATH environment variable.
 * ERROR: dev-util/monodevelop-debugger-gdb-2.5.93 failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_configure
 *   environment, line 2515:  Called die
 * The specific snippet of code:
 *       ./configure --prefix=/usr || die "configure failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-util/monodevelop-debugger-gdb-2.5.93',
 * the complete build log and the output of 'emerge -pqv =dev-util/monodevelop-debugger-gdb-2.5.93'.
 * The complete build log is located at '/usr/portage/distfiles/qc/portage/dev-util/monodevelop-debugger-gdb-2.5.93/temp/build.log'.


Reproducible: Always

Steps to Reproduce:
1. get an AMD64 multilib system up and running 
2. emerge monodevelop-debugger-gdb
3. fails because the pkg-config files are in the wrong place



There is another bug out there which is quite general saying that /usr/lib should not be used etc according to some standard, but this is a problem in the monodevelop itself.
Comment 1 Alistair Bush (RETIRED) gentoo-dev 2011-08-21 10:44:58 UTC
Could you test this patch for me.  Pretty confident it will work, but don't have a non-multilib system.

--- monodevelop-2.5.93.ebuild   2011-08-21 22:40:53.350663074 +1200
+++ monodevelop-2.5.93-r1.ebuild        2011-08-21 22:39:16.810393303 +1200
@@ -65,6 +65,7 @@
 src_install() {
        emake DESTDIR="${D}" install || die "install failed"
        dodoc ChangeLog README || die "dodoc failed"
+       mono_multilib_comply
 }
 
 pkg_postinst() {
Comment 2 stephen.thomas 2011-08-27 10:25:46 UTC
Actually I thought it would work, but I have -doc in the FEATURES. This is what I get.

make  install-data-hook
make[3]: Entering directory `/usr/portage/distfiles/qc/portage/dev-util/monodevelop-2.5.93/work/monodevelop-2.5.93'
make[3]: Nothing to be done for `install-data-hook'.
make[3]: Leaving directory `/usr/portage/distfiles/qc/portage/dev-util/monodevelop-2.5.93/work/monodevelop-2.5.93'
make[2]: Leaving directory `/usr/portage/distfiles/qc/portage/dev-util/monodevelop-2.5.93/work/monodevelop-2.5.93'
make[1]: Leaving directory `/usr/portage/distfiles/qc/portage/dev-util/monodevelop-2.5.93/work/monodevelop-2.5.93'
!!! dodoc: ChangeLog does not exist
!!! dodoc: README does not exist
dodoc failed
 * ERROR: dev-util/monodevelop-2.5.93 failed (install phase):
 *   dodoc failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_install
 *   environment, line 2776:  Called die
 * The specific snippet of code:
Comment 3 Pacho Ramos gentoo-dev 2011-08-27 19:07:22 UTC
Last one is a different (and easy to fix :D) problem, I guess original one is solved with Ali's patch, no?
Comment 4 stephen.thomas 2011-08-27 21:30:41 UTC
Yes, I think so :)
> Last one is a different (and easy to fix :D) problem, I guess original one is
> solved with Ali's patch, no?
Comment 5 stephen.thomas 2011-09-09 19:51:06 UTC
Should be fixed.