Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727832 - net-mail/imapsync-1.977 calls commands that do not exist
Summary: net-mail/imapsync-1.977 calls commands that do not exist
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-10 12:56 UTC by Agostino Sarubbo
Modified: 2023-12-20 05:34 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,7.56 KB, text/plain)
2020-06-10 12:56 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-06-10 12:56:36 UTC
@@This is an auto-filed bug@@
If you think that a different summary clarifies the issue better, feel free to change it.

Issue: net-mail/imapsync calls commands that do not exist.
Discovered on: amd64
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-10 12:56:41 UTC
Created attachment 644288 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-06-10 12:59:31 UTC
@ portage guys:

can you explain why in this build log there isn't a qa notice about a command not found?  TIA
Comment 3 Arfrever Frehtes Taifersar Arahesis 2020-06-11 23:27:39 UTC
https://gitweb.gentoo.org/proj/portage.git/tree/lib/portage/package/ebuild/doebuild.py?id=878eddfea083eda5aea60510aa1c4e9145f26b99#n1799
	bash_command_not_found_re = re.compile(
		r'(.*): line (\d*): (.*): command not found$')

This regular expression does not match "/bin/sh: lsb_release: command not found".
Comment 4 Agostino Sarubbo gentoo-dev 2020-06-16 12:12:53 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #3)
> https://gitweb.gentoo.org/proj/portage.git/tree/lib/portage/package/ebuild/
> doebuild.py?id=878eddfea083eda5aea60510aa1c4e9145f26b99#n1799
> 	bash_command_not_found_re = re.compile(
> 		r'(.*): line (\d*): (.*): command not found$')
> 
> This regular expression does not match "/bin/sh: lsb_release: command not
> found".

Does it worth add a catch for that?
Comment 5 Agostino Sarubbo gentoo-dev 2021-11-05 16:57:33 UTC
tinderbox has reproduced this issue with version 1.977 - Updating summary.
Comment 6 Zac Medico gentoo-dev 2021-11-05 23:49:58 UTC
(In reply to Agostino Sarubbo from comment #4)
> (In reply to Arfrever Frehtes Taifersar Arahesis from comment #3)
> > https://gitweb.gentoo.org/proj/portage.git/tree/lib/portage/package/ebuild/
> > doebuild.py?id=878eddfea083eda5aea60510aa1c4e9145f26b99#n1799
> > 	bash_command_not_found_re = re.compile(
> > 		r'(.*): line (\d*): (.*): command not found$')
> > 
> > This regular expression does not match "/bin/sh: lsb_release: command not
> > found".
> 
> Does it worth add a catch for that?

Sure. It looks like /bin/sh is not bash, so which shell is it?
Comment 7 Larry the Git Cow gentoo-dev 2021-11-06 00:00:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=105ee673c0cc84877a6b9841d05e82e0cd808bae

commit 105ee673c0cc84877a6b9841d05e82e0cd808bae
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2021-11-05 23:54:52 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2021-11-05 23:59:36 +0000

    net-mail/imapsync: Add lsb-release BDEPEND
    
    Closes: https://bugs.gentoo.org/727832
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 net-mail/imapsync/imapsync-1.977.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 8 Zac Medico gentoo-dev 2021-11-06 00:07:25 UTC
(In reply to Zac Medico from comment #6)
> (In reply to Agostino Sarubbo from comment #4)
> > (In reply to Arfrever Frehtes Taifersar Arahesis from comment #3)
> > > https://gitweb.gentoo.org/proj/portage.git/tree/lib/portage/package/ebuild/
> > > doebuild.py?id=878eddfea083eda5aea60510aa1c4e9145f26b99#n1799
> > > 	bash_command_not_found_re = re.compile(
> > > 		r'(.*): line (\d*): (.*): command not found$')
> > > 
> > > This regular expression does not match "/bin/sh: lsb_release: command not
> > > found".
> > 
> > Does it worth add a catch for that?
> 
> Sure. It looks like /bin/sh is not bash, so which shell is it?

Looks like busybox. Filed as bug 822033.