<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/dia2code/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/dia2code/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 15 Sep 2024 10:31:10 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/dia2code/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#29 Compilation fails when autotools is not installed.</title><link>https://sourceforge.net/p/dia2code/bugs/29/?limit=25#e28f</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for reporting.&lt;br/&gt;
Addressed by commit &lt;a class="" href="https://sourceforge.net/p/dia2code/git/ci/961a597154145fa5adcc94496dda55068cb0f0ee"&gt;961a597&lt;/a&gt;.&lt;br/&gt;
It would be great if you could test whether this works for you.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oliver Kellogg</dc:creator><pubDate>Sun, 15 Sep 2024 10:31:10 -0000</pubDate><guid>https://sourceforge.net3b47dfe8597b1ed1a04ada697fa04ad908ddd2b7</guid></item><item><title>#29 Compilation fails when autotools is not installed.</title><link>https://sourceforge.net/p/dia2code/bugs/29/?limit=25#790c</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oliver Kellogg</dc:creator><pubDate>Sun, 15 Sep 2024 08:11:55 -0000</pubDate><guid>https://sourceforge.netf5ac0ad8891fe799a0fdbf592b70a0178a632e96</guid></item><item><title>#27 Compilation fails when OS does not provide strndup</title><link>https://sourceforge.net/p/dia2code/bugs/27/?limit=25#64d0</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: accepted --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oliver Kellogg</dc:creator><pubDate>Sun, 15 Sep 2024 08:09:58 -0000</pubDate><guid>https://sourceforge.net955b7622e188160e412b4fa2b7675a3ae07ba12e</guid></item><item><title>Compilation fails when autotools is not installed.</title><link>https://sourceforge.net/p/dia2code/bugs/29/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The release tarball of dia2code, like most autotools using projects, contains a pregenerated configure script, Makefile.in, etc. Unfortunately, it is broken and nonfunctional.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;$&lt;span class="w"&gt; &lt;/span&gt;./configure
&lt;span class="o"&gt;[&lt;/span&gt;...&lt;span class="o"&gt;]&lt;/span&gt;
$&lt;span class="w"&gt; &lt;/span&gt;make
&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;CDPATH&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="si"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;ZSH_VERSION&lt;/span&gt;&lt;span class="p"&gt;+.&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;:"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;cd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;.&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;/bin/sh&lt;span class="w"&gt; &lt;/span&gt;/tmp/dia2code-1.0.0/missing&lt;span class="w"&gt; &lt;/span&gt;autoheader&lt;span class="o"&gt;)&lt;/span&gt;
/tmp/dia2code-1.0.0/missing:&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;81&lt;/span&gt;:&lt;span class="w"&gt; &lt;/span&gt;autoheader:&lt;span class="w"&gt; &lt;/span&gt;not&lt;span class="w"&gt; &lt;/span&gt;found
WARNING:&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;'autoheader'&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;is&lt;span class="w"&gt; &lt;/span&gt;missing&lt;span class="w"&gt; &lt;/span&gt;on&lt;span class="w"&gt; &lt;/span&gt;your&lt;span class="w"&gt; &lt;/span&gt;system.
&lt;span class="w"&gt;         &lt;/span&gt;You&lt;span class="w"&gt; &lt;/span&gt;should&lt;span class="w"&gt; &lt;/span&gt;only&lt;span class="w"&gt; &lt;/span&gt;need&lt;span class="w"&gt; &lt;/span&gt;it&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;you&lt;span class="w"&gt; &lt;/span&gt;modified&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;'acconfig.h'&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;or
&lt;span class="w"&gt;         &lt;/span&gt;&lt;span class="s1"&gt;'configure.ac'&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;or&lt;span class="w"&gt; &lt;/span&gt;m4&lt;span class="w"&gt; &lt;/span&gt;files&lt;span class="w"&gt; &lt;/span&gt;included&lt;span class="w"&gt; &lt;/span&gt;by&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;'configure.ac'&lt;/span&gt;.
&lt;span class="w"&gt;         &lt;/span&gt;The&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;'autoheader'&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;program&lt;span class="w"&gt; &lt;/span&gt;is&lt;span class="w"&gt; &lt;/span&gt;part&lt;span class="w"&gt; &lt;/span&gt;of&lt;span class="w"&gt; &lt;/span&gt;the&lt;span class="w"&gt; &lt;/span&gt;GNU&lt;span class="w"&gt; &lt;/span&gt;Autoconf&lt;span class="w"&gt; &lt;/span&gt;package:
&lt;span class="w"&gt;         &lt;/span&gt;&amp;lt;http://www.gnu.org/software/autoconf/&amp;gt;
&lt;span class="w"&gt;         &lt;/span&gt;It&lt;span class="w"&gt; &lt;/span&gt;also&lt;span class="w"&gt; &lt;/span&gt;requires&lt;span class="w"&gt; &lt;/span&gt;GNU&lt;span class="w"&gt; &lt;/span&gt;m4&lt;span class="w"&gt; &lt;/span&gt;and&lt;span class="w"&gt; &lt;/span&gt;Perl&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;in&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;order&lt;span class="w"&gt; &lt;/span&gt;to&lt;span class="w"&gt; &lt;/span&gt;run:
&lt;span class="w"&gt;         &lt;/span&gt;&amp;lt;http://www.gnu.org/software/m4/&amp;gt;
&lt;span class="w"&gt;         &lt;/span&gt;&amp;lt;http://www.perl.org/&amp;gt;
make:&lt;span class="w"&gt; &lt;/span&gt;***&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;Makefile:379:&lt;span class="w"&gt; &lt;/span&gt;config.h.in&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;Error&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;127&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The root of the problem is the reconfig.sh script, which is erroneous. Upstream autotools says you should run &lt;code&gt;autoreconf -fi&lt;/code&gt; and it will handle everything for you, replacing the use of home-grown cobbled together scripts.&lt;/p&gt;
&lt;p&gt;The specific error in this case is that reconfig.sh tries to run autoheader before aclocal, which means the resulting config.h.in contains broken contents which are also out of date compared to aclocal.m4.&lt;/p&gt;
&lt;p&gt;If autoheader happens to be installed on the system, which is not at all guaranteed, then it deletes and recreates config.h.in at &lt;code&gt;make&lt;/code&gt; time.&lt;/p&gt;
&lt;p&gt;Originally reported downstream at &lt;a href="https://bugs.gentoo.org/939469" rel="nofollow"&gt;https://bugs.gentoo.org/939469&lt;/a&gt; (we have a quality assurance check that catches running these tools at "make" time so that we can add an explicit build dependency on the necessary tools).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eli Schwartz</dc:creator><pubDate>Wed, 11 Sep 2024 14:46:15 -0000</pubDate><guid>https://sourceforge.net8247c740c74883f82554c84765f934a5b8267da4</guid></item><item><title>Compilation fails when autotools is not installed.</title><link>https://sourceforge.net/p/dia2code/bugs/29/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 29 has been modified: Compilation fails when autotools is not installed.&lt;br/&gt;
Edited By: Oliver Kellogg (okellogg)&lt;br/&gt;
Status updated: 'open' =&amp;gt; 'accepted'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eli Schwartz</dc:creator><pubDate>Wed, 11 Sep 2024 14:46:15 -0000</pubDate><guid>https://sourceforge.net24fd0804be22070351b514a87c548e7fabf84f6c</guid></item><item><title>#23 C++ generator : Infinity loop with circular dependency</title><link>https://sourceforge.net/p/dia2code/bugs/23/?limit=25#7612</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: accepted --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oliver Kellogg</dc:creator><pubDate>Mon, 27 Dec 2021 17:01:46 -0000</pubDate><guid>https://sourceforge.net18cf3a3e3ed4642a6ef97ae91412346653a7406c</guid></item><item><title>#28 [dia2code-c++] Use void return type if possible</title><link>https://sourceforge.net/p/dia2code/bugs/28/?limit=25#fd64</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: accepted --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oliver Kellogg</dc:creator><pubDate>Mon, 27 Dec 2021 16:59:34 -0000</pubDate><guid>https://sourceforge.netfc80a70b779f469ee92dd6be135aa08edd02d2d6</guid></item><item><title>#28 [dia2code-c++] Use void return type if possible</title><link>https://sourceforge.net/p/dia2code/bugs/28/?limit=25#3892</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oliver Kellogg</dc:creator><pubDate>Thu, 12 Jan 2017 22:47:25 -0000</pubDate><guid>https://sourceforge.netd8b1bc722f97aa820e3579dded67c1861636a4f9</guid></item><item><title>[dia2code-c++] Use void return type if possible</title><link>https://sourceforge.net/p/dia2code/bugs/28/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The dia2code-c++ branch creates no function return type, if the return type is empty. IHMO it should use "void" (or an equivalent) if the function is no constructor.&lt;br/&gt;
&lt;a href="https://sourceforge.net/p/dia2code/patches/29/"&gt;https://sourceforge.net/p/dia2code/patches/29/&lt;/a&gt; implemented this on top of the master branch, but it seems like the dia2code-c++ branch will be the future.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David</dc:creator><pubDate>Tue, 10 Jan 2017 07:01:40 -0000</pubDate><guid>https://sourceforge.net0ecd557fcbd53f2155d40487a92611de16be0bfb</guid></item><item><title>[dia2code-c++] Use void return type if possible</title><link>https://sourceforge.net/p/dia2code/bugs/28/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 28 has been modified: &lt;span&gt;[dia2code-c++]&lt;/span&gt; Use void return type if possible&lt;br/&gt;
Edited By: Oliver Kellogg (okellogg)&lt;br/&gt;
Status updated: u'open' =&amp;gt; u'accepted'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David</dc:creator><pubDate>Tue, 10 Jan 2017 07:01:40 -0000</pubDate><guid>https://sourceforge.net7c51a1974b57229a5688c2395bf084f0eee5aa4d</guid></item></channel></rss>