<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/dia2code/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/dia2code/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/dia2code/bugs/</id><updated>2024-09-15T10:31:10.851000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>#29 Compilation fails when autotools is not installed.</title><link href="https://sourceforge.net/p/dia2code/bugs/29/?limit=25#e28f" rel="alternate"/><published>2024-09-15T10:31:10.851000Z</published><updated>2024-09-15T10:31:10.851000Z</updated><author><name>Oliver Kellogg</name><uri>https://sourceforge.net/u/okellogg/</uri></author><id>https://sourceforge.net3b47dfe8597b1ed1a04ada697fa04ad908ddd2b7</id><summary type="html">&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;</summary></entry><entry><title>#29 Compilation fails when autotools is not installed.</title><link href="https://sourceforge.net/p/dia2code/bugs/29/?limit=25#790c" rel="alternate"/><published>2024-09-15T08:11:55.711000Z</published><updated>2024-09-15T08:11:55.711000Z</updated><author><name>Oliver Kellogg</name><uri>https://sourceforge.net/u/okellogg/</uri></author><id>https://sourceforge.netf5ac0ad8891fe799a0fdbf592b70a0178a632e96</id><summary type="html">&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;</summary></entry><entry><title>#27 Compilation fails when OS does not provide strndup</title><link href="https://sourceforge.net/p/dia2code/bugs/27/?limit=25#64d0" rel="alternate"/><published>2024-09-15T08:09:58.699000Z</published><updated>2024-09-15T08:09:58.699000Z</updated><author><name>Oliver Kellogg</name><uri>https://sourceforge.net/u/okellogg/</uri></author><id>https://sourceforge.net955b7622e188160e412b4fa2b7675a3ae07ba12e</id><summary type="html">&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;</summary></entry><entry><title>Compilation fails when autotools is not installed.</title><link href="https://sourceforge.net/p/dia2code/bugs/29/" rel="alternate"/><published>2024-09-11T14:46:15.165000Z</published><updated>2024-09-11T14:46:15.165000Z</updated><author><name>Eli Schwartz</name><uri>https://sourceforge.net/u/eschwartz/</uri></author><id>https://sourceforge.net8247c740c74883f82554c84765f934a5b8267da4</id><summary type="html">&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;</summary></entry><entry><title>Compilation fails when autotools is not installed.</title><link href="https://sourceforge.net/p/dia2code/bugs/29/" rel="alternate"/><published>2024-09-11T14:46:15.165000Z</published><updated>2024-09-11T14:46:15.165000Z</updated><author><name>Eli Schwartz</name><uri>https://sourceforge.net/u/eschwartz/</uri></author><id>https://sourceforge.net24fd0804be22070351b514a87c548e7fabf84f6c</id><summary type="html">&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;</summary></entry><entry><title>#23 C++ generator : Infinity loop with circular dependency</title><link href="https://sourceforge.net/p/dia2code/bugs/23/?limit=25#7612" rel="alternate"/><published>2021-12-27T17:01:46.484000Z</published><updated>2021-12-27T17:01:46.484000Z</updated><author><name>Oliver Kellogg</name><uri>https://sourceforge.net/u/okellogg/</uri></author><id>https://sourceforge.net18cf3a3e3ed4642a6ef97ae91412346653a7406c</id><summary type="html">&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;</summary></entry><entry><title>#28 [dia2code-c++] Use void return type if possible</title><link href="https://sourceforge.net/p/dia2code/bugs/28/?limit=25#fd64" rel="alternate"/><published>2021-12-27T16:59:34.949000Z</published><updated>2021-12-27T16:59:34.949000Z</updated><author><name>Oliver Kellogg</name><uri>https://sourceforge.net/u/okellogg/</uri></author><id>https://sourceforge.netfc80a70b779f469ee92dd6be135aa08edd02d2d6</id><summary type="html">&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;</summary></entry><entry><title>#28 [dia2code-c++] Use void return type if possible</title><link href="https://sourceforge.net/p/dia2code/bugs/28/?limit=25#3892" rel="alternate"/><published>2017-01-12T22:47:25.119000Z</published><updated>2017-01-12T22:47:25.119000Z</updated><author><name>Oliver Kellogg</name><uri>https://sourceforge.net/u/okellogg/</uri></author><id>https://sourceforge.netd8b1bc722f97aa820e3579dded67c1861636a4f9</id><summary type="html">&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;</summary></entry><entry><title>[dia2code-c++] Use void return type if possible</title><link href="https://sourceforge.net/p/dia2code/bugs/28/" rel="alternate"/><published>2017-01-10T07:01:40.140000Z</published><updated>2017-01-10T07:01:40.140000Z</updated><author><name>David</name><uri>https://sourceforge.net/u/flyingdavid/</uri></author><id>https://sourceforge.net0ecd557fcbd53f2155d40487a92611de16be0bfb</id><summary type="html">&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;</summary></entry><entry><title>[dia2code-c++] Use void return type if possible</title><link href="https://sourceforge.net/p/dia2code/bugs/28/" rel="alternate"/><published>2017-01-10T07:01:40.140000Z</published><updated>2017-01-10T07:01:40.140000Z</updated><author><name>David</name><uri>https://sourceforge.net/u/flyingdavid/</uri></author><id>https://sourceforge.net7c51a1974b57229a5688c2395bf084f0eee5aa4d</id><summary type="html">&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;</summary></entry></feed>