FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Development

 
 
LinkBack Thread Tools
 
Old 01-28-2009, 09:20 PM
Aaron Griffin
 
Default bash 3.2.048-3, texinfo 4.13a-2, glibc 2.9-3

These three packages contain fixes for our core dep-cycle that was
discussed in another thread.

Changes:
texinfo now scans *all* info files on install (not on upgrade)
- this means that packages do not need direct deps, as it will pick up
all info files when it's installed
glibc and bash no longer require/depend on texinfo
- existence of install-info is checked before running it

Please signoff. The install ISOs need these packages to ensure
installation happens cleanly.
 
Old 01-29-2009, 12:31 AM
Dan McGee
 
Default bash 3.2.048-3, texinfo 4.13a-2, glibc 2.9-3

On Wed, Jan 28, 2009 at 4:20 PM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
> These three packages contain fixes for our core dep-cycle that was
> discussed in another thread.
>
> Changes:
> texinfo now scans *all* info files on install (not on upgrade)
> - this means that packages do not need direct deps, as it will pick up
> all info files when it's installed
> glibc and bash no longer require/depend on texinfo
> - existence of install-info is checked before running it
>
> Please signoff. The install ISOs need these packages to ensure
> installation happens cleanly.
>

$ pacSu --ignore openoffice-base
:: Starting full system upgrade...
warning: openoffice-base: ignoring package upgrade (3.0.0-4 => 3.0.1-1)
resolving dependencies...
warning: dependency cycle detected:
warning: glibc will be installed before its bash dependency
looking for inter-conflicts...

Something doesn't seem quite right here, I thought this resolved these
issues? Or did that only pertain to info?

-Dan
 
Old 01-29-2009, 04:21 AM
Aaron Griffin
 
Default bash 3.2.048-3, texinfo 4.13a-2, glibc 2.9-3

On Wed, Jan 28, 2009 at 7:31 PM, Dan McGee <dpmcgee@gmail.com> wrote:
> On Wed, Jan 28, 2009 at 4:20 PM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
>> These three packages contain fixes for our core dep-cycle that was
>> discussed in another thread.
>>
>> Changes:
>> texinfo now scans *all* info files on install (not on upgrade)
>> - this means that packages do not need direct deps, as it will pick up
>> all info files when it's installed
>> glibc and bash no longer require/depend on texinfo
>> - existence of install-info is checked before running it
>>
>> Please signoff. The install ISOs need these packages to ensure
>> installation happens cleanly.
>>
>
> $ pacSu --ignore openoffice-base
> :: Starting full system upgrade...
> warning: openoffice-base: ignoring package upgrade (3.0.0-4 => 3.0.1-1)
> resolving dependencies...
> warning: dependency cycle detected:
> warning: glibc will be installed before its bash dependency
> looking for inter-conflicts...
>
> Something doesn't seem quite right here, I thought this resolved these
> issues? Or did that only pertain to info?

That's a totally different dep cycle. bash needs glibc because, well,
it does. glibc needs bash because of the scriptlet... I think.
Actually I didn't check that part - this was only for the info thing.

Regarding the bash dep of glibc - scriptlets don't require bash as
they use the bash shell from the parent. Why does glibc need bash?
 
Old 01-29-2009, 04:31 AM
Aaron Griffin
 
Default bash 3.2.048-3, texinfo 4.13a-2, glibc 2.9-3

On Wed, Jan 28, 2009 at 11:25 PM, Allan McRae <allan@archlinux.org> wrote:
> Andreas Radke wrote:
>>
>> Am Wed, 28 Jan 2009 19:31:13 -0600
>> schrieb Dan McGee <dpmcgee@gmail.com>:
>>
>>
>>>
>>> On Wed, Jan 28, 2009 at 4:20 PM, Aaron Griffin
>>> <aaronmgriffin@gmail.com> wrote:
>>>
>>>>
>>>> These three packages contain fixes for our core dep-cycle that was
>>>> discussed in another thread.
>>>>
>>>> Changes:
>>>> texinfo now scans *all* info files on install (not on upgrade)
>>>> - this means that packages do not need direct deps, as it will pick
>>>> up all info files when it's installed
>>>> glibc and bash no longer require/depend on texinfo
>>>> - existence of install-info is checked before running it
>>>>
>>>> Please signoff. The install ISOs need these packages to ensure
>>>> installation happens cleanly.
>>>>
>>>>
>>>
>>> $ pacSu --ignore openoffice-base
>>> :: Starting full system upgrade...
>>> warning: openoffice-base: ignoring package upgrade (3.0.0-4 =>
>>> 3.0.1-1) resolving dependencies...
>>> warning: dependency cycle detected:
>>> warning: glibc will be installed before its bash dependency
>>> looking for inter-conflicts...
>>>
>>> Something doesn't seem quite right here, I thought this resolved these
>>> issues? Or did that only pertain to info?
>>>
>>> -Dan
>>>
>>>
>>
>> The update went smooth here with pacman from current.
>>
>> Everything's working here (x86_64). If the dep cycle is solved we will
>> see when we start testing the new ISOs.
>>
>
> There still appears to be some issues:
>
>> sudo mkarchroot /home/tmp/root base
> ...
> Targets (102): kernel-headers-2.6.27.6-2 tzdata-2008i-1 glibc-2.9-3
> ncurses-5.7-2 texinfo-4.13a-2 readline-5.2.013-1
> bash-3.2.048-3 dash-0.5.5.1-1 attr-2.4.41-1 acl-2.2.47-1 ...
> warning: dependency cycle detected:
> warning: glibc will be installed before its bash dependency
> ...
> ( 1/102) installing kernel-headers [#####################]
> 100%
> ( 2/102) installing tzdata [#####################]
> 100%
> ( 3/102) installing glibc [#####################]
> 100%
> ( 4/102) installing ncurses [#####################]
> 100%
> ( 5/102) installing texinfo [#####################]
> 100%
> error: scriptlet failed to execute correctly
> ( 6/102) installing readline [#####################]
> 100%
> ( 7/102) installing bash [#####################]
> 100%
> ( 8/102) installing dash [#####################]
> 100%
> ( 9/102) installing attr [#####################]
> 100%
>
> Note that a "pacman -Rd texinfo" followed by "pacman -S --asdep texinfo"
> give no errors so it is an install order issue.

Oh... the change in the scriptlet added a findutils dep. Totally
missed that. Could someone verify that adding that dep fixes that for
good?

Also, for the record, this was not getting rid of ALL dep cycles, but A cycle.
 
Old 01-29-2009, 05:31 AM
Aaron Griffin
 
Default bash 3.2.048-3, texinfo 4.13a-2, glibc 2.9-3

On Thu, Jan 29, 2009 at 12:08 AM, Allan McRae <allan@archlinux.org> wrote:
> Aaron Griffin wrote:
>>
>> On Wed, Jan 28, 2009 at 11:25 PM, Allan McRae <allan@archlinux.org> wrote:
>>
>>>
>>> Andreas Radke wrote:
>>>
>>>>
>>>> Am Wed, 28 Jan 2009 19:31:13 -0600
>>>> schrieb Dan McGee <dpmcgee@gmail.com>:
>>>>
>>>>
>>>>
>>>>>
>>>>> On Wed, Jan 28, 2009 at 4:20 PM, Aaron Griffin
>>>>> <aaronmgriffin@gmail.com> wrote:
>>>>>
>>>>>
>>>>>>
>>>>>> These three packages contain fixes for our core dep-cycle that was
>>>>>> discussed in another thread.
>>>>>>
>>>>>> Changes:
>>>>>> texinfo now scans *all* info files on install (not on upgrade)
>>>>>> - this means that packages do not need direct deps, as it will pick
>>>>>> up all info files when it's installed
>>>>>> glibc and bash no longer require/depend on texinfo
>>>>>> - existence of install-info is checked before running it
>>>>>>
>>>>>> Please signoff. The install ISOs need these packages to ensure
>>>>>> installation happens cleanly.
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> $ pacSu --ignore openoffice-base
>>>>> :: Starting full system upgrade...
>>>>> warning: openoffice-base: ignoring package upgrade (3.0.0-4 =>
>>>>> 3.0.1-1) resolving dependencies...
>>>>> warning: dependency cycle detected:
>>>>> warning: glibc will be installed before its bash dependency
>>>>> looking for inter-conflicts...
>>>>>
>>>>> Something doesn't seem quite right here, I thought this resolved these
>>>>> issues? Or did that only pertain to info?
>>>>>
>>>>> -Dan
>>>>>
>>>>>
>>>>>
>>>>
>>>> The update went smooth here with pacman from current.
>>>>
>>>> Everything's working here (x86_64). If the dep cycle is solved we will
>>>> see when we start testing the new ISOs.
>>>>
>>>>
>>>
>>> There still appears to be some issues:
>>>
>>>
>>>>
>>>> sudo mkarchroot /home/tmp/root base
>>>>
>>>
>>> ...
>>> Targets (102): kernel-headers-2.6.27.6-2 tzdata-2008i-1 glibc-2.9-3
>>> ncurses-5.7-2 texinfo-4.13a-2 readline-5.2.013-1
>>> bash-3.2.048-3 dash-0.5.5.1-1 attr-2.4.41-1 acl-2.2.47-1 ...
>>> warning: dependency cycle detected:
>>> warning: glibc will be installed before its bash dependency
>>> ...
>>> ( 1/102) installing kernel-headers
>>> [#####################]
>>> 100%
>>> ( 2/102) installing tzdata
>>> [#####################]
>>> 100%
>>> ( 3/102) installing glibc
>>> [#####################]
>>> 100%
>>> ( 4/102) installing ncurses
>>> [#####################]
>>> 100%
>>> ( 5/102) installing texinfo
>>> [#####################]
>>> 100%
>>> error: scriptlet failed to execute correctly
>>> ( 6/102) installing readline
>>> [#####################]
>>> 100%
>>> ( 7/102) installing bash
>>> [#####################]
>>> 100%
>>> ( 8/102) installing dash
>>> [#####################]
>>> 100%
>>> ( 9/102) installing attr
>>> [#####################]
>>> 100%
>>>
>>> Note that a "pacman -Rd texinfo" followed by "pacman -S --asdep texinfo"
>>> give no errors so it is an install order issue.
>>>
>>
>> Oh... the change in the scriptlet added a findutils dep. Totally
>> missed that. Could someone verify that adding that dep fixes that for
>> good?
>>
>
> Building texinfo with findutils as a dep I get:
>
>> sudo mkarchroot /home/tmp/root base
>
> warning: dependency cycle detected:
> warning: bash will be installed before its glibc dependency
> warning: dependency cycle detected:
> warning: readline will be installed before its texinfo dependency
> warning: dependency cycle detected:
> warning: readline will be installed before its glibc dependency
> warning: dependency cycle detected:
> warning: ncurses will be installed before its glibc dependency
>
>
> ( 1/102) installing ncurses [#####################]
> 100%
> ( 2/102) installing readline [#####################]
> 100%
> ( 3/102) installing bash [#####################]
> 100%
> error: scriptlet failed to execute correctly
> ( 4/102) installing kernel-headers [#####################]
> 100%
> ( 5/102) installing tzdata [#####################]
> 100%
> ( 6/102) installing glibc [#####################]
> 100%
> ( 7/102) installing findutils [#####################]
> 100%
> ( 8/102) installing texinfo [#####################]
> 100%
>
> So I am thinking the bash/glibc cycle actually needs fixed to get things
> working. I will build glibc without bash as a dep now and see if that
> helps.

Actually, I'm confused as to why the bash scriptlet would fail at
all... it only runs install-info and only if it is present. Sure you
used the latest version?
 
Old 01-29-2009, 06:23 AM
Aaron Griffin
 
Default bash 3.2.048-3, texinfo 4.13a-2, glibc 2.9-3

On Thu, Jan 29, 2009 at 1:03 AM, Allan McRae <allan@archlinux.org> wrote:
> Aaron Griffin wrote:
>>
>> On Thu, Jan 29, 2009 at 12:08 AM, Allan McRae <allan@archlinux.org> wrote:
>>
>>>
>>> Aaron Griffin wrote:
>>>
>>>>
>>>> On Wed, Jan 28, 2009 at 11:25 PM, Allan McRae <allan@archlinux.org>
>>>> wrote:
>>>>
>>>>
>>>>>
>>>>> Andreas Radke wrote:
>>>>>
>>>>>
>>>>>>
>>>>>> Am Wed, 28 Jan 2009 19:31:13 -0600
>>>>>> schrieb Dan McGee <dpmcgee@gmail.com>:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> On Wed, Jan 28, 2009 at 4:20 PM, Aaron Griffin
>>>>>>> <aaronmgriffin@gmail.com> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> These three packages contain fixes for our core dep-cycle that was
>>>>>>>> discussed in another thread.
>>>>>>>>
>>>>>>>> Changes:
>>>>>>>> texinfo now scans *all* info files on install (not on upgrade)
>>>>>>>> - this means that packages do not need direct deps, as it will pick
>>>>>>>> up all info files when it's installed
>>>>>>>> glibc and bash no longer require/depend on texinfo
>>>>>>>> - existence of install-info is checked before running it
>>>>>>>>
>>>>>>>> Please signoff. The install ISOs need these packages to ensure
>>>>>>>> installation happens cleanly.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> $ pacSu --ignore openoffice-base
>>>>>>> :: Starting full system upgrade...
>>>>>>> warning: openoffice-base: ignoring package upgrade (3.0.0-4 =>
>>>>>>> 3.0.1-1) resolving dependencies...
>>>>>>> warning: dependency cycle detected:
>>>>>>> warning: glibc will be installed before its bash dependency
>>>>>>> looking for inter-conflicts...
>>>>>>>
>>>>>>> Something doesn't seem quite right here, I thought this resolved
>>>>>>> these
>>>>>>> issues? Or did that only pertain to info?
>>>>>>>
>>>>>>> -Dan
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> The update went smooth here with pacman from current.
>>>>>>
>>>>>> Everything's working here (x86_64). If the dep cycle is solved we will
>>>>>> see when we start testing the new ISOs.
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> There still appears to be some issues:
>>>>>
>>>>>
>>>>>
>>>>>>
>>>>>> sudo mkarchroot /home/tmp/root base
>>>>>>
>>>>>>
>>>>>
>>>>> ...
>>>>> Targets (102): kernel-headers-2.6.27.6-2 tzdata-2008i-1 glibc-2.9-3
>>>>> ncurses-5.7-2 texinfo-4.13a-2 readline-5.2.013-1
>>>>> bash-3.2.048-3 dash-0.5.5.1-1 attr-2.4.41-1 acl-2.2.47-1 ...
>>>>> warning: dependency cycle detected:
>>>>> warning: glibc will be installed before its bash dependency
>>>>> ...
>>>>> ( 1/102) installing kernel-headers
>>>>> [#####################]
>>>>> 100%
>>>>> ( 2/102) installing tzdata
>>>>> [#####################]
>>>>> 100%
>>>>> ( 3/102) installing glibc
>>>>> [#####################]
>>>>> 100%
>>>>> ( 4/102) installing ncurses
>>>>> [#####################]
>>>>> 100%
>>>>> ( 5/102) installing texinfo
>>>>> [#####################]
>>>>> 100%
>>>>> error: scriptlet failed to execute correctly
>>>>> ( 6/102) installing readline
>>>>> [#####################]
>>>>> 100%
>>>>> ( 7/102) installing bash
>>>>> [#####################]
>>>>> 100%
>>>>> ( 8/102) installing dash
>>>>> [#####################]
>>>>> 100%
>>>>> ( 9/102) installing attr
>>>>> [#####################]
>>>>> 100%
>>>>>
>>>>> Note that a "pacman -Rd texinfo" followed by "pacman -S --asdep
>>>>> texinfo"
>>>>> give no errors so it is an install order issue.
>>>>>
>>>>>
>>>>
>>>> Oh... the change in the scriptlet added a findutils dep. Totally
>>>> missed that. Could someone verify that adding that dep fixes that for
>>>> good?
>>>>
>>>>
>>>
>>> Building texinfo with findutils as a dep I get:
>>>
>>>
>>>>
>>>> sudo mkarchroot /home/tmp/root base
>>>>
>>>
>>> warning: dependency cycle detected:
>>> warning: bash will be installed before its glibc dependency
>>> warning: dependency cycle detected:
>>> warning: readline will be installed before its texinfo dependency
>>> warning: dependency cycle detected:
>>> warning: readline will be installed before its glibc dependency
>>> warning: dependency cycle detected:
>>> warning: ncurses will be installed before its glibc dependency
>>>
>>>
>>> ( 1/102) installing ncurses
>>> [#####################]
>>> 100%
>>> ( 2/102) installing readline
>>> [#####################]
>>> 100%
>>> ( 3/102) installing bash
>>> [#####################]
>>> 100%
>>> error: scriptlet failed to execute correctly
>>> ( 4/102) installing kernel-headers
>>> [#####################]
>>> 100%
>>> ( 5/102) installing tzdata
>>> [#####################]
>>> 100%
>>> ( 6/102) installing glibc
>>> [#####################]
>>> 100%
>>> ( 7/102) installing findutils
>>> [#####################]
>>> 100%
>>> ( 8/102) installing texinfo
>>> [#####################]
>>> 100%
>>>
>>> So I am thinking the bash/glibc cycle actually needs fixed to get things
>>> working. I will build glibc without bash as a dep now and see if that
>>> helps.
>>>
>>
>> Actually, I'm confused as to why the bash scriptlet would fail at
>> all... it only runs install-info and only if it is present. Sure you
>> used the latest version?
>>
>
> Definite:
> bash-3.2.048-3 glibc-2.9-3 texinfo-4.13a-3 (my rebuild with findutils as
> a dep)
>
> I don't understand this either... Rebuilding glibc without "sh" in the dep
> list gives:
>
>> sudo mkarchroot /home/tmp/root base
> ...
> ( 1/102) installing kernel-headers [#####################]
> 100%
> ( 2/102) installing tzdata [#####################]
> 100%
> ( 3/102) installing glibc [#####################]
> 100%
> ( 4/102) installing findutils [#####################]
> 100%
> ( 5/102) installing ncurses [#####################]
> 100%
> ( 6/102) installing texinfo [#####################]
> 100%
> error: scriptlet failed to execute correctly
> ( 7/102) installing readline [#####################]
> 100%
> ( 8/102) installing bash [#####################]
> 100%

Uh, wut? How about this: install those top 3 packages to the chroot,
then chroot into it and run "find /usr/share/info/ -type f ! -name
dir" and see if it fails
 
Old 01-29-2009, 06:23 AM
Aaron Griffin
 
Default bash 3.2.048-3, texinfo 4.13a-2, glibc 2.9-3

On Thu, Jan 29, 2009 at 1:23 AM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
> On Thu, Jan 29, 2009 at 1:03 AM, Allan McRae <allan@archlinux.org> wrote:
>> Aaron Griffin wrote:
>>>
>>> On Thu, Jan 29, 2009 at 12:08 AM, Allan McRae <allan@archlinux.org> wrote:
>>>
>>>>
>>>> Aaron Griffin wrote:
>>>>
>>>>>
>>>>> On Wed, Jan 28, 2009 at 11:25 PM, Allan McRae <allan@archlinux.org>
>>>>> wrote:
>>>>>
>>>>>
>>>>>>
>>>>>> Andreas Radke wrote:
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> Am Wed, 28 Jan 2009 19:31:13 -0600
>>>>>>> schrieb Dan McGee <dpmcgee@gmail.com>:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Jan 28, 2009 at 4:20 PM, Aaron Griffin
>>>>>>>> <aaronmgriffin@gmail.com> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>> These three packages contain fixes for our core dep-cycle that was
>>>>>>>>> discussed in another thread.
>>>>>>>>>
>>>>>>>>> Changes:
>>>>>>>>> texinfo now scans *all* info files on install (not on upgrade)
>>>>>>>>> - this means that packages do not need direct deps, as it will pick
>>>>>>>>> up all info files when it's installed
>>>>>>>>> glibc and bash no longer require/depend on texinfo
>>>>>>>>> - existence of install-info is checked before running it
>>>>>>>>>
>>>>>>>>> Please signoff. The install ISOs need these packages to ensure
>>>>>>>>> installation happens cleanly.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> $ pacSu --ignore openoffice-base
>>>>>>>> :: Starting full system upgrade...
>>>>>>>> warning: openoffice-base: ignoring package upgrade (3.0.0-4 =>
>>>>>>>> 3.0.1-1) resolving dependencies...
>>>>>>>> warning: dependency cycle detected:
>>>>>>>> warning: glibc will be installed before its bash dependency
>>>>>>>> looking for inter-conflicts...
>>>>>>>>
>>>>>>>> Something doesn't seem quite right here, I thought this resolved
>>>>>>>> these
>>>>>>>> issues? Or did that only pertain to info?
>>>>>>>>
>>>>>>>> -Dan
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> The update went smooth here with pacman from current.
>>>>>>>
>>>>>>> Everything's working here (x86_64). If the dep cycle is solved we will
>>>>>>> see when we start testing the new ISOs.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> There still appears to be some issues:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> sudo mkarchroot /home/tmp/root base
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ...
>>>>>> Targets (102): kernel-headers-2.6.27.6-2 tzdata-2008i-1 glibc-2.9-3
>>>>>> ncurses-5.7-2 texinfo-4.13a-2 readline-5.2.013-1
>>>>>> bash-3.2.048-3 dash-0.5.5.1-1 attr-2.4.41-1 acl-2.2.47-1 ...
>>>>>> warning: dependency cycle detected:
>>>>>> warning: glibc will be installed before its bash dependency
>>>>>> ...
>>>>>> ( 1/102) installing kernel-headers
>>>>>> [#####################]
>>>>>> 100%
>>>>>> ( 2/102) installing tzdata
>>>>>> [#####################]
>>>>>> 100%
>>>>>> ( 3/102) installing glibc
>>>>>> [#####################]
>>>>>> 100%
>>>>>> ( 4/102) installing ncurses
>>>>>> [#####################]
>>>>>> 100%
>>>>>> ( 5/102) installing texinfo
>>>>>> [#####################]
>>>>>> 100%
>>>>>> error: scriptlet failed to execute correctly
>>>>>> ( 6/102) installing readline
>>>>>> [#####################]
>>>>>> 100%
>>>>>> ( 7/102) installing bash
>>>>>> [#####################]
>>>>>> 100%
>>>>>> ( 8/102) installing dash
>>>>>> [#####################]
>>>>>> 100%
>>>>>> ( 9/102) installing attr
>>>>>> [#####################]
>>>>>> 100%
>>>>>>
>>>>>> Note that a "pacman -Rd texinfo" followed by "pacman -S --asdep
>>>>>> texinfo"
>>>>>> give no errors so it is an install order issue.
>>>>>>
>>>>>>
>>>>>
>>>>> Oh... the change in the scriptlet added a findutils dep. Totally
>>>>> missed that. Could someone verify that adding that dep fixes that for
>>>>> good?
>>>>>
>>>>>
>>>>
>>>> Building texinfo with findutils as a dep I get:
>>>>
>>>>
>>>>>
>>>>> sudo mkarchroot /home/tmp/root base
>>>>>
>>>>
>>>> warning: dependency cycle detected:
>>>> warning: bash will be installed before its glibc dependency
>>>> warning: dependency cycle detected:
>>>> warning: readline will be installed before its texinfo dependency
>>>> warning: dependency cycle detected:
>>>> warning: readline will be installed before its glibc dependency
>>>> warning: dependency cycle detected:
>>>> warning: ncurses will be installed before its glibc dependency
>>>>
>>>>
>>>> ( 1/102) installing ncurses
>>>> [#####################]
>>>> 100%
>>>> ( 2/102) installing readline
>>>> [#####################]
>>>> 100%
>>>> ( 3/102) installing bash
>>>> [#####################]
>>>> 100%
>>>> error: scriptlet failed to execute correctly
>>>> ( 4/102) installing kernel-headers
>>>> [#####################]
>>>> 100%
>>>> ( 5/102) installing tzdata
>>>> [#####################]
>>>> 100%
>>>> ( 6/102) installing glibc
>>>> [#####################]
>>>> 100%
>>>> ( 7/102) installing findutils
>>>> [#####################]
>>>> 100%
>>>> ( 8/102) installing texinfo
>>>> [#####################]
>>>> 100%
>>>>
>>>> So I am thinking the bash/glibc cycle actually needs fixed to get things
>>>> working. I will build glibc without bash as a dep now and see if that
>>>> helps.
>>>>
>>>
>>> Actually, I'm confused as to why the bash scriptlet would fail at
>>> all... it only runs install-info and only if it is present. Sure you
>>> used the latest version?
>>>
>>
>> Definite:
>> bash-3.2.048-3 glibc-2.9-3 texinfo-4.13a-3 (my rebuild with findutils as
>> a dep)
>>
>> I don't understand this either... Rebuilding glibc without "sh" in the dep
>> list gives:
>>
>>> sudo mkarchroot /home/tmp/root base
>> ...
>> ( 1/102) installing kernel-headers [#####################]
>> 100%
>> ( 2/102) installing tzdata [#####################]
>> 100%
>> ( 3/102) installing glibc [#####################]
>> 100%
>> ( 4/102) installing findutils [#####################]
>> 100%
>> ( 5/102) installing ncurses [#####################]
>> 100%
>> ( 6/102) installing texinfo [#####################]
>> 100%
>> error: scriptlet failed to execute correctly
>> ( 7/102) installing readline [#####################]
>> 100%
>> ( 8/102) installing bash [#####################]
>> 100%
>
> Uh, wut? How about this: install those top 3 packages to the chroot,
> then chroot into it and run "find /usr/share/info/ -type f ! -name
> dir" and see if it fails

I meant "top 5 packages"
 
Old 01-29-2009, 06:51 AM
Aaron Griffin
 
Default bash 3.2.048-3, texinfo 4.13a-2, glibc 2.9-3

On Thu, Jan 29, 2009 at 1:46 AM, Allan McRae <allan@archlinux.org> wrote:
> Allan McRae wrote:
>>
>> Aaron Griffin wrote:
>>>
>>> On Thu, Jan 29, 2009 at 1:23 AM, Aaron Griffin <aaronmgriffin@gmail.com>
>>> wrote:
>>>
>>>>
>>>> On Thu, Jan 29, 2009 at 1:03 AM, Allan McRae <allan@archlinux.org>
>>>> wrote:
>>>>
>>>>>
>>>>> Aaron Griffin wrote:
>>>>>
>>>>>>
>>>>>> On Thu, Jan 29, 2009 at 12:08 AM, Allan McRae <allan@archlinux.org>
>>>>>> wrote:
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> Aaron Griffin wrote:
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Jan 28, 2009 at 11:25 PM, Allan McRae <allan@archlinux.org>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Andreas Radke wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Am Wed, 28 Jan 2009 19:31:13 -0600
>>>>>>>>>> schrieb Dan McGee <dpmcgee@gmail.com>:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Wed, Jan 28, 2009 at 4:20 PM, Aaron Griffin
>>>>>>>>>>> <aaronmgriffin@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> These three packages contain fixes for our core dep-cycle that
>>>>>>>>>>>> was
>>>>>>>>>>>> discussed in another thread.
>>>>>>>>>>>>
>>>>>>>>>>>> Changes:
>>>>>>>>>>>> texinfo now scans *all* info files on install (not on upgrade)
>>>>>>>>>>>> - this means that packages do not need direct deps, as it will
>>>>>>>>>>>> pick
>>>>>>>>>>>> up all info files when it's installed
>>>>>>>>>>>> glibc and bash no longer require/depend on texinfo
>>>>>>>>>>>> - existence of install-info is checked before running it
>>>>>>>>>>>>
>>>>>>>>>>>> Please signoff. The install ISOs need these packages to ensure
>>>>>>>>>>>> installation happens cleanly.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> $ pacSu --ignore openoffice-base
>>>>>>>>>>> :: Starting full system upgrade...
>>>>>>>>>>> warning: openoffice-base: ignoring package upgrade (3.0.0-4 =>
>>>>>>>>>>> 3.0.1-1) resolving dependencies...
>>>>>>>>>>> warning: dependency cycle detected:
>>>>>>>>>>> warning: glibc will be installed before its bash dependency
>>>>>>>>>>> looking for inter-conflicts...
>>>>>>>>>>>
>>>>>>>>>>> Something doesn't seem quite right here, I thought this resolved
>>>>>>>>>>> these
>>>>>>>>>>> issues? Or did that only pertain to info?
>>>>>>>>>>>
>>>>>>>>>>> -Dan
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> The update went smooth here with pacman from current.
>>>>>>>>>>
>>>>>>>>>> Everything's working here (x86_64). If the dep cycle is solved we
>>>>>>>>>> will
>>>>>>>>>> see when we start testing the new ISOs.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> There still appears to be some issues:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> sudo mkarchroot /home/tmp/root base
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ...
>>>>>>>>> Targets (102): kernel-headers-2.6.27.6-2 tzdata-2008i-1
>>>>>>>>> glibc-2.9-3
>>>>>>>>> ncurses-5.7-2 texinfo-4.13a-2 readline-5.2.013-1
>>>>>>>>> bash-3.2.048-3 dash-0.5.5.1-1 attr-2.4.41-1 acl-2.2.47-1 ...
>>>>>>>>> warning: dependency cycle detected:
>>>>>>>>> warning: glibc will be installed before its bash dependency
>>>>>>>>> ...
>>>>>>>>> ( 1/102) installing kernel-headers
>>>>>>>>> [#####################]
>>>>>>>>> 100%
>>>>>>>>> ( 2/102) installing tzdata
>>>>>>>>> [#####################]
>>>>>>>>> 100%
>>>>>>>>> ( 3/102) installing glibc
>>>>>>>>> [#####################]
>>>>>>>>> 100%
>>>>>>>>> ( 4/102) installing ncurses
>>>>>>>>> [#####################]
>>>>>>>>> 100%
>>>>>>>>> ( 5/102) installing texinfo
>>>>>>>>> [#####################]
>>>>>>>>> 100%
>>>>>>>>> error: scriptlet failed to execute correctly
>>>>>>>>> ( 6/102) installing readline
>>>>>>>>> [#####################]
>>>>>>>>> 100%
>>>>>>>>> ( 7/102) installing bash
>>>>>>>>> [#####################]
>>>>>>>>> 100%
>>>>>>>>> ( 8/102) installing dash
>>>>>>>>> [#####################]
>>>>>>>>> 100%
>>>>>>>>> ( 9/102) installing attr
>>>>>>>>> [#####################]
>>>>>>>>> 100%
>>>>>>>>>
>>>>>>>>> Note that a "pacman -Rd texinfo" followed by "pacman -S --asdep
>>>>>>>>> texinfo"
>>>>>>>>> give no errors so it is an install order issue.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> Oh... the change in the scriptlet added a findutils dep. Totally
>>>>>>>> missed that. Could someone verify that adding that dep fixes that
>>>>>>>> for
>>>>>>>> good?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> Building texinfo with findutils as a dep I get:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> sudo mkarchroot /home/tmp/root base
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> warning: dependency cycle detected:
>>>>>>> warning: bash will be installed before its glibc dependency
>>>>>>> warning: dependency cycle detected:
>>>>>>> warning: readline will be installed before its texinfo dependency
>>>>>>> warning: dependency cycle detected:
>>>>>>> warning: readline will be installed before its glibc dependency
>>>>>>> warning: dependency cycle detected:
>>>>>>> warning: ncurses will be installed before its glibc dependency
>>>>>>>
>>>>>>>
>>>>>>> ( 1/102) installing ncurses
>>>>>>> [#####################]
>>>>>>> 100%
>>>>>>> ( 2/102) installing readline
>>>>>>> [#####################]
>>>>>>> 100%
>>>>>>> ( 3/102) installing bash
>>>>>>> [#####################]
>>>>>>> 100%
>>>>>>> error: scriptlet failed to execute correctly
>>>>>>> ( 4/102) installing kernel-headers
>>>>>>> [#####################]
>>>>>>> 100%
>>>>>>> ( 5/102) installing tzdata
>>>>>>> [#####################]
>>>>>>> 100%
>>>>>>> ( 6/102) installing glibc
>>>>>>> [#####################]
>>>>>>> 100%
>>>>>>> ( 7/102) installing findutils
>>>>>>> [#####################]
>>>>>>> 100%
>>>>>>> ( 8/102) installing texinfo
>>>>>>> [#####################]
>>>>>>> 100%
>>>>>>>
>>>>>>> So I am thinking the bash/glibc cycle actually needs fixed to get
>>>>>>> things
>>>>>>> working. I will build glibc without bash as a dep now and see if
>>>>>>> that
>>>>>>> helps.
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> Actually, I'm confused as to why the bash scriptlet would fail at
>>>>>> all... it only runs install-info and only if it is present. Sure you
>>>>>> used the latest version?
>>>>>>
>>>>>>
>>>>>
>>>>> Definite:
>>>>> bash-3.2.048-3 glibc-2.9-3 texinfo-4.13a-3 (my rebuild with
>>>>> findutils as
>>>>> a dep)
>>>>>
>>>>> I don't understand this either... Rebuilding glibc without "sh" in
>>>>> the dep
>>>>> list gives:
>>>>>
>>>>>
>>>>>>
>>>>>> sudo mkarchroot /home/tmp/root base
>>>>>>
>>>>>
>>>>> ...
>>>>> ( 1/102) installing kernel-headers
>>>>> [#####################]
>>>>> 100%
>>>>> ( 2/102) installing tzdata
>>>>> [#####################]
>>>>> 100%
>>>>> ( 3/102) installing glibc
>>>>> [#####################]
>>>>> 100%
>>>>> ( 4/102) installing findutils
>>>>> [#####################]
>>>>> 100%
>>>>> ( 5/102) installing ncurses
>>>>> [#####################]
>>>>> 100%
>>>>> ( 6/102) installing texinfo
>>>>> [#####################]
>>>>> 100%
>>>>> error: scriptlet failed to execute correctly
>>>>> ( 7/102) installing readline
>>>>> [#####################]
>>>>> 100%
>>>>> ( 8/102) installing bash
>>>>> [#####################]
>>>>> 100%
>>>>>
>>>>
>>>> Uh, wut? How about this: install those top 3 packages to the chroot,
>>>> then chroot into it and run "find /usr/share/info/ -type f ! -name
>>>> dir" and see if it fails
>>>>
>>>
>>> I meant "top 5 packages"
>>>
>>
>> So the big hint on how to fix this is that some info pages are
>> compressed....
>>
>> Changes that need made to fix this:
>> texinfo: add findutils and gzip as deps
>> glibc: remove sh from deps
>>
>> Once that is done I get no install script errors when creating a chroot
>> with all of base.
>>
>> However it creates another loop:
>> warning: readline will be installed before its texinfo dependency
>> gzip->bash->readline->texinfo->gzip
>>
>> And this creates an error in the texinfo install when I make a chroot
>> with:
>> kernel26 pacman grub initscripts sysvinit.
>
> I think gzip only depends on bash for /bin/zcat, so we could just make bash
> an optdepend for gzip and fix that.

Or we could also fix the readline scriptlet in the same way as bash/glibc.

Allan, would you be able to commit these changes to svn trunk? I'm
going to sleep, but will rebuild all packages in the morning.
 
Old 01-29-2009, 12:20 PM
Dan McGee
 
Default bash 3.2.048-3, texinfo 4.13a-2, glibc 2.9-3

On Thu, Jan 29, 2009 at 1:40 AM, Allan McRae <allan@archlinux.org> wrote:
> So the big hint on how to fix this is that some info pages are
> compressed....
>
> Changes that need made to fix this:
> texinfo: add findutils and gzip as deps
> glibc: remove sh from deps
>
> Once that is done I get no install script errors when creating a chroot with
> all of base.
>
> However it creates another loop:
> warning: readline will be installed before its texinfo dependency
> gzip->bash->readline->texinfo->gzip

So how bad does Arch break by replacing /bin/sh with a link to dash
instead of bash? Dash has zero deps, so my guess is we could kill just
about any dep cycle involving bash by doing this. There is going to be
definite fallout, however, and I haven't tried it in a while.

> And this creates an error in the texinfo install when I make a chroot with:
> kernel26 pacman grub initscripts sysvinit.

-Dan
 
Old 01-29-2009, 02:58 PM
Daenyth Blank
 
Default bash 3.2.048-3, texinfo 4.13a-2, glibc 2.9-3

On Thu, Jan 29, 2009 at 08:20, Dan McGee <dpmcgee@gmail.com> wrote:
> So how bad does Arch break by replacing /bin/sh with a link to dash
> instead of bash? Dash has zero deps, so my guess is we could kill just
> about any dep cycle involving bash by doing this. There is going to be
> definite fallout, however, and I haven't tried it in a while.
> -Dan
>

I don't know how much it would break things, but I do like linking sh
to dash in general. Just change the initscripts to use #!/bin/bash
instead of /bin/sh (Which they should anyway if they don't, as they
use bashisms)

If you make sure all the bash-specific scripts are properly she-banged
it shouldn't matter, since dash as sh should only be needed during an
install (if I understand correctly)

So +1 from me.
 

Thread Tools




All times are GMT. The time now is 07:13 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org