| Summary: | gtk2hs-0.9.10.ebuild doesn't handle "glade" dependency correctly | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Glynn Clements <glynn> |
| Component: | [OLD] Development | Assignee: | Gentoo's Haskell Language team <haskell> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Patch for ebuild | ||
Created attachment 74121 [details, diff]
Patch for ebuild
This should already be fixed. Try emerge sync. Since 12 Nov 05 the ebuild does this: $(use glade || use gnome && echo --enable-libglade) \ rather than $(use_enable glade libglade) \ $(use_enable gnome libglade) \ Please re-open this bug if emerge sync does not fix it for you. Sorry for wasting your time Glynn. *** This bug has been marked as a duplicate of 112227 *** |
The configuration step in src_compile() does this: econf \ [snip] $(use_enable glade libglade) \ $(use_enable gnome libglade) \ When using the glade USE flag without the gnome USE flag, this results in the configuration switches: --enable-libglade --disable-libglade which results in glade being disabled. However, src_install() does: ghc-setup-pkg \ [snip] $(use glade || use gnome && echo \ "${D}/usr/$(get_libdir)/gtk2hs/glade.${pkgext}") \ so ghc-setup-pkg (in ghc-package.eclass) still tries to set up the package, causing the build to fail. Reproducible: Always Steps to Reproduce: 1. USE='glade -gnome' emerge =dev-haskell/gtk2hs-0.9.10 Actual Results: emerge fails with: /usr/portage/eclass/ghc-package.eclass: line 137: /var/tmp/portage/gtk2hs-0.9.10/image//usr/lib/gtk2hs/glade.pkg: No such file or directory !!! ERROR: dev-haskell/gtk2hs-0.9.10 failed. !!! Function ghc-setup-pkg, Line 138, Exitcode 1 !!! failed to register /var/tmp/portage/gtk2hs-0.9.10/image//usr/lib/gtk2hs/glade.pkg !!! If you need support, post the topmost build error, NOT this status message. * Failed merging dev-haskell/gtk2hs-0.9.8-r1 (2/6)! Gentoo Base System version 1.6.13 Portage 2.0.51.22-r3 (default-linux/x86/2005.0/2.4, gcc-3.3.6, glibc-2.3.5-r2, 2.4.30 i686) ================================================================= System uname: 2.4.30 i686 Pentium III (Coppermine) dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-O2 -mcpu=pentium3 -pipe" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks noauto sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="C" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X X509 alsa apm avi berkdb bitmap-fonts cdr crypt curl doc eds emboss encode esd flac foomaticdb fortran gd gdbm gif gstreamer gtk gtk2 imlib jack jpeg libg++ libwww mad mbox mikmod motif mp3 mpeg ncurses odbc ogg oggvorbis opengl oss pam pdflib perl png postgres python quicktime readline samba sdl slang speex spell ssl symlink tcpd tiff truetype truetype-fonts type1-fonts vorbis xine xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS