Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25389 - xorg-server fails to build

Attached to Project: Arch Linux
Opened by kyak (kyak) - Wednesday, 03 August 2011, 15:36 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 03 August 2011, 17:43 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
xorg-server package fails to build with ABS and makepkg.

Additional info:

* package version(s)

xorg-server-1.10.3-2

* config and/or log files etc.

...skip unpacking and patching...
configure.ac:39: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-macros.m4:1476: XORG_INSTALL is expanded from...
/usr/share/aclocal/xorg-macros.m4:1457: XORG_DEFAULT_OPTIONS is expanded from...
configure.ac:39: the top level
configure.ac:320: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
configure.ac:320: the top level
configure.ac:511: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/fontutil.m4:313: XORG_FONTROOTDIR is expanded from...
configure.ac:511: the top level
configure.ac:739: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
configure.ac:739: the top level
configure.ac:891: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2504: _AC_PREPROC_IFELSE is expanded from...
../../lib/autoconf/general.m4:2519: AC_PREPROC_IFELSE is expanded from...
configure.ac:891: the top level
configure.ac:920: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2730: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
configure.ac:920: the top level
configure.ac:39: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:10287: XORG_INSTALL is expanded from...
aclocal.m4:10268: XORG_DEFAULT_OPTIONS is expanded from...
configure.ac:39: the top level
configure.ac:320: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
configure.ac:320: the top level
configure.ac:511: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:334: XORG_FONTROOTDIR is expanded from...
configure.ac:511: the top level
configure.ac:739: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
configure.ac:739: the top level
configure.ac:891: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2504: _AC_PREPROC_IFELSE is expanded from...
../../lib/autoconf/general.m4:2519: AC_PREPROC_IFELSE is expanded from...
configure.ac:891: the top level
configure.ac:920: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2730: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
configure.ac:920: the top level
configure.ac:39: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:10287: XORG_INSTALL is expanded from...
aclocal.m4:10268: XORG_DEFAULT_OPTIONS is expanded from...
configure.ac:39: the top level
configure.ac:320: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
configure.ac:320: the top level
configure.ac:511: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:334: XORG_FONTROOTDIR is expanded from...
configure.ac:511: the top level
configure.ac:739: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
configure.ac:739: the top level
configure.ac:891: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2504: _AC_PREPROC_IFELSE is expanded from...
../../lib/autoconf/general.m4:2519: AC_PREPROC_IFELSE is expanded from...
configure.ac:891: the top level
configure.ac:920: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2730: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
configure.ac:920: the top level
configure.ac:524: error: possibly undefined macro: AC_CHECK_FILE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure:5830: error: possibly undefined macro: m4_ifval
autoreconf: /usr/bin/autoconf failed with exit status: 1
==> ERROR: A failure occurred in build().
Aborting...


Steps to reproduce:
The system is up to date, copy files from /var/abs/extra/xorg-server to a local directory, run makepkg.

It used to build fine with xorg-server-1.10.3-1
This task depends upon

Closed by  Ionut Biru (wonder)
Wednesday, 03 August 2011, 17:43 GMT
Reason for closing:  Not a bug
Comment by Ionut Biru (wonder) - Wednesday, 03 August 2011, 15:40 GMT
pacman -S base-devel
Comment by kyak (kyak) - Wednesday, 03 August 2011, 15:57 GMT
Reinstalling 11 packages from base-devel group, like Ionut Biru suggested, helped.

Could someone explain, why it helped?
Comment by Ionut Biru (wonder) - Wednesday, 03 August 2011, 16:00 GMT
base-devel is a must when compiling packages. it is the same as build-essential on debian or ubuntu. i guess you didn't have all packages from base-devel installed, especially pkg-config

configure.ac:511: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd meaning that /usr/share/aclocal/pkg.m4 was missing
Comment by kyak (kyak) - Wednesday, 03 August 2011, 16:05 GMT
You are right, i didn't have the pkg-config.

How could it happen? I remember installing the whole base-devel group. Was pkg-config introduced to base-devel group some time later after I installed that group?
Comment by Ionut Biru (wonder) - Wednesday, 03 August 2011, 16:21 GMT
nope. it is like this for years
Comment by kyak (kyak) - Wednesday, 03 August 2011, 16:38 GMT
All right then, i must have overlooked something. Thanks for you help, Ionut Biru, that was really fast.

Loading...