GNU bug report logs - #17289
24.4.50; Build failure (Fedora 20)

Previous Next

Package: emacs;

Reported by: Mattia Ziulu <mziulu <at> gmail.com>

Date: Fri, 18 Apr 2014 06:35:02 UTC

Severity: normal

Found in version 24.4.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17289 in the body.
You can then email your comments to 17289 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#17289; Package emacs. (Fri, 18 Apr 2014 06:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mattia Ziulu <mziulu <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 18 Apr 2014 06:35:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mattia Ziulu <mziulu <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4.50; Build failure (Fedora 20)
Date: Fri, 18 Apr 2014 08:33:51 +0200
I've been unable to build emacs, tracking the official git repo,
since Monday 14. I usually create a new 'build' directory inside the
clone and from there issue the configure command with the flags reported
below.

../configure --prefix=/opt/mattia --enable-link-time-optimization
--with-file-notification=inotify

This is the compile error:

gcc -std=gnu99 -Demacs  -I. -I../../src -I../lib -I../../src/../lib   -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -I/usr/include/freetype2   -I/usr/include/alsa    -I/usr/include/libxml2  -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include    -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -pthread -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/.d -MP -I/usr/include/p11-kit-1     -g3 -O2 -flto=4 -flto=4  -Wl,-znocombreloc   \
  -o temacs  vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o gtkutil.o emacsgtkfixed.o dbusbind.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexelf.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o inotify.o profiler.o decompress.o     xfont.o ftfont.o xftfont.o ftxfont.o  fontset.o fringe.o image.o   terminfo.o lastfile.o      ../lib/libgnu.a       -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0  -lSM -lICE -lX11 -lXrender -lXft  -lasound    -lacl    -lrt  -ldbus-1   -lXrandr  -lXinerama  -lxml2  -lgpm   -ltinfo  -lgio-2.0 -lgobject-2.0 -lglib-2.0  -lgconf-2 -lglib-2.0  -lgobject-2.0 -lglib-2.0  -lselinux -lfreetype  -lfontconfig -lfreetype    -lgnutls  -lpthread   -lm -lz
