Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1943131 - syncevolution: FTBFS with upcoming autoconf-2.71
Summary: syncevolution: FTBFS with upcoming autoconf-2.71
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: syncevolution
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milan Crha
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1942967
TreeView+ depends on / blocked
 
Reported: 2021-03-25 12:57 UTC by Ondrej Dubaj
Modified: 2021-03-26 09:31 UTC (History)
2 users (show)

Fixed In Version: syncevolution-1.5.3-18
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-26 09:29:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ondrej Dubaj 2021-03-25 12:57:10 UTC
Your package fails to build with the newest upcoming autoconf-2.71, which is part of a wide Fedora change. Please see the attached copr: https://copr.fedorainfracloud.org/coprs/odubaj/autoconf-2.70/packages/. More information about testing your package when building with autoconf available here: https://fedoraproject.org/wiki/Changes/Autoconf_271#How_To_Test

Comment 1 Milan Crha 2021-03-26 08:56:26 UTC
If I read the error correctly:

> autoreconf: running: intltoolize --copy --force
> ERROR: 'IT_PROG_INTLTOOL' must appear in configure.ac for intltool to work.
> autoreconf: error: intltoolize failed with exit status: 1

then this is reported when it's executed on the top configure.ac. Looking into the file there is this:

   if test "$enable_gui" != "no" || test "$enable_dbus_service" != "no"; then
       IT_PROG_INTLTOOL([0.37.1])
       GETTEXT_PACKAGE=syncevolution
       AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The gettext package name])
       AM_GLIB_GNU_GETTEXT
       SYNCEVOLUTION_LOCALEDIR=[${datadir}/locale]
   fi

Thus, strictly speaking, the error message the autoreconf (or the intltoolize) claims is a false positive. When I move that line above the `if`, the autoconf is happy and makes things work.

Ondrej, could you verify the error is a false positive, please?

Comment 2 Ondrej Dubaj 2021-03-26 09:05:08 UTC
I think moving IT_PROG_INTLTOOL before if as you said should do the trick, this error was already added here https://docs.google.com/document/d/1SAGTJZEF9z_nkHMbXTF-YTTvKRja7ygfOOMzl-DYBSk/edit and the fix seem to work fine https://src.fedoraproject.org/rpms/pidgin/c/b5598d16a9f2e36d9fb0aa3411c57d5935e8fb02?branch=rawhide

But I do not have the capacity to investigate the failure deeply. Hopefully it will work for your case.

Comment 3 Milan Crha 2021-03-26 09:10:31 UTC
It does work to move it before the 'if'. I thought maybe you can upstream it and they will look on the reason. As it is no change for Fedora I'll add the patch.

Comment 4 Milan Crha 2021-03-26 09:29:49 UTC
Fixed with https://src.fedoraproject.org/rpms/syncevolution/c/23dedb20b2d7c5a583986e161c45a9222b881d07?branch=rawhide 

I did not build the package, I guess it can wait.

Comment 5 Ondrej Dubaj 2021-03-26 09:31:57 UTC
I see no problem building it now if possible. But it's up to you, thanks.


Note You need to log in before you can comment on or make changes to this bug.