| View previous topic :: View next topic |
| Author |
Message |
bodhiard n00b

Joined: 05 Aug 2005 Posts: 4
|
Posted: Fri Jun 02, 2006 4:41 am Post subject: dev-libs/libsigc++-1.0.4-r2 emerge failed |
|
|
Simple emerge of libsigc++ (as a dependency), simple error. Any insights?
| Code: | make install-data-hook
make[4]: Entering directory `/var/tmp/portage/libsigc++-1.0.4-r2/work/libsigc++-1.0.4/sigc++/config'
#@if test -d "/usr/lib64/sigc++" ; then \
echo ;\
echo "*** WARNING ***:" ;\
echo "You seem to have old libsigc++ config header files installed in:" ;\
echo ;\
echo " \"/usr/lib64/sigc++\"" ;\
echo ;\
echo "The entire directory will be removed now." ;\
echo "To allow parallel installation of sigc++-1.0 and sigc++-1.2," ;\ echo "the header files are now installed in a version specific subdirectory." ;\
echo ; \
rm -rf "/usr/lib64/sigc++" ;\
fi
/bin/sh: -c: line 12: syntax error near unexpected token `fi'
/bin/sh: -c: line 12: `fi'
make[4]: *** [install-data-hook] Error 2
make[4]: Leaving directory `/var/tmp/portage/libsigc++-1.0.4-r2/work/libsigc++-1.0.4/sigc++/config'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/libsigc++-1.0.4-r2/work/libsigc++-1.0.4/sigc++/config'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/libsigc++-1.0.4-r2/work/libsigc++-1.0.4/sigc++/config'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libsigc++-1.0.4-r2/work/libsigc++-1.0.4/sigc++'
make: *** [install-recursive] Error 1
!!! ERROR: dev-libs/libsigc++-1.0.4-r2 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_install
ebuild.sh, line 1013: Called src_install
libsigc++-1.0.4-r2.ebuild, line 47: Called die
|
Thanks |
|
| Back to top |
|
 |
yinkoshaumer Tux's lil' helper

Joined: 25 Oct 2005 Posts: 139
|
Posted: Thu Jun 22, 2006 5:41 pm Post subject: |
|
|
| I am having the same issue. Have you found a solution? |
|
| Back to top |
|
 |
bodhiard n00b

Joined: 05 Aug 2005 Posts: 4
|
Posted: Thu Jun 22, 2006 6:05 pm Post subject: |
|
|
| No, I haven't found any solution yet. I have had bigger problems with the xorg update killing nvidia and kernel update killing dmraid. I guess I shouldn't be running ~arch, but I'm still a bit dissappointed in gentoo at the moment. Even fedora is working better than gentoo on my amd64 with nvidia software raid. Good luck. I'll be sure to post if I figure out what the issue was. |
|
| Back to top |
|
 |
nastasa_andrey n00b

Joined: 24 Mar 2004 Posts: 65
|
Posted: Fri Jun 23, 2006 6:14 am Post subject: |
|
|
The problem is that i have several packages that have the same problem (packages from system, xorg, kde and many others)
Post the output from:
|
|
| Back to top |
|
 |
butters Guru


Joined: 13 May 2002 Posts: 427 Location: Poughkeepsie, NY
|
Posted: Sat Jul 01, 2006 2:12 am Post subject: |
|
|
I'm had this problem too. The problem is related to the Makefile in the sigc++ and sigc++/config directories. Although the maintainer uses autotools, he felt the need to edit this Makefile by hand instead of correcting the corresponding Makefile.am input file, "commenting out" some target rules in a way that GNU Make does not support. You can see that this rule is the only rule specified in the Makefile.am, and yet there it sits, uncommented.
The sad part is that even though the offending rule causes the the build to break, it does so _after_ it accomplishes what it needs to do, which is to remove your existing libsigc++ library directory. Therefore, there's a relatively easy way to fix this.
Here's the really ugly hack to get libsigc++ to merge without waiting for upstream to fix it:
After your emerge fails, cd into /var/tmp/portage/libsigc++-1.0.4-r2/work/libsigc++-1.0.4/sigc++
There you will find two files of interest: Makefile and Makefile.am. Open both of these in an editor. In each file, search for the string "install-data-hook." In Makefile.am you will find the rule defined. Just delete that entire rule, from install-data-hook: label on down to where the "win32" comments are. In the Makefile itself, you will find something that looks a lot like this, except that it looks like it's commented out. It isn't... so delete that rule in the same way. In that file you will also find another instance of "install-data-hook" where it is appended on its own to a variable containing all the "normal" rules. Remove that, and make sure to save both files.
Now cd into the config directory below. Repeat the process above for deleting the install-data-hook rule in both Makefile and Makefile.am.
Now you get to rerun the rest of the emerge procedure, bypassing the features that normally protect you from people tampering with the source tree Here's how to do that:
cd /usr/portage/dev-libs/libsigc++
ebuild libsigc++-1.0.4-r2.ebuild install qmerge
This will hook into the emerge process after the compile phase (which has already completed successfully) and run the install phase with our changes. If your experience is like mine, then it will proceed successfully.
Before I wish you good luck, I want to emphasize that this is _not_ a supported way to fix the problem. Although there's almost zero chance of this affecting any other packages on your system, if it does break things, you're on your own.
Good luck!! _________________ If tugboats were bigger, they'd be the ones getting tugged. |
|
| Back to top |
|
 |
hielvc Advocate

Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
|
| Back to top |
|
 |
kottlettstanze Tux's lil' helper

Joined: 20 Apr 2004 Posts: 113
|
Posted: Mon Oct 23, 2006 6:39 pm Post subject: |
|
|
Hi,
this problem seems to be fixed in -r3, which is already in portage, but marked ~x86!
Perhaps the ~x86 flag should be removed.
Cheers
Kevin |
|
| Back to top |
|
 |
nixnut Bodhisattva


Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Mon Oct 23, 2006 6:57 pm Post subject: |
|
|
| kottlettstanze wrote: | Hi,
this problem seems to be fixed in -r3, which is already in portage, but marked ~x86!
Perhaps the ~x86 flag should be removed. |
That's what we have you daring people for... testing it. The devs maintaining that ebuild will be stabling it after all open bugs are gone and the package has been well tested. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
| Back to top |
|
 |
|