Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423081 - sci-misc/boinc-6.12.42 fails to re-emerge: automake --add-missing --copy --foreign failed
Summary: sci-misc/boinc-6.12.42 fails to re-emerge: automake --add-missing --copy --fo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: automake-1.12
  Show dependency tree
 
Reported: 2012-06-23 08:14 UTC by Martin von Gagern
Modified: 2012-06-27 11:02 UTC (History)
2 users (show)

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


Attachments
emerge --info (sci-misc:boinc-6.12.42.emerge--info,7.75 KB, text/plain)
2012-06-23 08:14 UTC, Martin von Gagern
Details
Fix AC_LANG_PROGRAM quoting in auxiliary m4s and add AC_PROC_OBJCXX to configure.ac (boinc-autotools-update.patch,1.81 KB, patch)
2012-06-23 18:54 UTC, W. Trevor King
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2012-06-23 08:14:10 UTC
Created attachment 316023 [details]
emerge --info

* Package:    sci-misc/boinc-6.12.42
 * Repository: gentoo
 * Maintainer: sci@gentoo.org
 * USE:        X amd64 consolekit elibc_glibc kernel_linux multilib policykit userland_GNU
 * FEATURES:   preserve-libs sandbox splitdebug
 * Package:    sci-misc/boinc-6.12.42
 * Repository: gentoo
 * Maintainer: sci@gentoo.org
 * USE:        X amd64 consolekit elibc_glibc kernel_linux multilib policykit userland_GNU
 * FEATURES:   preserve-libs sandbox splitdebug
>>> Unpacking source...
>>> Unpacking boinc-6.12.42.tar.xz to /var/tmp/portage/sci-misc/boinc-6.12.42/work
>>> Source unpacked in /var/tmp/portage/sci-misc/boinc-6.12.42/work
>>> Preparing source in /var/tmp/portage/sci-misc/boinc-6.12.42/work/boinc-6.12.42 ...
 * Applying 6.12.26-fix_subdirs.patch ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/sci-misc/boinc-6.12.42/work/boinc-6.12.42' ...
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I m4 ...
 [ ok ]
 * Running autoconf ...
 [ ok ]
 * Running autoheader ...
 [ ok ]
 * Running automake --add-missing --copy --foreign ...
 [ !! ]

 * Failed Running automake !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/sci-misc/boinc-6.12.42/temp/automake.out

 * ERROR: sci-misc/boinc-6.12.42 failed (prepare phase):
 *   Failed Running automake !
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 3484:  Called eautoreconf
 *   environment, line 1130:  Called eautomake
 *   environment, line 1083:  Called autotools_run_tool 'automake' '--add-missing' '--copy' '--foreign'
 *   environment, line  767:  Called die

And the content of the automake log file:

***** automake *****
***** PWD: /var/tmp/portage/sci-misc/boinc-6.12.42/work/boinc-6.12.42
***** automake --add-missing --copy --foreign

configure.ac:387: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
m4/boinc_check_fcgi.m4:1: BOINC_CHECK_FCGI is expanded from...
configure.ac:387: the top level
configure.ac:393: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
m4/libcurl.m4:37: LIBCURL_CHECK_CONFIG is expanded from...
configure.ac:393: the top level
configure.ac:45: installing './compile'
configure.ac:18: installing './missing'
api/Makefile.am: installing './depcomp'
/usr/share/automake-1.12/am/depend2.am: error: am__fastdepOBJCXX does not appear in AM_CONDITIONAL
/usr/share/automake-1.12/am/depend2.am:   The usual way to define 'am__fastdepOBJCXX' is to add 'AC_PROG_OBJCXX'
/usr/share/automake-1.12/am/depend2.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again
clientgui/Makefile.am: error: Objective C++ source seen but 'OBJCXX' is undefined
clientgui/Makefile.am:   The usual way to define 'OBJCXX' is to add 'AC_PROG_OBJCXX'
clientgui/Makefile.am:   to 'configure.ac' and run 'autoconf' again.
Comment 1 W. Trevor King 2012-06-23 18:10:00 UTC
(In reply to comment #0)
>  * Include in your bugreport the contents of:
>  * 
>  *   /var/tmp/portage/sci-misc/boinc-6.12.42/temp/automake.out

This sounds like a good idea.
Comment 2 W. Trevor King 2012-06-23 18:10:51 UTC
(In reply to comment #1)
> (In reply to comment #0)
> >  * Include in your bugreport the contents of:
> >  * 
> >  *   /var/tmp/portage/sci-misc/boinc-6.12.42/temp/automake.out
> 
> This sounds like a good idea.

Oops, you had it inline futher down :p.  Sorry for the spam.
Comment 3 W. Trevor King 2012-06-23 18:14:47 UTC
> /usr/share/automake-1.12/am/depend2.am: error: am__fastdepOBJCXX does not
> appear in AM_CONDITIONAL

Looks like you're using a newer version of automake than the package is set up for.  See

  http://lists.puredata.info/pipermail/gem-dev/2012-06/006180.html

where, unfortunately, they don't discuss the fix.
Comment 4 W. Trevor King 2012-06-23 18:54:17 UTC
Created attachment 316089 [details, diff]
Fix AC_LANG_PROGRAM quoting in auxiliary m4s and add AC_PROC_OBJCXX to configure.ac

Maybe this will fix it?  Because the boinc ebuild uses the base eclass, you can drop the patch into

 /etc/portage/patches/sci-misc/boinc/boinc-autotools-update.patch

and re-emerge to test it out.  This uses epatch_user to apply the patch.  I'm not sure if there is official documentation asside from /usr/portage/eclass/eutils.eclass itself, but you can check out my blog post about it for more epatch_user details (if you're curious)

  http://blog.tremily.us/posts/Portage/
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-06-26 13:01:56 UTC
fixed in portage
Comment 6 W. Trevor King 2012-06-26 14:47:21 UTC
(In reply to comment #5)
> fixed in portage

I see you've fixed the AC_PROC_OBJCXX in the new ebuild, which will fix the bug.  However, you left out the AC_LANG_PROGRAM quoting fixes from my patch.  Since that's not not technically the same issue, should I open a new bug to get those fixed?

I've filed a matching bug upstream:
  http://boinc.ssl.berkeley.edu/trac/ticket/1193
where the've already done a bit of work on these issues.
Comment 7 W. Trevor King 2012-06-27 11:02:33 UTC
(In reply to comment #6)
> I've filed a matching bug upstream:
>   http://boinc.ssl.berkeley.edu/trac/ticket/1193
> where the've already done a bit of work on these issues.

This bug should be fixed upstream now

http://boinc.berkeley.edu/trac/ticket/1193

Relavant commits:

http://boinc.berkeley.edu/trac/changeset/25804/boinc
http://boinc.berkeley.edu/trac/changeset/25805/boinc

I'm not sure what BOINC's release process is, but since they're currently on 7.0.29, I imagine these changes will come out in 7.0.30.  Judging from their release history, that should happen in a month or so.