/tmp/ccbvZSZ2.ltrans14.ltrans.o: In function `x_menu_wait_for_event.isra.6':
/opt/mattia/usr/local/src/emacs/build/src/../../src/xmenu.c:260: undefined reference to `xg_select'
collect2: error: ld returned 1 exit status
make[2]: *** [temacs] Error 1
make[2]: Leaving directory `/opt/mattia/usr/local/src/emacs/build/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/opt/mattia/usr/local/src/emacs/build'
make: *** [bootstrap] Error 2


A GTK2 build does not present the error (as expected).

----

Configured features:
XPM JPEG TIFF GIF PNG SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL
LIBSELINUX GNUTLS LIBXML2 FREETYPE XFT ZLIB

Important settings:
  value of $LC_CTYPE: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=none
  locale-coding-system: utf-8-unix




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17289; Package emacs. (Fri, 18 Apr 2014 08:22:01 GMT) Full text and rfc822 format available.

Message #8 received at 17289 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Mattia Ziulu <mziulu <at> gmail.com>, 17289 <at> debbugs.gnu.org
Subject: Re: bug#17289: 24.4.50; Build failure (Fedora 20)
Date: Fri, 18 Apr 2014 10:21:22 +0200
Hello.

Please send your config.log (compressed) and config.h.

Thanks,

	Jan D.

2014-04-18 08:33, Mattia Ziulu skrev:
>
> I've been unable to build emacs, tracking the official git repo,
> since Monday 14. I usually create a new 'build' directory inside the
> clone and from there issue the configure command with the flags reported
> below.
>
> ../configure --prefix=/opt/mattia --enable-link-time-optimization
> --with-file-notification=inotify
>
> This is the compile error:
>
> gcc -std=gnu99 -Demacs  -I. -I../../src -I../lib -I../../src/../lib   -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -I/usr/include/freetype2   -I/usr/include/alsa    -I/usr/include/libxml2  -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include    -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -pthread -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/.
d -MP -I/
usr/include/p11-kit-1     -g3 -O2 -flto=4 -flto=4  -Wl,-znocombreloc   \
>    -o temacs  vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o gtkutil.o emacsgtkfixed.o dbusbind.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexelf.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o inotify.o profiler.o decompress.o     xfont.o ftfont.o xftfont.o ftxfont.o  fontset.o fringe.o image.o   terminfo.o lastfile.o      ../lib/libgnu.a       -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0
 -lglib-2
.0  -lSM -lICE -lX11 -lXrender -lXft  -lasound    -lacl    -lrt  -ldbus-1   -lXrandr  -lXinerama  -lxml2  -lgpm   -ltinfo  -lgio-2.0 -lgobject-2.0 -lglib-2.0  -lgconf-2 -lglib-2.0  -lgobject-2.0 -lglib-2.0  -lselinux -lfreetype  -lfontconfig -lfreetype    -lgnutls  -lpthread   -lm -lz
> /tmp/ccbvZSZ2.ltrans14.ltrans.o: In function `x_menu_wait_for_event.isra.6':
> /opt/mattia/usr/local/src/emacs/build/src/../../src/xmenu.c:260: undefined reference to `xg_select'
> collect2: error: ld returned 1 exit status
> make[2]: *** [temacs] Error 1
> make[2]: Leaving directory `/opt/mattia/usr/local/src/emacs/build/src'
> make[1]: *** [src] Error 2
> make[1]: Leaving directory `/opt/mattia/usr/local/src/emacs/build'
> make: *** [bootstrap] Error 2
>
>
> A GTK2 build does not present the error (as expected).
>
> ----
>
> Configured features:
> XPM JPEG TIFF GIF PNG SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL
> LIBSELINUX GNUTLS LIBXML2 FREETYPE XFT ZLIB
>
> Important settings:
>    value of $LC_CTYPE: en_US.UTF-8
>    value of $LANG: en_US.UTF-8
>    value of $XMODIFIERS: @im=none
>    locale-coding-system: utf-8-unix
>
>





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17289; Package emacs. (Fri, 18 Apr 2014 09:55:02 GMT) Full text and rfc822 format available.

Message #11 received at 17289 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Mattia Ziulu <mziulu <at> gmail.com>, 17289 <at> debbugs.gnu.org
Cc: Paul Eggert <eggert <at> cs.ucla.edu>
Subject: Re: bug#17289: 24.4.50; Build failure (Fedora 20)
Date: Fri, 18 Apr 2014 11:54:47 +0200
Hello.

2014-04-18 10:21, Jan Djärv skrev:
> Hello.
>
> Please send your config.log (compressed) and config.h.

No need to do that, this change:

revno: 116974
committer: Paul Eggert <eggert <at> cs.ucla.edu>
branch nick: trunk
timestamp: Sun 2014-04-13 22:23:31 -0700
message:
  Clean up configure-time library handling a bit.
...

totally breaks the GLib test.  Apparently the change was not properly tested.

	Jan D.

>
> Thanks,
>
>      Jan D.
>
> 2014-04-18 08:33, Mattia Ziulu skrev:
>>
>> I've been unable to build emacs, tracking the official git repo,
>> since Monday 14. I usually create a new 'build' directory inside the
>> clone and from there issue the configure command with the flags reported
>> below.
>>
>> ../configure --prefix=/opt/mattia --enable-link-time-optimization
>> --with-file-notification=inotify
>>
>> This is the compile error:
>>
>> gcc -std=gnu99 -Demacs  -I. -I../../src -I../lib -I../../src/../lib
>> -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
>> -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
>> -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0
>> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1
>> -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16
>> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
>> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
>> -I/usr/include/freetype2   -I/usr/include/alsa    -I/usr/include/libxml2
>> -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include    -pthread
>> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -pthread
>> -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
>> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
>> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
>> -I/usr/include/freetype2  -I/usr/include/freetype2    -MMD -MF deps/.d -MP -I/
> usr/include/p11-kit-1     -g3 -O2 -flto=4 -flto=4  -Wl,-znocombreloc   \
>>    -o temacs  vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o
>> window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o
>> cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o
>> xsettings.o gtkutil.o emacsgtkfixed.o dbusbind.o emacs.o keyboard.o macros.o
>> keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o
>> dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o
>> alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o
>> print.o lread.o syntax.o unexelf.o bytecode.o process.o gnutls.o callproc.o
>> region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o
>> xml.o inotify.o profiler.o decompress.o     xfont.o ftfont.o xftfont.o
>> ftxfont.o  fontset.o fringe.o image.o   terminfo.o lastfile.o
>> ../lib/libgnu.a       -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lgtk-3
>> -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo
>> -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2
> .0  -lSM -lICE -lX11 -lXrender -lXft  -lasound    -lacl    -lrt  -ldbus-1
> -lXrandr  -lXinerama  -lxml2  -lgpm   -ltinfo  -lgio-2.0 -lgobject-2.0
> -lglib-2.0  -lgconf-2 -lglib-2.0  -lgobject-2.0 -lglib-2.0  -lselinux
> -lfreetype  -lfontconfig -lfreetype    -lgnutls  -lpthread   -lm -lz
>> /tmp/ccbvZSZ2.ltrans14.ltrans.o: In function `x_menu_wait_for_event.isra.6':
>> /opt/mattia/usr/local/src/emacs/build/src/../../src/xmenu.c:260: undefined
>> reference to `xg_select'
>> collect2: error: ld returned 1 exit status
>> make[2]: *** [temacs] Error 1
>> make[2]: Leaving directory `/opt/mattia/usr/local/src/emacs/build/src'
>> make[1]: *** [src] Error 2
>> make[1]: Leaving directory `/opt/mattia/usr/local/src/emacs/build'
>> make: *** [bootstrap] Error 2
>>
>>
>> A GTK2 build does not present the error (as expected).
>>
>> ----
>>
>> Configured features:
>> XPM JPEG TIFF GIF PNG SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL
>> LIBSELINUX GNUTLS LIBXML2 FREETYPE XFT ZLIB
>>
>> Important settings:
>>    value of $LC_CTYPE: en_US.UTF-8
>>    value of $LANG: en_US.UTF-8
>>    value of $XMODIFIERS: @im=none
>>    locale-coding-system: utf-8-unix
>>
>>
>





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17289; Package emacs. (Fri, 18 Apr 2014 13:10:03 GMT) Full text and rfc822 format available.

Message #14 received at 17289 <at> debbugs.gnu.org (full text, mbox):

From: "Jan D." <jan.h.d <at> swipnet.se>
To: Mattia Ziulu <mziulu <at> gmail.com>, 17289 <at> debbugs.gnu.org
Cc: Paul Eggert <eggert <at> cs.ucla.edu>
Subject: Re: bug#17289: 24.4.50; Build failure (Fedora 20)
Date: Fri, 18 Apr 2014 15:09:18 +0200
Hello.

Jan Djärv skrev 2014-04-18 11:54:
> revno: 116974
> committer: Paul Eggert <eggert <at> cs.ucla.edu>
> branch nick: trunk
> timestamp: Sun 2014-04-13 22:23:31 -0700
> message:
>   Clean up configure-time library handling a bit.
> ...
>

I don't undrestand this change.  I though the point was to let CFLAGS 
and LIBS to accumulate so we can catch conflicts early.  If for example, 
Glib and librsvg has a conflict, it would be caught at configure time, 
probably by ignoring one of the libs, and still let Emacs be built.
Now it won't be shown until temacs link time, nor do we have any log to 
look at (i.e. config.log).

If this is the IRIX getdelim bug gone wild, I don't think it is the 
right way to solve it.  Just make a IRIX specific exception in configure.

    Jan D.





Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Sat, 19 Apr 2014 17:59:01 GMT) Full text and rfc822 format available.

Notification sent to Mattia Ziulu <mziulu <at> gmail.com>:
bug acknowledged by developer. (Sat, 19 Apr 2014 17:59:02 GMT) Full text and rfc822 format available.

Message #19 received at 17289-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: "Jan D." <jan.h.d <at> swipnet.se>, Mattia Ziulu <mziulu <at> gmail.com>, 
 17289-done <at> debbugs.gnu.org
Subject: Re: bug#17289: 24.4.50; Build failure (Fedora 20)
Date: Sat, 19 Apr 2014 10:58:24 -0700
Jan D. wrote:

> I though the point was to let CFLAGS
> and LIBS to accumulate so we can catch conflicts early.  If for example,
> Glib and librsvg has a conflict, it would be caught at configure time,
> probably by ignoring one of the libs, and still let Emacs be built.

That may have been the point originally, but 'configure' long ago lost 
it; even in emacs-24 libraries sometimes accumulate and sometimes do not.

The emacs-24 approach has a different problem: because some libraries 
accumulate, later tests report answers that are incorrect for non-Emacs 
applications such as etags which do not necessarily link to these 
libraries.  I ran into one of these problems with IRIX, and installed a 
small hack-atop-a-hack in emacs-24 to fix that one little problem, but 
in the trunk I am looking for a cleaner solution.  The basic idea is 
that each test should be try to be independent from the others, and that 
any necessary dependencies be indicated for the test.

I had tested the trunk change myself, but I can't easily test all 
possible configuration options and so hadn't run into the reported 
failure.  Thanks Mattia for reporting it.  I fixed the bug in trunk bzr 
116992, by having the glib test mention its dependencies, and am marking 
the bug report as done.

I'm puzzled, though, as to why glib is treated differently from the 
other libraries.  Currently, Emacs uses glib if glib happens to be 
dragged in along with some other library, and avoids glib otherwise. 
Why not just use glib if available?  That would be simpler, no?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17289; Package emacs. (Sat, 19 Apr 2014 21:53:02 GMT) Full text and rfc822 format available.

Message #22 received at 17289-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 17289-done <at> debbugs.gnu.org, Mattia Ziulu <mziulu <at> gmail.com>
Subject: Re: bug#17289: 24.4.50; Build failure (Fedora 20)
Date: Sat, 19 Apr 2014 23:52:25 +0200
Hello.

19 apr 2014 kl. 19:58 skrev Paul Eggert <eggert <at> cs.ucla.edu>:

> Jan D. wrote:
> 
>> I though the point was to let CFLAGS
>> and LIBS to accumulate so we can catch conflicts early.  If for example,
>> Glib and librsvg has a conflict, it would be caught at configure time,
>> probably by ignoring one of the libs, and still let Emacs be built.
> 
> That may have been the point originally, but 'configure' long ago lost it; even in emacs-24 libraries sometimes accumulate and sometimes do not.
> 
> The emacs-24 approach has a different problem: because some libraries accumulate, later tests report answers that are incorrect for non-Emacs applications such as etags which do not necessarily link to these libraries.  I ran into one of these problems with IRIX, and installed a small hack-atop-a-hack in emacs-24 to fix that one little problem, but in the trunk I am looking for a cleaner solution.  The basic idea is that each test should be try to be independent from the others, and that any necessary dependencies be indicated for the test.

That does not prevent configure from collecting all cflags/libs.
This can be done in some other variable.  That would be cleaner, because the solution you
have made now requires the Glib test to know just about everything that configure has done.
This is a really bad solution.  Adding another third party library now requires the Glib test to be updated as well.  Locality is broken.

> 
> I had tested the trunk change myself, but I can't easily test all possible configuration options and so hadn't run into the reported failure.

I think just having Gtk+ and running configure without any parameters gives you this error.
Hardly a strange configuration, but probably the most used one.

>  Thanks Mattia for reporting it.  I fixed the bug in trunk bzr 116992, by having the glib test mention its dependencies, and am marking the bug report as done.
> 
> I'm puzzled, though, as to why glib is treated differently from the other libraries.  Currently, Emacs uses glib if glib happens to be dragged in along with some other library, and avoids glib otherwise. Why not just use glib if available?  That would be simpler, no?

Some third party libaries use Glib, without Emacs explicitly using Glib itself.
Some older versions of the same libraries (or prehaps even the same version, but compiled differently) may not use Glib.  So we check if Glib is used.  It may be available, but Emacs and its third party library dependencies may not need it.

We do not want Emacs to require Glib, or link with it if it is not being used.

	Jan D.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17289; Package emacs. (Sat, 19 Apr 2014 22:22:02 GMT) Full text and rfc822 format available.

Message #25 received at 17289-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 17289-done <at> debbugs.gnu.org, Mattia Ziulu <mziulu <at> gmail.com>
Subject: Re: bug#17289: 24.4.50; Build failure (Fedora 20)
Date: Sat, 19 Apr 2014 15:21:15 -0700
Jan Djärv wrote:
> Adding another third party library now requires the Glib test to be updated as well.  Locality is broken.

Locality was already broken.  When adding another library, it was 
necessary to add its tests in the right place: before the glib test, 
after any libraries the new library depends on, before any other tests 
might be affected by the presence of the new library, etc.

The recent changes to configure.ac have made these dependencies more 
explicit, which I hope eases maintenance in the future.

> I think just having Gtk+ and running configure without any parameters gives you this error.

I ran plain 'configure' on Fedora 20 (with all development libraries 
installed) and had no trouble.  I expect Bug#17289 was caused by the use 
of --enable-link-time-optimization --with-file-notification=inotify.

> We do not want Emacs to require Glib, or link with it if it is not being used.

Thanks, I added a comment to configure.ac to try to document this better.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17289; Package emacs. (Tue, 22 Apr 2014 06:16:01 GMT) Full text and rfc822 format available.

Message #28 received at 17289 <at> debbugs.gnu.org (full text, mbox):

From: Mattia Ziulu <mziulu <at> gmail.com>
To: "Paul Eggert" <eggert <at> cs.ucla.edu>
Cc: 17289 <at> debbugs.gnu.org, "Jan D." <jan.h.d <at> swipnet.se>
Subject: Re: bug#17289: 24.4.50; Build failure (Fedora 20)
Date: Tue, 22 Apr 2014 08:14:51 +0200
Paul Eggert writes:

> I had tested the trunk change myself, but I can't easily test all
> possible configuration options and so hadn't run into the reported
> failure.  Thanks Mattia for reporting it.  I fixed the bug in trunk bzr
> 116992, by having the glib test mention its dependencies, and am marking
> the bug report as done.
>

Just wanted to drop by and confirm that the bug is fixed and I can now
build successfully. Thanks for the quick fix :)

Cheers,
Mattia




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 20 May 2014 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 351 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.