libsigc++-1.2.7.ebuild does not work anymore. It quits with an aclocal error. # cat /dev/shm/portage/dev-libs/libsigc++-1.2.7/temp/aclocal.out ***** aclocal ***** ***** PWD: /dev/shm/portage/dev-libs/libsigc++-1.2.7/work/libsigc++-1.2.7 ***** aclocal -I scripts aclocal: macro `_LT_DECL_SED' required but not defined aclocal: macro `_LT_FUNC_STRIPNAME_CNF' required but not defined This can be fixed with an change of WANT_AUTOMAKE="1.7" to WANT_AUTOMAKE="latest" After that aclocal will run fine but the package will still not install because of an error in sigc++/Makefile.am (a double for method_slot.h) which is easy to fix. # cat files/libsigc++-1.2.x_install.patch --- sigc++/Makefile.am.orig 2010-11-27 20:40:35.301189910 +0930 +++ sigc++/Makefile.am 2010-11-27 20:40:46.871110361 +0930 @@ -12,7 +12,7 @@ sigc_built_h = bind_return.h \ object_slot.h retype_return.h slot.h bind.h \ class_slot.h hide.h retype.h signal.h \ - method_slot.h method_slot.h + method_slot.h built_sources = $(sigc_built_cc) $(sigc_built_h) dist_sources = $(sigc_fixed_cc) $(sigc_fixed_h) # cat libsigc++-1.2.7.ebuild.patch --- libsigc++-1.2.7.ebuild.orig 2010-11-27 21:52:49.000000000 +0930 +++ libsigc++-1.2.7.ebuild 2010-11-27 20:28:24.000000000 +0930 @@ -3,7 +3,7 @@ # $Header: /var/cvsroot/gentoo-x86/dev-libs/libsigc++/libsigc++-1.2.7.ebuild,v 1.7 2008/12/17 20:32:33 ssuominen Exp $ WANT_AUTOCONF="latest" -WANT_AUTOMAKE="1.7" +WANT_AUTOMAKE="latest" inherit autotools gnome2 @@ -33,6 +33,6 @@ # fixes bug #219041 sed -e 's:ACLOCAL_AMFLAGS = -I $(srcdir)/scripts:ACLOCAL_AMFLAGS = -I scripts:' \ -i Makefile.{in,am} - + epatch "${FILESDIR}"/libsigc++-1.2.x_install.patch eautoreconf }
Created attachment 255573 [details, diff] ebuild patch
Created attachment 255575 [details, diff] Makefile.am install fix
I am unable to reproduce (none of the problems), please retry if still valid, I have: dev-libs/libsigc++-1.2.7 USE="-debug" sys-devel/automake-1.7.9-r2
(In reply to comment #3) > I am unable to reproduce (none of the problems), please retry if still valid, I > have: > dev-libs/libsigc++-1.2.7 USE="-debug" > sys-devel/automake-1.7.9-r2 >
*** Bug 356785 has been marked as a duplicate of this bug. ***
.
+*libsigc++-2.2.9 (08 Mar 2011) + + 08 Mar 2011; Pacho Ramos <pacho@gentoo.org> libsigc++-1.0.4-r3.ebuild, + libsigc++-1.2.7.ebuild, +files/libsigc++-1.2.7-fix-install.patch, + +libsigc++-2.2.9.ebuild: + Version bump fixing gcc-4.6 build (bug #354277 by Ryan Hill) and allowing + building of static libs (bug #289274 by Slava Gorbunov), also simplify + src_configure phase. Some fixes for libsigc++-1.2.7: don't try to install + duplicated files and use proper automake version (bug #346949 by Sirko + Schroeder), bump to eapi3, handle debug USE flag in a better way, fix + pkg_config phase (it wasn't being executed at all). Set RDEPEND and DEPEND on + all ebuilds to make repoman happy. +