Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496194 - app-portage/metagen - confusing error message "!!! Nbr descs > nbr emails"
Summary: app-portage/metagen - confusing error message "!!! Nbr descs > nbr emails"
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jesus Rivero (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-27 16:41 UTC by Jonas Stein
Modified: 2014-01-01 20:28 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Stein gentoo-dev 2013-12-27 16:41:09 UTC
The following error message is unclear: 

!!! Nbr descs > nbr emails
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-27 17:10:38 UTC
What was the command you ran?
Comment 2 Jonas Stein gentoo-dev 2013-12-27 18:09:51 UTC
(edited the names for the bug report)

# cd /usr/local/portage/sci-physics/clip
# metagen -e "news@jonasstein.de" -n "J S" -d "O S is maintainer of clip4 itself, J S generated the gentoo ebuild"
!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'
!!! Nbr descs > nbr emails
Comment 3 Jesus Rivero (RETIRED) gentoo-dev 2013-12-31 16:02:49 UTC
(In reply to Jonas Stein from comment #2)
> (edited the names for the bug report)
> 
> # cd /usr/local/portage/sci-physics/clip
> # metagen -e "news@jonasstein.de" -n "J S" -d "O S is maintainer of clip4
> itself, J S generated the gentoo ebuild"
> !!! Found 2 make.conf files, using both '/etc/make.conf' and
> '/etc/portage/make.conf'
> !!! Nbr descs > nbr emails

Hi Jonas, 

In metagen, the -d stands for description of the maintainer and it is paired with -e. Since this is so, -d descriptions are split by ',' (commas) to pair them with the emails from -e. Like:

metagen -e "neurogeek@gentoo.org,otherdev@gentoo.org" -d "first dev description,second dev description" ...

The error actually means that the number of descriptions (Nbr descs) is greater than the number of emails (Nbr emails), hence the Nbr descs > nbr emails error msg.

Just replace the comma in your -d for something else, like a dot.

Cheers,
Comment 4 Jonas Stein gentoo-dev 2014-01-01 20:28:36 UTC
Hi Jesus,
thank you for your explanation. Now I understand the message better. 
Would it be possible to change the message
"!!! Nbr descs > nbr emails" 
to a clear sentence like
!!! Number of recognized descriptions is greater than the number of provided mailaddresses.
or 
!!! more descriptions than mailaddresses found
Best,