[ 
https://issues.apache.org/jira/browse/PROTON-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16377547#comment-16377547
 ] 

Justin Ross commented on PROTON-1775:
-------------------------------------

Multilib rpms require that content outside the library paths have identical 
content.  When we run the doc generation, one time for each arch, we get 
differing files because of this:
{noformat}
<div id="footer">
Generated on Tue Feb 20 11:18:12 2018 by
<a href="http://yardoc.org"; title="Yay! A Ruby Documentation Tool" 
target="_parent">yard</a>
0.9.8 (ruby-2.4.2).
</div>{noformat}
IOW, doc generation is not repeatable the way our build system likes it.  Some 
doc gen tools have a way to suppress the timestamp.

This problem comes up fairly frequently.  You can bet there's an SO post about 
it, and there is!

[https://stackoverflow.com/questions/10959850/how-to-customize-diff-git-to-ignore-yard-date-generation]

I gather from that discussion that yard doesn't give you a convenient way to 
avoid the timestamp.  It may be best to do some post-processing.

> rubygem doc is not multilib-clean for x86_64 vs i686
> ----------------------------------------------------
>
>                 Key: PROTON-1775
>                 URL: https://issues.apache.org/jira/browse/PROTON-1775
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: ruby-binding
>            Reporter: Irina Boverman
>            Assignee: Alan Conway
>            Priority: Major
>
> RHEL 6:
> Subpackage rubygem-qpid_proton-doc is not multilib-clean for x86_64 vs i686: 
> 166 files have non-equal 32/64bit content: 
> /usr/lib/ruby/gems/1.8/doc/qpid_proton-0.20.0/ri/created.rid 
> /usr/lib/ruby/gems/1.8/doc/qpid_proton-0.20.0/ri/Qpid/Proton/cdesc-Proton.yaml
>  
> /usr/lib/ruby/gems/1.8/doc/qpid_proton-0.20.0/ri/Qpid/Proton/Codec/cdesc-Codec.yaml
>  /usr/lib/ruby/gems/1.8/doc/qpid_proton-0.20.0/rdoc/index.html 
> /usr/lib/ruby/gems/1.8/doc/qpid_proton-0.20.0/rdoc/fr_method_index.html 
> /usr/lib/ruby/gems/1.8/doc/qpid_proton-0.20.0/rdoc/files/lib/util/wrapper_rb.html
>  
> /usr/lib/ruby/gems/1.8/doc/qpid_proton-0.20.0/rdoc/files/lib/util/version_rb.html
>  
> /usr/lib/ruby/gems/1.8/doc/qpid_proton-0.20.0/rdoc/files/lib/util/timeout_rb.html
>  
> /usr/lib/ruby/gems/1.8/doc/qpid_proton-0.20.0/rdoc/files/lib/util/error_handler_rb.html
>  
> /usr/lib/ruby/gems/1.8/doc/qpid_proton-0.20.0/rdoc/files/lib/util/deprecation_rb.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to