Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 217250
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: virdiq <virdiq@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
build.log build.log of yelp-2.22.1 text/plain virdiq 2008-04-11 03:19 0000 99.65 KB Details
emerge.info output of emerge --info text/plain virdiq 2008-04-11 03:20 0000 3.16 KB Details
gnome-extra:yelp-2.22.1-r1:20080430-062451.log_no_install_parallel_make Failed emerge install w/ parallel make enabled text/plain Ashu Tiwary 2008-04-30 06:33 0000 103.07 KB Details
gnome-extra:yelp-2.22.1-r1:20080430-062721.log_install_no_parallel_make Successful emerge / install with parallel make disabled text/plain Ashu Tiwary 2008-04-30 06:33 0000 125.07 KB Details
emerge_info_w_parallel_make "emerge --info" with parallel make enabled (resulting in failed emerge / install) text/plain Ashu Tiwary 2008-04-30 06:34 0000 4.62 KB Details
emerge_info_wo_parallel_make "emerge --info" with parallel make disabled (resulting in successful emerge / install) text/plain Ashu Tiwary 2008-04-30 06:34 0000 4.61 KB Details
gnome-extra:yelp-2.22.1-r1:20080501-070023.log Build log of failed emerge / install text/plain Ashu Tiwary 2008-05-01 07:04 0000 103.07 KB Details
gnome-extra:yelp-2.22.1-r1:20080501-070129.log Build log of successful emerge / install w/ above suggested ebuild modification text/plain Ashu Tiwary 2008-05-01 07:05 0000 125.43 KB Details
yelp-2.22.1-r1.ebuild Modified ebuild for gnome-extra/yelp-2.22.1-r1 that allows successful emerge / install with parallel make enabled text/plain Ashu Tiwary 2008-05-01 07:06 0000 1.92 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 217250 depends on: Show dependency tree
Bug 217250 blocks: 214260
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-11 03:17 0000
gnome-extra/yelp-2.22.1 fails to install (after compiling successfully) with
the following error creating a symlink:

...
rm -f /var/tmp/portage/gnome-extra/yelp-2.22.1/image//usr/bin/gnome-help && \
        ln -s yelp
/var/tmp/portage/gnome-extra/yelp-2.22.1/image//usr/bin/gnome-help
make[3]: Nothing to be done for `install-data-am'.
ln: creating symbolic link
`/var/tmp/portage/gnome-extra/yelp-2.22.1/image//usr/bin/gnome-help': No such
file or directory
make[3]: *** [install-exec-local] Error 1
...

The attempted upgrade was performed from an existing installation of
gnome-extra/yelp-2.22.0 on an ~amd64 installation of Gentoo.

Reproducible: Always

Steps to Reproduce:
1. Upgrade from yelp-2.22.0 by using emerge -av1 yelp

Actual Results:  
Compiled OK.
Error during portage installation phase (see attached build.log)

Expected Results:  
Installation should have succeeded.

See attached output of emerge --info.

------- Comment #1 From virdiq 2008-04-11 03:19:17 0000 -------
Created an attachment (id=149365) [details]
build.log of yelp-2.22.1

------- Comment #2 From virdiq 2008-04-11 03:20:53 0000 -------
Created an attachment (id=149366) [details]
output of emerge --info

------- Comment #3 From virdiq 2008-04-11 04:06:10 0000 -------
Can't even replicate this one now... hmmm... closed.

------- Comment #4 From virdiq 2008-04-11 04:19:11 0000 -------
Well maybe I'm wrong about not being able to reproduce this bug.

I just tried the following procedures (I start with yelp-2.22.1 installed):
1. emerge --unmerge yelp
2. emerge -1 =yelp-2.22.0
3. emerge -1 =yelp-2.22.0
4. emerge -1 yelp
5. emerge -1 yelp
6. emerge --unmerge yelp
7. emerge -1 yelp
8. emerge --unmerge yelp
9. emerge -1 =yelp-2.22.0
10. emerge -uND world

(2) failed to create the symlink but all other commands were OK.

I can't accurately reproduce this problem so will leave it as WORKSFORME unless
someone else encounters similar issues (reopen this bug).

------- Comment #5 From Rémi Cardona 2008-04-29 15:07:40 0000 -------
I'm thinking this could be a parallel make issue. Could you try again (running
emerge -1 yelp in a loop) with an unset MAKEOPTS?

Thanks

------- Comment #6 From Ashu Tiwary 2008-04-29 17:44:52 0000 -------
I've confirmed gnome-extra/yelp-2.22.1-r1 emerges / installs fine after
removing parallel make option ("-j3"), whereas before I had the identical
errors above.

------- Comment #7 From virdiq 2008-04-30 06:20:25 0000 -------
I've tried "emerge -1 yelp" in a loop with both MAKEOPTS=-j3 and with MAKEOPTS
undefined. After about 20 tries I haven't been able to reproduce this bug.

Ashu, have you worked out a way to reproduce this potential bug more
consistently?

