I'm trying to update an ebuild for Gentoo - specifically, so I can put Liquidsoap on my distro, Gentoo Studio. The ebuild I'm using was written for 1.0.1, and I'm trying to get it working for 1.1.1. I can bootstrap, configure and make manually, so I know my system has all the requirements met.
The ebuild I have so far ends compile like this: ****** Configuring ocaml-cry-0.2.2 ./configure --with-cry-dir=../ocaml-cry-0.2.2/src --prefix=/usr --build=x86_64-pc-linux-gnu --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 --with-user=liquidsoap --with-group=liquidsoap --localstatedir=/var --with-default-font=/usr/share/fonts/dejavu/DejaVuSans.ttf --without-gstreamer-dir --without-ao-dir --without-schroedinger-dir --without-faad-dir --without-gavl-dir --without-camlimages-dir --without-ladspa-dir --without-lastfm-dir --without-portaudio-dir --without-pulseaudio-dir --disable-graphics --without-speex-dir --without-theora-dir --enable-camomile --without-voaacenc-dir --without-xmlplaylist-dir configure: WARNING: unrecognized options: --with-cry-dir, --with-user, --with-group, --with-default-font, --without-gstreamer-dir, --without-ao-dir, --without-schroedinger-dir, --without-faad-dir, --without-gavl-dir, --without-camlimages-dir, --without-ladspa-dir, --without-lastfm-dir, --without-portaudio-dir, --without-pulseaudio-dir, --disable-graphics, --without-speex-dir, --without-theora-dir, --enable-camomile, --without-voaacenc-dir, --without-xmlplaylist-dir configuring ocaml-cry 0.2.2 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c checking that calling user is not root... ok checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ocamlc... no checking for ocamlc... ocamlc OCaml version is 4.02.3 checking if ocaml compiler supports first-class modules... yes OCaml library path is /usr/lib64/ocaml checking for x86_64-pc-linux-gnu-ocamlopt... no configure: WARNING: Cannot find ocamlopt; bytecode compilation only. checking for x86_64-pc-linux-gnu-ocamlc.opt... no checking for x86_64-pc-linux-gnu-ocaml... no checking for x86_64-pc-linux-gnu-ocamldep... no configure: error: Cannot find ocamlmklib. Obviously, the problem is in the ebuild, as I can make manually just fine. Here's the ebuild: ---------------------------- # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ ## Will not build with ocaml-gstreamer # File "io/gstreamer_io.ml", line 23, characters 0-14: # Error: Unbound module Gstreamer # ## ./configure finds GD and SDL no matter what, so they're not ## optional EAPI=4 inherit autotools eutils findlib systemd user DESCRIPTION="A swiss-army knife for multimedia streaming, notably used for netradios." HOMEPAGE="http://liquidsoap.fm/" SRC_URI="mirror://sourceforge/savonet/${P}-full.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="aacplus alsa ao doc dirac dssi faad +flac gavl graphics jack json ladspa +lame lastfm libsamplerate +mad osc portaudio pulseaudio +shout soundtouch speex speech +taglib theora +unicode video voaac +vorbis xml" RDEPEND="dev-lang/ocaml >=dev-ml/ocaml-dtools-0.3.0 dev-ml/ocaml-duppy dev-ml/ocaml-magic dev-ml/ocaml-mm dev-ml/pcre-ocaml dev-ml/gd4o dev-ml/ocamlsdl[truetype] media-fonts/dejavu media-libs/sdl-ttf aacplus? ( dev-ml/ocaml-aacplus ) alsa? ( dev-ml/ocaml-alsa ) ao? ( dev-ml/ocaml-ao ) dirac? ( dev-ml/ocaml-schroedinger ) doc? ( dev-perl/XML-DOM ) dssi? ( dev-ml/ocaml-dssi ) faad? ( dev-ml/ocaml-faad ) flac? ( dev-ml/ocaml-flac ) gavl? ( dev-ml/ocaml-gavl ) graphics? ( dev-ml/camlimages ) jack? ( dev-ml/ocaml-bjack ) json? ( dev-ml/yojson ) ladspa? ( dev-ml/ocaml-ladspa ) lame? ( dev-ml/ocaml-lame ) lastfm? ( dev-ml/ocaml-lastfm ) libsamplerate? ( dev-ml/ocaml-samplerate ) mad? ( dev-ml/ocaml-mad ) osc? ( dev-ml/ocaml-lo ) portaudio? ( dev-ml/ocaml-portaudio ) pulseaudio? ( dev-ml/ocaml-pulseaudio ) shout? ( dev-ml/ocaml-cry ) soundtouch? ( dev-ml/ocaml-soundtouch ) speech? ( app-accessibility/festival media-sound/sox media-sound/normalize ) speex? ( dev-ml/ocaml-speex dev-ml/ocaml-ogg ) taglib? ( dev-ml/ocaml-taglib ) theora? ( dev-ml/ocaml-theora ) unicode? ( dev-ml/camomile ) voaac? ( dev-ml/ocaml-voaacenc ) vorbis? ( dev-ml/ocaml-vorbis\ dev-ml/ocaml-ogg ) xml? ( dev-ml/ocaml-xmlplaylist )" DEPEND="${RDEPEND} dev-ml/findlib virtual/pkgconfig dev-ml/ocaml-mad dev-ml/ocaml-cry" S=${WORKDIR}/${P}-full pkg_setup() { use doc || ewarn "The doc use flag is unset, html documentation will not be included." enewgroup ${PN} enewuser ${PN} -1 -1 /var/run/liquidsoap ${PN},audio } src_prepare() { #einfo "Sandboxing Makefile.defs.in ..." #sed -i 's/@exec_prefix@/${DESTDIR}@exec_prefix@/g' Makefile.defs.in #sed -i 's/@libdir@/${DESTDIR}@libdir@/'g Makefile.defs.in #sed -i 's/@mandir@/${DESTDIR}@mandir@/'g Makefile.defs.in #sed -i 's/@sysconfdir@/${DESTDIR}@sysconfdir@/'g Makefile.defs.in #sed -i 's/@localstatedir@/${DESTDIR}@localstatedir@/'g Makefile.defs.in #sed -i 's/@datarootdir@/${DESTDIR}@datarootdir@/'g Makefile.defs.in #sed -i 's/@datadir@/${DESTDIR}@datadir@/'g Makefile.defs.in #einfo "Replacing tool check macros ..." #sed -i 's/AC_CHECK_TOOL_STRICT/AC_CHECK_TOOL/g' m4/ocaml.m4 #AT_M4DIR="m4" eautoreconf -f -i cp PACKAGES.default PACKAGES eautomake } # Internal functions liquidsoap_use() { if use $1; then return 0 else echo "--without-$1-dir" fi } liquidsoap_use_as() { if use $1; then return 0 else echo "--without-$2-dir" fi } src_configure() { econf \ --with-user="${PN}" \ --with-group="${PN}" \ --localstatedir="/var" \ --with-default-font=/usr/share/fonts/dejavu/DejaVuSans.ttf \ --without-gstreamer-dir \ $(liquidsoap_use aacplus) \ $(liquidsoap_use alsa) \ $(liquidsoap_use ao) \ $(liquidsoap_use_as dirac schroedinger) \ $(liquidsoap_use dssi) \ $(liquidsoap_use faad) \ $(liquidsoap_use flac) \ $(liquidsoap_use gavl) \ $(liquidsoap_use_as graphics camlimages) \ $(liquidsoap_use_as jack bjack) \ $(liquidsoap_use ladspa) \ $(liquidsoap_use lame) \ $(liquidsoap_use lastfm) \ $(liquidsoap_use_as libsamplerate samplerate) \ $(liquidsoap_use mad) \ $(liquidsoap_use_as osc lo) \ $(liquidsoap_use portaudio) \ $(liquidsoap_use pulseaudio) \ $(use_enable graphics) \ $(liquidsoap_use_as shout cry) \ $(liquidsoap_use soundtouch) \ $(liquidsoap_use speex) \ $(liquidsoap_use taglib) \ $(liquidsoap_use theora) \ $(use_enable unicode camomile) \ $(liquidsoap_use_as voaac voaacenc) \ $(liquidsoap_use vorbis) \ $(liquidsoap_use_as xml xmlplaylist) ## checks for python and pygtk, but hopefully ## things wont break if they're missing } src_install() { findlib_src_install keepdir /etc/${PN} /var/log/${PN} newinitd "${FILESDIR}/liquidsoap.runscript" ${PN} systemd_newunit "${FILESDIR}/liquidsoap-at.service" "[email protected]" dodoc CHANGES README if use doc; then emake doc dohtml -r doc/html/* fi } pkg_postinst() { if use doc; then elog "For comprehensive documentation see" elog "file:///usr/share/doc/${P}/html/index.html" fi } -------------------- I would appreciate any help. ------------------------------------------------------------------------------ _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
