public inbox for gentoo-desktop@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-desktop] kde-sunset: avahi-0.6.30-r1 Failed Running automake
@ 2012-01-19 10:28 Dominique Michel
  2012-01-19 11:05 ` Dominique Michel
  0 siblings, 1 reply; 2+ messages in thread
From: Dominique Michel @ 2012-01-19 10:28 UTC (permalink / raw
  To: gentoo-desktop

When merging avahi-0.6.30-r1 from kde-sunset, I get the following error:

* Running automake --add-missing --copy
  --foreign ...                              [ !! ]

cat /var/tmp/portage/net-dns/avahi-0.6.30-r1/temp/automake.out
***** automake *****
***** PWD: /var/tmp/portage/net-dns/avahi-0.6.30-r1/work/avahi-0.6.30
***** automake --add-missing --copy --foreign

configure.ac:143: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is
expanded from... ../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE
is expanded from... ../../lib/autoconf/general.m4:2607:
AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:606:
AS_IF is expanded from... ../../lib/autoconf/general.m4:2032:
AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2053:
AC_CACHE_CHECK is expanded from... configure.ac:143: the top level
configure.ac:300: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is
expanded from... configure.ac:300: the top level
service-type-database/Makefile.am:21: `pkglibdir' is not a legitimate
directory for `DATA'

# emerge -pqv =net-dns/avahi-0.6.30-r1
[ebuild     UD] net-dns/avahi-0.6.30-r1 [0.6.30-r3] USE="autoipd dbus
gdbm gtk gtk3 introspection ipv6 mdnsresponder-compat python qt3%*
-bookmarks -doc -howl-compat -mono -qt4 -test -utils"

It is on an ~amd64 system. Output of emerge --info
=net-dns/avahi-0.6.30-r1
http://pastebin.com/mzwZASrb

Ciao,
Dominique

-- 
"We have the heroes we deserve."



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-desktop] kde-sunset: avahi-0.6.30-r1 Failed Running automake
  2012-01-19 10:28 [gentoo-desktop] kde-sunset: avahi-0.6.30-r1 Failed Running automake Dominique Michel
@ 2012-01-19 11:05 ` Dominique Michel
  0 siblings, 0 replies; 2+ messages in thread
From: Dominique Michel @ 2012-01-19 11:05 UTC (permalink / raw
  To: gentoo-desktop

[-- Attachment #1: Type: text/plain, Size: 468 bytes --]

Le Thu, 19 Jan 2012 11:28:48 +0100,
Dominique Michel <dominique.michel@vtxnet.ch> a écrit :

> When merging avahi-0.6.30-r1 from kde-sunset, I get the following
> error:
> 
> * Running automake --add-missing --copy
>   --foreign ...                              [ !! ]

OK, I get it to work by applying the changes from
avahi-0.6.30-r3 portage ebuild. The joined file is a diff of the
changes.

Ciao,
Dominique

-- 
"We have the heroes we deserve."

[-- Attachment #2: avahi-06.30-r1-r3.diff --]
[-- Type: text/x-patch, Size: 1094 bytes --]

--- avahi-0.6.30-r1.ebuild	2011-10-30 13:08:57.000000000 +0100
+++ avahi-0.6.30-r3.ebuild	2012-01-19 11:50:30.000000000 +0100
@@ -101,6 +101,16 @@
 	# Make gtk utils optional
 	epatch "${FILESDIR}/${PN}-0.6.30-optional-gtk-utils.patch"
 
+	#Fix init scripts
+	epatch "${FILESDIR}/${PN}-0.6.x-openrc-0.9.x-init-scripts-fixes.patch"
+
+	sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED=1::g' avahi-ui/Makefile.am || die
+
+	# Prevent .pyc files in DESTDIR
+	>py-compile
+
+	epatch "${FILESDIR}"/${P}-automake-1.11.2.patch #397477
+
 	eautoreconf
 }
 
@@ -162,7 +172,7 @@
 }
 
 src_install() {
-	emake install py_compile=true DESTDIR="${D}" || die "make install failed"
+	emake install DESTDIR="${D}" || die "make install failed"
 	use bookmarks && use python && use dbus && use gtk || \
 		rm -f "${ED}"/usr/bin/avahi-bookmarks
 
@@ -185,8 +195,10 @@
 		doins avahi.devhelp || die
 	fi
 
+	use python && python_convert_shebangs -r 2 "${ED}"/usr/bin #396339
+
 	# Remove .la files
-	find "${D}" -name '*.la' -exec rm -f {} + || die
+	find "${ED}" -name '*.la' -exec rm -f {} + || die
 }
 
 pkg_postrm() {

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-19 11:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-19 10:28 [gentoo-desktop] kde-sunset: avahi-0.6.30-r1 Failed Running automake Dominique Michel
2012-01-19 11:05 ` Dominique Michel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox