Bug 511668

Summary: FTBFS knm_new-fonts-1.1-5.fc11
Product: [Fedora] Fedora Reporter: FTBFS <ftbfs>
Component: knm_new-fontsAssignee: Akira TAGOH <tagoh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: fonts-bugs, i18n-bugs, matt_domsch, nicolas.mailhot, tagoh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://linux.dell.com/files/fedora/FixBuildRequires/mock-results/
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-22 19:54:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 528675    
Bug Blocks: 511348    
Attachments:
Description Flags
root.log
none
build.log
none
mock.log
none
root.log
none
build.log
none
mock.log none

Description FTBFS 2009-07-15 03:46:07 UTC
knm_new-fonts-1.1-5.fc11.src.rpm Failed To Build From Source against the rawhide tree.  See http://fedoraproject.org/wiki/FTBFS for more information.

Comment 1 FTBFS 2009-07-15 03:46:10 UTC
Setting to ASSIGNED per Fedora Bug Triage workflow.  https://fedoraproject.org/wiki/BugZappers/BugStatusWorkFlow

Comment 2 FTBFS 2009-07-15 03:46:13 UTC
Created attachment 353064 [details]
root.log

root.log for i386

Comment 3 FTBFS 2009-07-15 03:46:14 UTC
Created attachment 353065 [details]
build.log

build.log for i386

Comment 4 FTBFS 2009-07-15 03:46:15 UTC
Created attachment 353066 [details]
mock.log

mock.log for i386

Comment 5 FTBFS 2009-07-15 03:46:16 UTC
Created attachment 353067 [details]
root.log

root.log for x86_64

Comment 6 FTBFS 2009-07-15 03:46:17 UTC
Created attachment 353068 [details]
build.log

build.log for x86_64

Comment 7 FTBFS 2009-07-15 03:46:18 UTC
Created attachment 353069 [details]
mock.log

mock.log for x86_64

Comment 8 Akira TAGOH 2009-07-17 11:54:18 UTC
The reason why this failed is:
Generating content for font package: knm-new-fonts  
error: line 53: Package does not exist: %post -n knm-new-fonts  


As in Package Naming Guidelines, this package is included in a kind of exceptions for the underscore rule. http://fedoraproject.org/wiki/Packaging:NamingGuidelines#Separators

Reassigning to fontpackages so far, but not using fontpackages may be an option for this fix perhaps?

Comment 9 Nicolas Mailhot 2009-07-17 17:35:53 UTC
(In reply to comment #8)
> The reason why this failed is:
> Generating content for font package: knm-new-fonts  
> error: line 53: Package does not exist: %post -n knm-new-fonts  

Well, fontpackages used to do no processing on the name the packager gave to 
%_font_pkg and many packagers got it wrong, resulting in lots of back and forth getting them to fix it. So now it massages the name given in argument to try to correct it. It fixes many human problems and improves packager poductivity.

> As in Package Naming Guidelines, this package is included in a kind of
> exceptions for the underscore rule.
> http://fedoraproject.org/wiki/Packaging:NamingGuidelines#Separators

I *really* do not want to add any more package naming processing to fontpackages. It is already quite over-engineered without needing to handle a fixed list of historical exceptions to guidelines. Given that this is the *only* font package that fails because of an underline, would it be possible to rename it to use the standard fedora package name separator ?

I'm quite sure the guidelines exception list was written to avoid unnecessary work on existing packages, but trying to maintain it will have the reverse effect now.

Comment 10 Nicolas Mailhot 2009-07-17 17:36:42 UTC
BTW looking at the font files they declare a generic name (Fixed) which seems not quite right to me. It will collide with other packages

Comment 11 Akira TAGOH 2009-07-21 07:56:28 UTC
(In reply to comment #9)
> Well, fontpackages used to do no processing on the name the packager gave to 
> %_font_pkg and many packagers got it wrong, resulting in lots of back and forth
> getting them to fix it. So now it massages the name given in argument to try to
> correct it. It fixes many human problems and improves packager poductivity.

That's really nice feature though.

> I *really* do not want to add any more package naming processing to
> fontpackages. It is already quite over-engineered without needing to handle a
> fixed list of historical exceptions to guidelines. Given that this is the
> *only* font package that fails because of an underline, would it be possible to
> rename it to use the standard fedora package name separator ?
> 
> I'm quite sure the guidelines exception list was written to avoid unnecessary
> work on existing packages, but trying to maintain it will have the reverse
> effect now.  

We've missed upstream contact already as upstream URL has been commented out in the spec. no way of telling them to rename the font name either. "knm_new" is really upstream name and it should matches to the exception reason but just not to avoid the unnecessary work on existing packages.

(In reply to comment #10)
> BTW looking at the font files they declare a generic name (Fixed) which seems
> not quite right to me. It will collide with other packages  

Sure. it was supposed to work an alternative of better "Fixed" font for Japanese support though.

Comment 12 Nicolas Mailhot 2009-07-21 08:26:26 UTC
(In reply to comment #11)
>  "knm_new" is
> really upstream name and it should matches to the exception reason but just not
> to avoid the unnecessary work on existing packages.

We do minor naming adjustments to the package names all the time (our Apache package is even named "httpd" which has almost nothing in common with upstream naming). I don't see what would be so difficult about using knm-new and avoid all kinds of special casing. It's really a minor change and we've done a lot more over the years.

We try to keep as close as possible to upstream names because mis-attributing Bill's work to Bob is very bad mojo, but staying close has never been 100% identical and in this particular case I don't think there would be any ambiguity on the font authors even with knm-new

Comment 13 Matt Domsch 2009-10-22 19:48:18 UTC
http://koji.fedoraproject.org/koji/buildinfo?buildID=118901

was the last build, which failed.

Comment 14 Nicolas Mailhot 2009-10-22 19:54:43 UTC

*** This bug has been marked as a duplicate of bug 528675 ***