Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80425 - sys-devel/autoconf-2.59-r6 broken
Summary: sys-devel/autoconf-2.59-r6 broken
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 80344
  Show dependency tree
 
Reported: 2005-02-02 00:58 UTC by Roland Bär
Modified: 2005-02-21 07:52 UTC (History)
0 users

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


Attachments
autoconf-2.59-r6.ebuild.diff (autoconf-2.59-r6.ebuild.diff,442 bytes, patch)
2005-02-02 01:00 UTC, Roland Bär
Details | Diff
Output of emerge info (emerge.info,2.41 KB, text/plain)
2005-02-02 01:01 UTC, Roland Bär
Details
Shell script demonstrating this bug (auto.sh,479 bytes, text/plain)
2005-02-03 01:51 UTC, Roland Bär
Details
Concatened diff's for that suggestions (ac.patch,1.61 KB, text/plain)
2005-02-03 03:06 UTC, Roland Bär
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Bär 2005-02-02 00:58:21 UTC
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 Roland Bär 2005-02-02 01:00:47 UTC
Created attachment 50197 [details, diff]
autoconf-2.59-r6.ebuild.diff

Patch which solves this problem
Comment 2 Roland Bär 2005-02-02 01:01:48 UTC
Created attachment 50198 [details]
Output of emerge info
Comment 3 SpanKY gentoo-dev 2005-02-02 06:10:53 UTC
autoconf doesnt create the symlinks, autoconf-wrapper does
Comment 4 Roland Bär 2005-02-02 06:34:17 UTC
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 SpanKY gentoo-dev 2005-02-02 10:35:43 UTC
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 Roland Bär 2005-02-03 01:51:33 UTC
Created attachment 50253 [details]
Shell script demonstrating this bug

Can someone verify/falsify that? Thanks
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-03 02:19:43 UTC
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 Roland Bär 2005-02-03 03:03:45 UTC
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 Roland Bär 2005-02-03 03:06:08 UTC
Created attachment 50254 [details]
Concatened diff's for that suggestions
Comment 10 Roland Bär 2005-02-03 03:08:55 UTC
Apropos, we have same problem with exactly (and only) automake-1.8.5-r1
Somebody unmerging that, /usr/bin/automake disappears.
Comment 11 Roland Bär 2005-02-08 02:07:17 UTC
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 Wojciech Hojda 2005-02-11 14:38:43 UTC
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.