First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 80425
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WORKSFORME
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Roland Bär <roland@pinguin.tv>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
autoconf-2.59-r6.ebuild.diff autoconf-2.59-r6.ebuild.diff patch Roland Bär 2005-02-02 01:00 0000 442 bytes Details | Diff
emerge.info Output of emerge info text/plain Roland Bär 2005-02-02 01:01 0000 2.41 KB Details
auto.sh Shell script demonstrating this bug text/plain Roland Bär 2005-02-03 01:51 0000 479 bytes Details
ac.patch Concatened diff's for that suggestions text/plain Roland Bär 2005-02-03 03:06 0000 1.61 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 80425 depends on: Show dependency tree
Bug 80425 blocks: 80344
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: 2005-02-02 00:58 0000
Having following installed
*  sys-devel/autoconf :
        [  I] 2.13 (2.1)
        [  I] 2.59-r5 (2.5)
        [   ] 2.59-r6 (2.5)
*  sys-devel/autoconf-wrapper :
        [  I] 2 (0)
and emerging new autoconf (=autoconf-2.59-r6), the symlinks in /usr/bin/ e.g. autoconf pointing to 
../lib/misc/ac-wrapper.sh are disappearing

Reproducible: Always
Steps to Reproduce:
Starting with above,
1. emerge =autoconf-2.59-r6
I get 
*  sys-devel/autoconf :
        [  I] 2.13 (2.1)
        [   ] 2.59-r5 (2.5)
        [  I] 2.59-r6 (2.5)
But only /usr/bin/autoconf-2.59 exists, not /usr/bin/autoconf
Actual Results:  
No /usr/bin/autoconf

Expected Results:  
/usr/bin/autoconf: symbolic link to `../lib/misc/ac-wrapper.sh'


Since this end January marking stable for -r6, we got bug-reports of packages, which failed to 
emerge. Notably Bug #80344 and Bug #78814

------- Comment #1 From Roland Bär 2005-02-02 01:00:47 0000 -------
Created an attachment (id=50197) [details]
autoconf-2.59-r6.ebuild.diff

Patch which solves this problem

------- Comment #2 From Roland Bär 2005-02-02 01:01:48 0000 -------
Created an attachment (id=50198) [details]
Output of emerge info

------- Comment #3 From SpanKY 2005-02-02 06:10:53 0000 -------
autoconf doesnt create the symlinks, autoconf-wrapper does

------- Comment #4 From Roland Bär 2005-02-02 06:34:17 0000 -------
Sorry, autoconf-2.59-r5 indeed creates this symlinks, 
but autoconf-2.59-r6 does not. Check the following:
(Assuming autoconf-wrapper 2 is already installed)
1. emerge =autoconf-2.59-r5
2. emerge =autoconf-2.59-r6
So when doing this update, removing autoconf.2.59-r5 deletes these files,
and emerging then autoconf-2.59-r6 does not recreate them.

If it's intentional, that only autconf-wrapper has to create /usr/bin/autoconf, then for a transitional period autoconf-wrapper should be re-emerged.
.

------- Comment #5 From SpanKY 2005-02-02 10:35:43 0000 -------
i know what packages create what symlinks, i maintain them (read the ChangeLog)

figure out why the symlinks disappeared on your system if you like and propose a fix for that; symlink creation is not going back into autoconf-2.59-r6

------- Comment #6 From Roland Bär 2005-02-03 01:51:33 0000 -------
Created an attachment (id=50253) [details]
Shell script demonstrating this bug

Can someone verify/falsify that? Thanks

------- Comment #7 From Martin Schlemmer (RETIRED) 2005-02-03 02:19:43 0000 -------
Mike, it might be possible that if he merged the wrapper before -r5, that
upgrading to -r6 might have removed the symlinks ...

How about a new autoconf-wrapper revision that -r6 (or maybe a new -r7) depends
on?  This should fix any such nitty bugs ...

------- Comment #8 From Roland Bär 2005-02-03 03:03:45 0000 -------
Fine, that's it.

Suggestions:
1. -r5 should be removed from portage, otherwise 2.
2. if -r5 can't be removed from portage, then make a 
    a) dummy autoconf-wrapper-0 which just doesn't install that symlinks and
        RDEPEND="<sys-devel/autoconf-2.59-r6
    b) -r5 then DEPEND on =autoconf-wrapper-0
    c) make -r6 depend on >=autoconf-wrapper-2
    This works here
3. For the old cases, just updating to -r6, but having emerged then old revisions of -r5
    in pkg_postinst() test /usr/bin/automake and if missing then ewarn that he should
    (re)emerge autoconf-wrapper.

------- Comment #9 From Roland Bär 2005-02-03 03:06:08 0000 -------
Created an attachment (id=50254) [details]
Concatened diff's for that suggestions

------- Comment #10 From Roland Bär 2005-02-03 03:08:55 0000 -------
Apropos, we have same problem with exactly (and only) automake-1.8.5-r1
Somebody unmerging that, /usr/bin/automake disappears.

------- Comment #11 From Roland Bär 2005-02-08 02:07:17 0000 -------
Thanks for silently nuking automake-1.8.5-r1
Thanks for silently nuking autoconf-2.59-r5
Thanks for autoconf-wrapper-2-r1
Thanks for automake-wrapper-1-r1
Hopeful, this works for anybody

------- Comment #12 From Wojciech Hojda 2005-02-11 14:38:43 0000 -------
Today sync:

checking whether autoconf is installed... no
configure: error: Autoconf 2.58 or better is required.
    Please make sure it is installed and in your PATH.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/automake-1.8.5-r3/work/automake-1.8.5/config.log

!!! ERROR: sys-devel/automake-1.8.5-r3 failed.
!!! Function econf, Line 485, Exitcode 0

Solution is to emerge -u autoconf-wrapper
to 2-r1, which creates symlinks. But can't autoconf-2.59-r6 depends on autoconf-wrapper-2-r1? wrapper depends on autoconf.

First Last Prev Next    No search results available      Search page      Enter new bug