Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 670126

Summary: dev-embedded/sdcc-3.8.0 USE=non-free: QA Notice: Automake "maintainer mode" detected
Product: Gentoo Linux Reporter: Daniel M. Weeks <dan>
Component: Current packagesAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: normal CC: jer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel M. Weeks 2018-11-02 05:32:26 UTC
* Messages for package dev-embedded/sdcc-3.8.0:

 * QA Notice: Automake "maintainer mode" detected:
 * 
 *      CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/portage/dev-embedded/sdcc-3.8.0/work/sdcc-3.8.0/device/non-free/lib/pic16/missing --run aclocal-1.11
 *      CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/portage/dev-embedded/sdcc-3.8.0/work/sdcc-3.8.0/device/non-free/lib/pic16/missing --run autoconf
 *       cd . && /bin/sh /tmp/portage/dev-embedded/sdcc-3.8.0/work/sdcc-3.8.0/device/non-free/lib/pic16/missing --run automake-1.11 --foreign
 * 
 * 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
 * ect:Quality_Assurance/Autotools_failures for more information.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-11-02 07:29:41 UTC
Please attach the entire build log to this bug report.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2018-11-02 08:22:09 UTC
Oh, I see: USE=non-free
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-11-02 08:32:31 UTC
This code isn't helping:

configure.ac:

# Generating output files
# ===========================================================================
test $OPT_DISABLE_SDCPP   = 0 && AC_CONFIG_SUBDIRS(support/cpp)
test $OPT_DISABLE_PACKIHX = 0 && AC_CONFIG_SUBDIRS(support/packihx)
test $OPT_DISABLE_UCSIM   = 0 && AC_CONFIG_SUBDIRS(sim/ucsim)
test $OPT_DISABLE_SDCDB   = 0 && AC_CONFIG_SUBDIRS(debugger/mcs51)
test $OPT_DISABLE_SDBINUTILS = 0 && AC_CONFIG_SUBDIRS(support/sdbinutils)
...
if test $OPT_DISABLE_PIC14 = 0 && test $OPT_DISABLE_NON_FREE = 0; then
  test $OPT_DISABLE_DEVICE_LIB = 0 && AC_CONFIG_SUBDIRS(device/non-free/lib/pic14)
fi
if test $OPT_DISABLE_PIC16 = 0; then
  AC_CONFIG_FILES(src/pic16/Makefile)
  test $OPT_DISABLE_DEVICE_LIB = 0 && AC_CONFIG_SUBDIRS(device/lib/pic16)
fi
if test $OPT_DISABLE_PIC16 = 0 && test $OPT_DISABLE_NON_FREE = 0; then
  test $OPT_DISABLE_DEVICE_LIB = 0 && AC_CONFIG_SUBDIRS(device/non-free/lib/pic16)
fi
Comment 4 Larry the Git Cow gentoo-dev 2018-11-02 14:33:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb60b5c5b84a6eb770cee3e0c67ab23530ba5096

commit cb60b5c5b84a6eb770cee3e0c67ab23530ba5096
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2018-11-02 14:33:22 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2018-11-02 14:33:53 +0000

    dev-embedded/sdcc: Fix and run eautoreconf
    
    Patch support/sdbinutils/config/override.m4 to not fix on autoconf 2.64
    Run eautoreconf
    Remove docs_compile() but instead check PV in src_install()
    Do not compile documentation in live ebuild as getting lyx to behave is
    more trouble than it's worth
    
    Fixes: https://bugs.gentoo.org/670126
    Package-Manager: Portage-2.3.51, Repoman-2.3.11
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 .../sdcc/files/sdcc-3.8.0-override-override.patch  | 30 +++++++++++++++++++
 dev-embedded/sdcc/sdcc-3.8.0.ebuild                | 35 ++++++++++------------
 dev-embedded/sdcc/sdcc-9999.ebuild                 | 35 ++++++++++------------
 3 files changed, 60 insertions(+), 40 deletions(-)