Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346949 - dev-libs/libsigc++-1.2.7 improvements for aclocal and install with libtool-2.4
Summary: dev-libs/libsigc++-1.2.7 improvements for aclocal and install with libtool-2.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GNOME C++ Bindings Maintainers (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 356785 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-27 12:32 UTC by Sirko Schroeder
Modified: 2011-03-08 13:47 UTC (History)
1 user (show)

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


Attachments
ebuild patch (libsigc++-1.2.7.ebuild.patch,587 bytes, patch)
2010-11-27 12:33 UTC, Sirko Schroeder
Details | Diff
Makefile.am install fix (libsigc++-1.2.x_install.patch,457 bytes, patch)
2010-11-27 12:35 UTC, Sirko Schroeder
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sirko Schroeder 2010-11-27 12:32:48 UTC
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
 }
Comment 1 Sirko Schroeder 2010-11-27 12:33:51 UTC
Created attachment 255573 [details, diff]
ebuild patch
Comment 2 Sirko Schroeder 2010-11-27 12:35:03 UTC
Created attachment 255575 [details, diff]
Makefile.am install fix
Comment 3 Pacho Ramos gentoo-dev 2011-01-26 13:31:54 UTC
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
Comment 4 Pacho Ramos gentoo-dev 2011-02-24 17:53:17 UTC
(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
> 

Comment 5 Pacho Ramos gentoo-dev 2011-03-01 17:43:30 UTC
*** Bug 356785 has been marked as a duplicate of this bug. ***
Comment 6 Pacho Ramos gentoo-dev 2011-03-01 17:43:42 UTC
.
Comment 7 Pacho Ramos gentoo-dev 2011-03-08 13:47:07 UTC
+*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.
+