<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3480823892922341331</id><updated>2012-04-15T19:47:49.420-07:00</updated><category term='libyahoo2'/><category term='Work'/><category term='Fedora'/><category term='Apache'/><category term='movies'/><category term='nba'/><category term='books'/><category term='Linux'/><category term='Proxy'/><category term='Economics'/><title type='text'>Ray's Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rayvd.fedorapeople.org/blog/atom.xml'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3480823892922341331/posts/default/-/Fedora'/><link rel='alternate' type='text/html' href='http://rayvd.fedorapeople.org/blog/labels/Fedora.html'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ray Van Dolson</name><uri>http://www.blogger.com/profile/00091193292403114625</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3480823892922341331.post-1907514643301583730</id><published>2008-06-01T13:49:00.001-07:00</published><updated>2008-06-01T14:06:21.714-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='libyahoo2'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>Argh!</title><content type='html'>So my libyahoo2 package was finally approved for inclusion into Fedora.  Branches were set up and I was ready to go; should be simple right?  Not...&lt;br /&gt;&lt;br /&gt;As soon as I imported my package I found out it wouldn't build in Fedora 9 or Fedora rawhide (Koji told me this).  An examination of the logs showed some weird errors accessing a hostent struct.  Upon examination of the source it seems that the Fedora 9 and later glibc headers have slightly changed the hostent struct.  The old functionality is still available if your code is build using the _GNU_SOURCE define.  D'oh!&lt;br /&gt;&lt;br /&gt;I tested this and the code built find if I added -D_GNU_SOURCE to my Makefile.  But what was the right way to get this into Fedora?  I either had to make a patch for this against the libyahoo2 0.7.6 sources or get upstream to change this for me.  Since I recently received access to libyahoo2 upstream I chose the latter.&lt;br /&gt;&lt;br /&gt;The "right" way to do this seems to be to modify the configure.ac file to include a simple macro:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;AC_GNU_SOURCE&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;So, with this completed, I proceeded to release libyahoo2 0.7.6.1.  Which I'd totally forgotten how to do properly so this time I wrote up instructions in my wiki so next time I'd remember.&lt;br /&gt;&lt;br /&gt;Finally I went to rebuild my RPM with the new version of libyahoo2.  Bah, still fails!  After more tinkering in my own mock setups I realized I needed to add a couple BuildRequires for glib2-devel and pkgconfig.  I sent my changes to the Fedora CVS server and ran make build again.  Failure once more.  Seemingly on the same error... apparently Koji must cache based on tags.  So I bumped the release version up by 1, re-tagged and rebuilt.  Now everything works fine!&lt;br /&gt;&lt;br /&gt;What an ordeal. :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3480823892922341331-1907514643301583730?l=rayvd.fedorapeople.org/blog' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/3480823892922341331/1907514643301583730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3480823892922341331&amp;postID=1907514643301583730' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3480823892922341331/posts/default/1907514643301583730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3480823892922341331/posts/default/1907514643301583730'/><link rel='alternate' type='text/html' href='http://rayvd.fedorapeople.org/blog/2008/06/test-post.html' title='Argh!'/><author><name>Ray Van Dolson</name><uri>http://www.blogger.com/profile/00091193292403114625</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
