Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551986 - media-sound/ncmpc-0.24-r1 configure syntax error (ncmpc-0.24 rebuilds fine)
Summary: media-sound/ncmpc-0.24-r1 configure syntax error (ncmpc-0.24 rebuilds fine)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-13 12:28 UTC by Duncan
Modified: 2015-06-20 09:17 UTC (History)
2 users (show)

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


Attachments
emerge --info ncmpc (ncmpc.emerge.info,7.10 KB, text/plain)
2015-06-13 12:28 UTC, Duncan
Details
build log (media-sound:ncmpc-0.24-r1:20150613-115352.log,6.46 KB, text/plain)
2015-06-13 12:34 UTC, Duncan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan 2015-06-13 12:28:35 UTC
Created attachment 405074 [details]
emerge --info ncmpc

+++ This bug was initially created as a clone of Bug #551864 +++

Well, that bug says fixed, but here that "fix" broke things.  ncmpc-0.24-r1 fails with configure syntax error, while I just rebuilt the old ncmpc-0.24 without issue, so it must be in the differences between -r0 and -r1.

checking whether to include the lyrics screen... yes
checking whether to include the outputs screen... yes
checking whether to include the chat screen... no
./configure: line 6871: syntax error near unexpected token `AX_CHECK_COMPILE_FLAG'
./configure: line 6871: `       AX_REQUIRE_DEFINED(AX_CHECK_COMPILE_FLAG)'


FWIW that same section of the configure output with 0.24 gives me...

checking whether to include the lyrics screen... yes
checking whether to include the outputs screen... yes
checking whether to include the chat screen... no
checking whether C compiler accepts -ffunction-sections... yes
checking whether C compiler accepts -fdata-sections... yes
checking whether the linker accepts -Wl,--gc-sections... yes

Meanwhile, here's that section of the configure script, lines 6862-6876 (line 6871 is the indented AX_REQUIRE_DEFINED(AX_CHECK_COMPILE_FLAG) line):

# Check whether --enable-werror was given.
if test "${enable_werror+set}" = set; then :
  enableval=$enable_werror;
else
  enable_werror=no
fi


if test "x$enable_werror" = xyes; then
        AX_REQUIRE_DEFINED(AX_CHECK_COMPILE_FLAG)
AX_REQUIRE_DEFINED(AX_APPEND_FLAG)
for flag in -Werror; do
  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
$as_echo_n "checking whether C compiler accepts $flag... " >&6; }

gentoo/~amd64 with kde and x11 overlays.  Attached is emerge --info ncmpc.  I'll attach the build log after filing.
Comment 1 Duncan 2015-06-13 12:34:39 UTC
Created attachment 405076 [details]
build log
Comment 2 Duncan 2015-06-13 12:39:41 UTC
missed the emerge -pqv ncmpc output.  Here it is.

[ebuild     U ] media-sound/ncmpc-0.24-r1 [0.24] USE="artist-screen colors help-screen key-screen lyrics-screen mouse search-screen song-screen -chat-screen -debug -lirc -nls"
Comment 3 Duncan 2015-06-20 09:17:23 UTC
It built just fine with this morning's update, so apparently the only change listed in the changelog since I filed, fixed it:

  15 Jun 2015; Jeroen Roovers <jer@gentoo.org> ncmpc-0.24-r1.ebuild,
  +files/ax_require_defined.m4:
  Add missing ax_require_defined.m4.

=:^)