------- Comment #8 From Ashu Tiwary 2008-04-30 06:31:37 0000 -------
(In reply to comment #7)
> 
> Ashu, have you worked out a way to reproduce this potential bug more
> consistently?
> 

Ya - I've just reproduced both the installation failure and the successful
emerge / install - only change is to enable / disable parallel make,
respectively.

I'm attaching the two build logs + the emerge --info for both

------- Comment #9 From Ashu Tiwary 2008-04-30 06:33:11 0000 -------
Created an attachment (id=151398) [details]
Failed emerge install w/ parallel make enabled

------- Comment #10 From Ashu Tiwary 2008-04-30 06:33:47 0000 -------
Created an attachment (id=151399) [details]
Successful emerge / install with parallel make disabled

------- Comment #11 From Ashu Tiwary 2008-04-30 06:34:25 0000 -------
Created an attachment (id=151400) [details]
"emerge --info" with parallel make enabled (resulting in failed emerge /
install)

------- Comment #12 From Ashu Tiwary 2008-04-30 06:34:55 0000 -------
Created an attachment (id=151401) [details]
"emerge --info" with parallel make disabled (resulting in successful emerge /
install)

------- Comment #13 From Ashu Tiwary 2008-04-30 06:35:48 0000 -------
BTW - my USE options:

ashu@liberte ~ $ grep yelp /etc/portage/package.use
gnome-extra/yelp firefox beagle xulrunner lzma

------- Comment #14 From Rémi Cardona 2008-04-30 08:06:13 0000 -------
Could you try putting something like this in the ebuild's src_unpack()

sed -e "s/install-exec-local:/install-exec-hook:/" -i src/Makefile.am
eautomake

Thanks

------- Comment #15 From Ashu Tiwary 2008-05-01 07:02:33 0000 -------
(In reply to comment #14)
> Could you try putting something like this in the ebuild's src_unpack()
> 
> sed -e "s/install-exec-local:/install-exec-hook:/" -i src/Makefile.am
> eautomake
> 
> Thanks
> 

Yep - that works well: with parallel make enabled, adding the above line to the
ebuild enables a successful emerge / install.

I'll attach the two build logs + the updated ebuild

------- Comment #16 From Ashu Tiwary 2008-05-01 07:04:36 0000 -------
Created an attachment (id=151488) [details]
Build log of failed emerge / install

------- Comment #17 From Ashu Tiwary 2008-05-01 07:05:23 0000 -------
Created an attachment (id=151490) [details]
Build log of successful emerge / install w/ above suggested ebuild modification

------- Comment #18 From Ashu Tiwary 2008-05-01 07:06:31 0000 -------
Created an attachment (id=151491) [details]
Modified ebuild for gnome-extra/yelp-2.22.1-r1 that allows successful emerge /
install with parallel make enabled

------- Comment #19 From Marcello Magaldi 2008-05-01 18:56:55 0000 -------
(In reply to comment #18)
> Created an attachment (id=151491) [edit] [details]
> Modified ebuild for gnome-extra/yelp-2.22.1-r1 that allows successful emerge /
> install with parallel make enabled
> 

is this patch going to be accepted by gnome herd ?

------- Comment #20 From Rémi Cardona 2008-05-02 07:12:20 0000 -------
(In reply to comment #19)
> is this patch going to be accepted by gnome herd ?

1) I wrote that patch
2) I'm part of the Gnome Herd

Therefore, I would say that there's a high probability that the Gnome Herd will
accept that patch...

Sarcasm aside, we work on Gentoo on our free time, so please understand that we
don't necessarily fix all bugs the very minute they come in.

Thanks

PS, bug reported upstream too

------- Comment #21 From Marcello Magaldi 2008-05-02 07:29:36 0000 -------
(In reply to comment #20)
> (In reply to comment #19)
> > is this patch going to be accepted by gnome herd ?
> 
> 1) I wrote that patch
> 2) I'm part of the Gnome Herd
> 

I didn't know that . You should agree with me that there are a lot of devs in
gentoo and I could not know them all and I should not know about what devs
belongs to what herd.

>[...]
> Sarcasm aside, we work on Gentoo on our free time, so please understand that we
> don't necessarily fix all bugs the very minute they come in.
> 

I didn't mean that , sorry for posting too soon 

> Thanks
> 
> PS, bug reported upstream too
> 

------- Comment #22 From Rémi Cardona 2008-05-02 08:02:10 0000 -------
(In reply to comment #21)
> I didn't mean that , sorry for posting too soon 

No harm done ;)

Fixed in portage without a revbump. Thanks everyone.

@Gilles, I quietly removed the AT_M4DIR="${AT_M4DIR} m4" env before calling
eautoreconf because the autotools eclass picks it up automatically from
Makefile.in.

------- Comment #23 From Ryan Hill 2008-05-05 03:18:13 0000 -------
this affects current stable (2.20.0) too.  can you backport this fix?

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug