Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-libs/libsigc++-1.0.4-r2 emerge failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bodhiard
n00b
n00b


Joined: 05 Aug 2005
Posts: 4

PostPosted: Fri Jun 02, 2006 4:41 am    Post subject: dev-libs/libsigc++-1.0.4-r2 emerge failed Reply with quote

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
View user's profile Send private message
yinkoshaumer
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2005
Posts: 139

PostPosted: Thu Jun 22, 2006 5:41 pm    Post subject: Reply with quote

I am having the same issue. Have you found a solution?
Back to top
View user's profile Send private message
bodhiard
n00b
n00b


Joined: 05 Aug 2005
Posts: 4

PostPosted: Thu Jun 22, 2006 6:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
nastasa_andrey
n00b
n00b


Joined: 24 Mar 2004
Posts: 65

PostPosted: Fri Jun 23, 2006 6:14 am    Post subject: Reply with quote

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:
Code:
emerge --info

Code:
gcc-config -l
Back to top
View user's profile Send private message
butters
Guru
Guru


Joined: 13 May 2002
Posts: 427
Location: Poughkeepsie, NY

PostPosted: Sat Jul 01, 2006 2:12 am    Post subject: Reply with quote

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
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Sat Jul 01, 2006 2:43 am    Post subject: Reply with quote

butters is there a bug filed on this ? If There isnt could you sence you already solved it?
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
kottlettstanze
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2004
Posts: 113

PostPosted: Mon Oct 23, 2006 6:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon Oct 23, 2006 6:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum