Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256504 - dev-dotnet/taglib-sharp-2.0.3.1 fails to configure due --disable-docs not being passed with USE "-doc"
Summary: dev-dotnet/taglib-sharp-2.0.3.1 fails to configure due --disable-docs not bei...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Alfredsen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-27 09:11 UTC by Pacho Ramos
Modified: 2009-01-27 21:31 UTC (History)
0 users

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


Attachments
taglib-sharp.ebuild.diff (taglib-sharp.ebuild.diff,847 bytes, patch)
2009-01-27 09:12 UTC, Pacho Ramos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2009-01-27 09:11:17 UTC
I get:
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for gmcs... /usr/bin/gmcs
checking for mono... /usr/bin/mono
checking for gacutil... /usr/bin/gacutil
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for monodocer... no
configure: error: You need to install monodoc, or pass --disable-docs to configure to skip documentation installation

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-dotnet/taglib-sharp-2.0.3.1/work/taglib-sharp-2.0.3.1/config.log
 * 
 * ERROR: dev-dotnet/taglib-sharp-2.0.3.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line  794:  Called _eapi2_src_configure
 *               ebuild.sh, line  623:  Called econf
 *               ebuild.sh, line  529:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-dotnet/taglib-sharp-2.0.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-dotnet/taglib-sharp-2.0.3.1/temp/environment'.
 * 

At start of configure I can see that no "docs" option is being passed:
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu

My emerge --info:
Portage 2.1.6.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28-tuxonice-r1 x86_64)
=================================================================
System uname: Linux-2.6.28-tuxonice-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-glibc2.2.5
Timestamp of tree: Tue, 27 Jan 2009 08:30:08 +0000
distcc 3.0 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona -fomit-frame-pointer"
DISTDIR="/usr/distfiles"
FEATURES="autoaddcvs ccache collision-protect cvs distlocks fixpackages multilib-strict parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli consolekit cracklib crypt css cups daap dbus dell dirac divx djvu dts dvd dvdr dvdread dvi eds emboss emovix encode epiphany evo exif fam fbcondecor fbsplash ffmpeg flac fortran fuse galago gdbm gif glitz gmedia gnome gnome-keyring gpm gsm gstreamer gtk hal iconv ieee1394 ipv6 isdnlog java java6 jpeg jpeg2k kdeenablefinal kdehiddenvisibility kpathsea ladspa laptop latex lcms ldap libnotify lirc lzma mad midi mikmod mjpeg mmx mmxext mono moonlight mp3 mpeg mudflap multilib musepack musicbrainz nautilus ncurses network network-cron networkmanager nls nptl nptlonly ntp ogg opengl openmp pam pch pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline realmedia reflection scanner schroedinger sdl session smp sms speex spell spl sse sse2 sse3 ssl ssse3 startup-notification svg sysfs t1lib tcpd theora threads tiff totem truetype unicode usb v4l2 vcd vhook vorbis wmf wmp x264 xattr xcb xft xinetd xml xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2009-01-27 09:12:35 UTC
Created attachment 179869 [details, diff]
taglib-sharp.ebuild.diff

This fixes the issue. I need to use "myconf" stuff instead of $(use_enable doc docs) because taglib-sharp configure doesn't handle "--enable-docs" properly causing docs to be never built
Comment 2 Pacho Ramos gentoo-dev 2009-01-27 09:13:54 UTC
Well, also, inherit eutils is not needed, it comes from a previus test I tried before sending this.

In RDEP I specify monodoc >=2.0 as I have only tested with 2.0 and cannot ensure if if would work with previus versions
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2009-01-27 14:49:34 UTC
Thanks yet again Pacho :-)
+  27 Jan 2009; Peter Alfredsen <loki_val@gentoo.org>
+  taglib-sharp-2.0.3.1.ebuild:
+  Fix bug 256504, taglib-sharp erroneously demanding monodoc even though we
+  have sedded it out of makefiles. Thanks to Pacho Ramos
+  <pacho@condmat1.ciencias.uniovi.es> for reporting.
+

I solved it with the patch below. We're already disabling docs generation in makefiles because it's using some home-made tool to generate docs that doesn't work with mono-2.0+ 

--- taglib-sharp-2.0.3.1.ebuild	26 Jan 2009 15:35:37 -0000	1.2
+++ taglib-sharp-2.0.3.1.ebuild	27 Jan 2009 14:44:58 -0000
@@ -25,6 +25,10 @@
 		Makefile.in || die "sedding sense into makefiles failed"
 }
 
+src_configure() {
+	econf --disable-docs
+}
+
 src_install()  {
 	emake DESTDIR="${D}" install || die "emake install failed."
 	dodoc AUTHORS ChangeLog NEWS README
 
Comment 4 Pacho Ramos gentoo-dev 2009-01-27 21:31:47 UTC
OK, thanks for the info (and the fast fix :-D)