Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939469 - app-office/dia2code-1.0.0-r1 - [gcc-15] [slibtool] Automake "maintainer mode" detected:
Summary: app-office/dia2code-1.0.0-r1 - [gcc-15] [slibtool] Automake "maintainer mode"...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-11 14:01 UTC by Toralf Förster
Modified: 2024-09-11 14:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,21.42 KB, text/plain)
2024-09-11 14:01 UTC, Toralf Förster
Details
app-office:dia2code-1.0.0-r1:20240911-135540.log (app-office:dia2code-1.0.0-r1:20240911-135540.log,530 bytes, text/plain)
2024-09-11 14:01 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,63.83 KB, application/x-xz)
2024-09-11 14:01 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2024-09-11 14:01 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,27.62 KB, application/x-xz)
2024-09-11 14:01 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,68.22 KB, application/x-xz)
2024-09-11 14:01 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-09-11 14:01:21 UTC
QA Notice: Automake "maintainer mode" detected:

	(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /var/tmp/portage/app-office/dia2code-1.0.0-r1/work/dia2code-1.0.0/missing autoheader)

If you patch Makefile.am, configure.in,  or configure.ac then you
should use autotools.eclass and eautomake or eautoreconf. Exceptions
are limited to system packages for which it is impossible to run
autotools during stage building. See https://wiki.gentoo.org/wiki/Proj

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl_hardened-20240906-211007

  The build log matches a QA pattern or sth. requested by a dev.
  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------
Comment 1 Toralf Förster gentoo-dev 2024-09-11 14:01:22 UTC
Created attachment 902654 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-11 14:01:23 UTC
Created attachment 902655 [details]
app-office:dia2code-1.0.0-r1:20240911-135540.log
Comment 3 Toralf Förster gentoo-dev 2024-09-11 14:01:24 UTC
Created attachment 902656 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-09-11 14:01:25 UTC
Created attachment 902657 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-09-11 14:01:26 UTC
Created attachment 902658 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-11 14:01:28 UTC
Created attachment 902659 [details]
qlist-info.txt.xz
Comment 7 Eli Schwartz gentoo-dev 2024-09-11 14:37:54 UTC
$ cd /tmp && bsdtar -xf /var/cache/distfiles/dia2code-1.0.0.tar.gz &&  cd dia2code-1.0.0/ && ./configure && make

(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/dia2code-1.0.0/missing autoheader)
/tmp/dia2code-1.0.0/missing: 81: autoheader: not found
WARNING: 'autoheader' is missing on your system.
         You should only need it if you modified 'acconfig.h' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'autoheader' program is part of the GNU Autoconf package:
         <http://www.gnu.org/software/autoconf/>
         It also requires GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
make: *** [Makefile:379: config.h.in] Error 127


The distfile from upstream is totally broken. It has a config.h in the tarball which autotools does not use, but which contains e.g. #define VERSION "1.0.0"


It also has a config.h.in that is much much sparser and is missing tons of stuff, until autoheader is run by `make`.

Upstream has diverging master branch vs. 1.0.0 (not on a branch) and the former contains all autoconf generated files and the latter doesn't. Their tarball creating script runs autoheader first, before aclocal, so RIP.

The package needs to run autoheader to repair the damage.