From unknown Fri Sep 05 18:57:54 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#29186 <29186@debbugs.gnu.org> To: bug#29186 <29186@debbugs.gnu.org> Subject: Status: building guile-emacs fails: required libaries not found: libjpeg Reply-To: bug#29186 <29186@debbugs.gnu.org> Date: Sat, 06 Sep 2025 01:57:54 +0000 retitle 29186 building guile-emacs fails: required libaries not found: libj= peg reassign 29186 guix submitter 29186 Jan Nieuwenhuizen severity 29186 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 06 17:22:50 2017 Received: (at submit) by debbugs.gnu.org; 6 Nov 2017 22:22:50 +0000 Received: from localhost ([127.0.0.1]:54778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBpn4-0002rw-FZ for submit@debbugs.gnu.org; Mon, 06 Nov 2017 17:22:50 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBpn2-0002ri-Bj for submit@debbugs.gnu.org; Mon, 06 Nov 2017 17:22:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBpmw-00040w-7E for submit@debbugs.gnu.org; Mon, 06 Nov 2017 17:22:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56988) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eBpmw-00040r-3t for submit@debbugs.gnu.org; Mon, 06 Nov 2017 17:22:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBpmu-0005Zd-UJ for bug-guix@gnu.org; Mon, 06 Nov 2017 17:22:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBpmr-0003zi-Of for bug-guix@gnu.org; Mon, 06 Nov 2017 17:22:36 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBpmi-0003xX-2u; Mon, 06 Nov 2017 17:22:24 -0500 Received: from peder.onsbrabantnet.nl ([88.159.206.46]:53516 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eBpmh-0001pT-Iu; Mon, 06 Nov 2017 17:22:23 -0500 From: Jan Nieuwenhuizen To: bug-guix@gnu.org Subject: building guile-emacs fails: required libaries not found: libjpeg Date: Mon, 06 Nov 2017 23:22:16 +0100 Message-ID: <87po8vm4iv.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) guix build guile-emacs fails with checking jerror.h usability... yes checking jerror.h presence... yes checking for jerror.h... yes checking for jpeg_destroy_compress in -ljpeg... yes configure: WARNING: libjpeg found, but not version 6b or later checking for library containing inflateEnd... -lz checking for png... yes checking whether png_longjmp is declared... yes checking tiffio.h usability... yes checking tiffio.h presence... yes checking for tiffio.h... yes checking for TIFFGetVersion in -ltiff... yes checking gif_lib.h usability... yes checking gif_lib.h presence... yes checking for gif_lib.h... yes checking for GifMakeMapObject in -lgif... yes configure: error: The following required libraries were not found: libjpeg Maybe some development libraries/packages are missing? If you don't want to link with them give --with-jpeg=3Dno as options to configure phase `configure' failed after 10.5 seconds Obviously that's fu, because libjpeg-8 is available. I tried several things, previous versions of libjpeg; not sure what's going on here. Greetings, janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 07 00:53:56 2017 Received: (at 29186) by debbugs.gnu.org; 7 Nov 2017 05:53:56 +0000 Received: from localhost ([127.0.0.1]:55072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBwpg-0004gn-JV for submit@debbugs.gnu.org; Tue, 07 Nov 2017 00:53:56 -0500 Received: from world.peace.net ([50.252.239.5]:46588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBwpf-0004gY-38 for 29186@debbugs.gnu.org; Tue, 07 Nov 2017 00:53:55 -0500 Received: from pool-72-93-31-230.bstnma.east.verizon.net ([72.93.31.230] helo=jojen) by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eBwpZ-0004iA-3L; Tue, 07 Nov 2017 00:53:49 -0500 From: Mark H Weaver To: Jan Nieuwenhuizen Subject: Re: bug#29186: building guile-emacs fails: required libaries not found: libjpeg References: <87po8vm4iv.fsf@gnu.org> Date: Tue, 07 Nov 2017 00:53:24 -0500 In-Reply-To: <87po8vm4iv.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Mon, 06 Nov 2017 23:22:16 +0100") Message-ID: <874lq6hbxn.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 29186 Cc: 29186@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Jan Nieuwenhuizen writes: > guix build guile-emacs fails with > > checking jerror.h usability... yes > checking jerror.h presence... yes > checking for jerror.h... yes > checking for jpeg_destroy_compress in -ljpeg... yes > configure: WARNING: libjpeg found, but not version 6b or later > checking for library containing inflateEnd... -lz > checking for png... yes > checking whether png_longjmp is declared... yes > checking tiffio.h usability... yes > checking tiffio.h presence... yes > checking for tiffio.h... yes > checking for TIFFGetVersion in -ltiff... yes > checking gif_lib.h usability... yes > checking gif_lib.h presence... yes > checking for gif_lib.h... yes > checking for GifMakeMapObject in -lgif... yes > configure: error: The following required libraries were not found: > libjpeg > Maybe some development libraries/packages are missing? > If you don't want to link with them give > --with-jpeg=no > as options to configure > phase `configure' failed after 10.5 seconds > > Obviously that's fu, because libjpeg-8 is available. I tried several > things, previous versions of libjpeg; not sure what's going on here. Can you try building it with --keep-failed, and then look at the config.log file in the failed build directory? It should show details of what went wrong. Typically these tests try compiling small test programs, and likely there was some other error that lead it to the erroneous conclusion. config.log will contain the test program and error messages. Mark From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 07 12:07:36 2017 Received: (at 29186) by debbugs.gnu.org; 7 Nov 2017 17:07:37 +0000 Received: from localhost ([127.0.0.1]:56831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eC7LT-0006yQ-Nv for submit@debbugs.gnu.org; Tue, 07 Nov 2017 12:07:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eC7LN-0006y9-T2 for 29186@debbugs.gnu.org; Tue, 07 Nov 2017 12:07:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eC7LD-0004WT-RR for 29186@debbugs.gnu.org; Tue, 07 Nov 2017 12:07:16 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eC7L3-0004UH-Va; Tue, 07 Nov 2017 12:07:02 -0500 Received: from peder.onsbrabantnet.nl ([88.159.206.46]:47160 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eC7L3-0007ot-JA; Tue, 07 Nov 2017 12:07:01 -0500 From: Jan Nieuwenhuizen To: Mark H Weaver Subject: Re: bug#29186: building guile-emacs fails: required libaries not found: libjpeg References: <87po8vm4iv.fsf@gnu.org> <874lq6hbxn.fsf@netris.org> Date: Tue, 07 Nov 2017 18:06:50 +0100 In-Reply-To: <874lq6hbxn.fsf@netris.org> (Mark H. Weaver's message of "Tue, 07 Nov 2017 00:53:24 -0500") Message-ID: <87h8u6m311.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29186 Cc: 29186@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain Mark H Weaver writes: > Can you try building it with --keep-failed, and then look at the > config.log file in the failed build directory? It should show details > of what went wrong. Typically these tests try compiling small test > programs, and likely there was some other error that lead it to the > erroneous conclusion. config.log will contain the test program and > error messages. Thanks for the heads up! Attached is a patch that fixes this configure problem. However, now the build fails with a segfault: EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp -l autoload \ --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \ --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"../../git-checkout/lisp/calendar/cal-loaddefs.el\")))" \ -f batch-update-autoloads ../../git-checkout/lisp/calendar make[2]: *** [Makefile:466: ../../git-checkout/lisp/calendar/cal-loaddefs.el] Segmentation fault Greetings, janneke --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-guile-emacs-Resurrect-fixes-29186.patch Content-Transfer-Encoding: quoted-printable >From c0cecb3e3f39de01c674dadf8949186e94d5fb9b Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Tue, 7 Nov 2017 08:08:21 +0100 Subject: [PATCH] gnu: guile-emacs: Resurrect, fixes #29186. * gnu/packages/patches/emacs-fix-configure-jpeg.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/emacs.scm (guile-emacs): Use it. Fixes #29186. --- gnu/local.mk | 2 + gnu/packages/emacs.scm | 1 + .../patches/emacs-fix-configure-jpeg.patch | 99 ++++++++++++++++++= ++++ 3 files changed, 102 insertions(+) create mode 100644 gnu/packages/patches/emacs-fix-configure-jpeg.patch diff --git a/gnu/local.mk b/gnu/local.mk index 90dc7aec1..25082b9ad 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -11,6 +11,7 @@ # Copyright =C2=A9 2016 Ben Woodcroft # Copyright =C2=A9 2016, 2017 Alex Vong # Copyright =C2=A9 2016, 2017 Efraim Flashner +# Copyright =C2=A9 2016, 2017 Jan Nieuwenhuizen # Copyright =C2=A9 2017 Tobias Geerinckx-Rice # Copyright =C2=A9 2017 Cl=C3=A9ment Lassieur # Copyright =C2=A9 2017 Mathieu Othacehe @@ -598,6 +599,7 @@ dist_patch_DATA =3D \ %D%/packages/patches/elixir-disable-failing-tests.patch \ %D%/packages/patches/einstein-build.patch \ %D%/packages/patches/emacs-exec-path.patch \ + %D%/packages/patches/emacs-fix-configure-jpeg.patch \ %D%/packages/patches/emacs-fix-scheme-indent-function.patch \ %D%/packages/patches/emacs-scheme-complete-scheme-r5rs-info.patch \ %D%/packages/patches/emacs-source-date-epoch.patch \ diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 026b27bf8..e5329b4c5 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -276,6 +276,7 @@ editor (without an X toolkit)" ) (uri (git-reference (url "git://git.hcoop.net/git/bpt/emacs.git") (commit "41120e0f595b16387eebfbf731fff70481de1b4b"))) + (patches (search-patches "emacs-fix-configure-jpeg.patch")) (sha256 (base32 "0lvcvsz0f4mawj04db35p1dvkffdqkz8pkhc0jzh9j9x2i63kcz6")))) diff --git a/gnu/packages/patches/emacs-fix-configure-jpeg.patch b/gnu/pack= ages/patches/emacs-fix-configure-jpeg.patch new file mode 100644 index 000000000..5205877af --- /dev/null +++ b/gnu/packages/patches/emacs-fix-configure-jpeg.patch @@ -0,0 +1,99 @@ +Backported from + + From fdf532b9c915ad9ba72155646d29d0f530fd72ec Mon Sep 17 00:00:00 2001 + From: Paul Eggert + Date: Wed, 15 Apr 2015 18:30:01 -0700 + Subject: [PATCH] Port jpeg configuration to Solaris 10 with Sun C + + * configure.ac: Check for jpeglib 6b by trying to link it, instead + of relying on cpp magic that has problems in practice. Check for + both jpeglib.h and jerror.h features. Remove special case for + mingw32, which should no longer be needed (and if it were needed, + should now be addressable by hotwiring emacs_cv_jpeglib). + Fixes: bug#20332 + +Fixes: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D29186 + +Upstream status: not yet presented upstream. + +--- a/configure.ac 2017-11-07 07:49:49.359550593 +0100 ++++ b/configure.ac 2017-11-07 07:50:50.864551155 +0100 +@@ -3014,44 +3014,40 @@ AC_SUBST(LIBXPM) + ### mingw32 doesn't use -ljpeg, since it loads the library dynamically. + HAVE_JPEG=3Dno + LIBJPEG=3D +-if test "${opsys}" =3D "mingw32"; then +- if test "${with_jpeg}" !=3D "no"; then +- dnl Checking for jpeglib.h can lose because of a redefinition of +- dnl HAVE_STDLIB_H. +- AC_CHECK_HEADER(jerror.h, HAVE_JPEG=3Dyes, HAVE_JPEG=3Dno) +- fi +- AH_TEMPLATE(HAVE_JPEG, [Define to 1 if you have the jpeg library (-ljpe= g).])dnl +- if test "${HAVE_JPEG}" =3D "yes"; then +- AC_DEFINE(HAVE_JPEG) +- AC_EGREP_CPP([version=3D *(6[2-9]|[7-9][0-9])], +- [#include +- version=3DJPEG_LIB_VERSION +-], +- [AC_DEFINE(HAVE_JPEG)], +- [AC_MSG_WARN([libjpeg found, but not version 6b or later]) +- HAVE_JPEG=3Dno]) +- fi +-elif test "${HAVE_X11}" =3D "yes" || test "${HAVE_W32}" =3D "yes"; then +- if test "${with_jpeg}" !=3D "no"; then +- dnl Checking for jpeglib.h can lose because of a redefinition of +- dnl HAVE_STDLIB_H. +- AC_CHECK_HEADER(jerror.h, +- [AC_CHECK_LIB(jpeg, jpeg_destroy_compress, HAVE_JPEG=3Dyes)]) +- fi +- +- AH_TEMPLATE(HAVE_JPEG, [Define to 1 if you have the jpeg library (-ljpe= g).])dnl +- if test "${HAVE_JPEG}" =3D "yes"; then +- AC_DEFINE(HAVE_JPEG) +- AC_EGREP_CPP([version=3D *(6[2-9]|[7-9][0-9])], +- [#include +- version=3DJPEG_LIB_VERSION +-], +- [AC_DEFINE(HAVE_JPEG)], +- [AC_MSG_WARN([libjpeg found, but not version 6b or later]) +- HAVE_JPEG=3Dno]) +- fi +- if test "${HAVE_JPEG}" =3D "yes"; then +- LIBJPEG=3D-ljpeg ++if test "${with_jpeg}" !=3D "no"; then ++ AC_CACHE_CHECK([for jpeglib 6b or later], ++ [emacs_cv_jpeglib], ++ [OLD_LIBS=3D$LIBS ++ for emacs_cv_jpeglib in yes -ljpeg no; do ++ case $emacs_cv_jpeglib in ++ yes) ;; ++ no) break;; ++ *) LIBS=3D"$LIBS $emacs_cv_jpeglib";; ++ esac ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#undef HAVE_STDLIB_H /* Avoid config.h/jpeglib.h collision. */ ++ #include /* jpeglib.h needs FILE and size_t. */ ++ #include ++ #include ++ char verify[JPEG_LIB_VERSION < 62 ? -1 : 1]; ++ struct jpeg_decompress_struct cinfo; ++ ]], ++ [[ ++ jpeg_create_decompress (&cinfo); ++ WARNMS (&cinfo, JWRN_JPEG_EOF); ++ jpeg_destroy_decompress (&cinfo); ++ ]])], ++ [emacs_link_ok=3Dyes], ++ [emacs_link_ok=3Dno]) ++ LIBS=3D$OLD_LIBS ++ test $emacs_link_ok =3D yes && break ++ done]) ++ if test "$emacs_cv_jpeglib" !=3D no; then ++ HAVE_JPEG=3Dyes ++ AC_DEFINE([HAVE_JPEG], 1, ++ [Define to 1 if you have the jpeg library (typically -ljpeg).]) ++ test "$emacs_cv_jpeglib" !=3D yes && LIBJPEG=3D$emacs_cv_jpeglib + fi + fi + AC_SUBST(LIBJPEG) --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 07 14:06:41 2017 Received: (at 29186) by debbugs.gnu.org; 7 Nov 2017 19:06:41 +0000 Received: from localhost ([127.0.0.1]:56986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eC9Cn-0005O5-GY for submit@debbugs.gnu.org; Tue, 07 Nov 2017 14:06:41 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eC9Cm-0005Ns-2K for 29186@debbugs.gnu.org; Tue, 07 Nov 2017 14:06:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eC9Cd-0007nk-Rv for 29186@debbugs.gnu.org; Tue, 07 Nov 2017 14:06:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, URIBL_BLACK autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eC9CS-0007lg-7H; Tue, 07 Nov 2017 14:06:16 -0500 Received: from peder.onsbrabantnet.nl ([88.159.206.46]:47470 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eC9CR-0004Eg-S7; Tue, 07 Nov 2017 14:06:16 -0500 From: Jan Nieuwenhuizen To: Mark H Weaver Subject: Re: bug#29186: building guile-emacs fails: required libaries not found: libjpeg References: <87po8vm4iv.fsf@gnu.org> <874lq6hbxn.fsf@netris.org> <87h8u6m311.fsf@gnu.org> Date: Tue, 07 Nov 2017 20:06:05 +0100 In-Reply-To: <87h8u6m311.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Tue, 07 Nov 2017 18:06:50 +0100") Message-ID: <878tfhlxia.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 29186 Cc: 29186@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Jan Nieuwenhuizen writes: > However, now the build fails with a segfault: > > EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp -l autoload \ > --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \ > --eval "(setq generated-autoload-file (expand-file-name > (unmsys--file-name > \"../../git-checkout/lisp/calendar/cal-loaddefs.el\")))" \ > -f batch-update-autoloads ../../git-checkout/lisp/calendar > make[2]: *** [Makefile:466: ../../git-checkout/lisp/calendar/cal-loaddefs.el] Segmentation fault [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: autogen.sh] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [208.118.235.92 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders --=-=-= Content-Type: text/plain Jan Nieuwenhuizen writes: > However, now the build fails with a segfault: > > EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp -l autoload \ > --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \ > --eval "(setq generated-autoload-file (expand-file-name > (unmsys--file-name > \"../../git-checkout/lisp/calendar/cal-loaddefs.el\")))" \ > -f batch-update-autoloads ../../git-checkout/lisp/calendar > make[2]: *** [Makefile:466: ../../git-checkout/lisp/calendar/cal-loaddefs.el] Segmentation fault Attempting to debug this segfault, I configured using CFLAGS=-g ./configure however, now the segfault is gone. Additional patch attached. WDY(all)T? Greetings, janneke --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-guile-emacs-compile-with-g-rather-than-O2.patch Content-Transfer-Encoding: quoted-printable >From 2a369f5151e0c7565fc271fb52def543b447477d Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Tue, 7 Nov 2017 20:02:35 +0100 Subject: [PATCH] gnu: guile-emacs: compile with -g (rather than -O2?) --- gnu/packages/emacs.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index c133c745c..5c33d0874 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -293,6 +293,9 @@ editor (without an X toolkit)" ) ,@(package-arguments emacs)) ((#:phases phases) `(modify-phases ,phases + (add-before 'configure 'setenv + (lambda _ + (setenv "CFLAGS" "-g"))) (add-after 'unpack 'autogen (lambda _ (zero? (system* "sh" "autogen.sh")))))))))) --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 08 05:11:45 2017 Received: (at 29186) by debbugs.gnu.org; 8 Nov 2017 10:11:45 +0000 Received: from localhost ([127.0.0.1]:57644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCNKi-0000FW-Og for submit@debbugs.gnu.org; Wed, 08 Nov 2017 05:11:44 -0500 Received: from flashner.co.il ([178.62.234.194]:36058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCNKg-0000FG-SQ for 29186@debbugs.gnu.org; Wed, 08 Nov 2017 05:11:43 -0500 Received: from localhost (46-117-130-79.bb.netvision.net.il [46.117.130.79]) by flashner.co.il (Postfix) with ESMTPSA id 164F54000F; Wed, 8 Nov 2017 10:11:36 +0000 (UTC) Date: Wed, 8 Nov 2017 12:11:35 +0200 From: Efraim Flashner To: Jan Nieuwenhuizen Subject: Re: bug#29186: building guile-emacs fails: required libaries not found: libjpeg Message-ID: <20171108101135.GC1815@macbook41> References: <87po8vm4iv.fsf@gnu.org> <874lq6hbxn.fsf@netris.org> <87h8u6m311.fsf@gnu.org> <878tfhlxia.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fXStkuK2IQBfcDe+" Content-Disposition: inline In-Reply-To: <878tfhlxia.fsf@gnu.org> User-Agent: Mutt/1.9.1 (2017-09-22) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 29186 Cc: Mark H Weaver , 29186@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --fXStkuK2IQBfcDe+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 07, 2017 at 08:06:05PM +0100, Jan Nieuwenhuizen wrote: > Jan Nieuwenhuizen writes: >=20 > > However, now the build fails with a segfault: > > > > EMACSLOADPATH=3D '../src/bootstrap-emacs' -batch --no-site-file --no-si= te-lisp -l autoload \ > > --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \ > > --eval "(setq generated-autoload-file (expand-file-name > > (unmsys--file-name > > \"../../git-checkout/lisp/calendar/cal-loaddefs.el\")))" \ > > -f batch-update-autoloads ../../git-checkout/lisp/calendar > > make[2]: *** [Makefile:466: ../../git-checkout/lisp/calendar/cal-loadde= fs.el] Segmentation fault >=20 > Attempting to debug this segfault, I configured using >=20 > CFLAGS=3D-g ./configure >=20 > however, now the segfault is gone. >=20 > Additional patch attached. WDY(all)T? >=20 > Greetings, > janneke >=20 Will it build with libjpeg-turbo or libjpeg-9? I'm not sure how feasable it is, but I'd like to remove libjpeg-8 (and some other old libraries) if its possible. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --fXStkuK2IQBfcDe+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAloC2FQACgkQQarn3Mo9 g1FtrRAAl1BSor4cw9Nle/FhG8YU8btisP2/YZYGYKjIEo0A3Cd1BkkpbWuIkN8H 1YAawxWXPTJnN/TRM7dwfG6mQEJFDZZyYM1/lHR3VBu5fJmnE2Vm7X1KcJqXHw2G fIWAPawifpYVtN3JkdvO1byfEvEq2DwPokkURYwsLQXPAyB+wPJsZ3XXzRSIhfxs K24FczDH3TwHrLdRAbvRgbOFUGI6W/pCK53yf89BG+9xeMoqGFKof2jQSqSNkOOv JMsqGvS9SVqakRqPijg2DaRW57mBAZMDOQVq15bDuX7o2wRG94Ugo6wLujfloJ4l hAf9CIq7eKlqMoLDt1KxockyMDX4US05d4HQPyMEDm5Jxpe7HTHyOMqpyBUaqB++ m7Xf8xTLYkShR9BllUI7XS/e0ySNcxzMquqgHYaEyXL/Bu9geD2irKuCeweUPSyR TUcLH5+pIRoQy2mPxDFKU+U2C4M41Zhk+MhJR1MMS4aUWnPYy3zsV/JSZPUKaAr1 93qxf4hXDwRx53SJd0PMwXQs/Q2CL/mtWbenflZbUYqyop2BoIywdcNgDLKny57v 4dBGi1zUuPs8VT7n+JtNZGeK0PfOPoeB4seGSmhlYaEsvkhLWbva9Yi9eJeXYkyI Ue7uXyDN/9jiOQEBusuIx86jkvobau522X7Kb8Feg/QzwH5PbKI= =Cx0K -----END PGP SIGNATURE----- --fXStkuK2IQBfcDe+-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 08 05:12:37 2017 Received: (at 29186) by debbugs.gnu.org; 8 Nov 2017 10:12:37 +0000 Received: from localhost ([127.0.0.1]:57648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCNLY-0000HA-2U for submit@debbugs.gnu.org; Wed, 08 Nov 2017 05:12:37 -0500 Received: from flashner.co.il ([178.62.234.194]:36064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCNLV-0000Gq-Q8 for 29186@debbugs.gnu.org; Wed, 08 Nov 2017 05:12:34 -0500 Received: from localhost (46-117-130-79.bb.netvision.net.il [46.117.130.79]) by flashner.co.il (Postfix) with ESMTPSA id 095254000F; Wed, 8 Nov 2017 10:12:27 +0000 (UTC) Date: Wed, 8 Nov 2017 12:12:26 +0200 From: Efraim Flashner To: Jan Nieuwenhuizen Subject: Re: bug#29186: building guile-emacs fails: required libaries not found: libjpeg Message-ID: <20171108101226.GD1815@macbook41> References: <87po8vm4iv.fsf@gnu.org> <874lq6hbxn.fsf@netris.org> <87h8u6m311.fsf@gnu.org> <878tfhlxia.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Oiv9uiLrevHtW1RS" Content-Disposition: inline In-Reply-To: <878tfhlxia.fsf@gnu.org> User-Agent: Mutt/1.9.1 (2017-09-22) X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Tue, Nov 07, 2017 at 08:06:05PM +0100, Jan Nieuwenhuizen wrote: > Jan Nieuwenhuizen writes: > > From 2a369f5151e0c7565fc271fb52def543b447477d Mon Sep 17 00:00:00 2001 > From: Jan Nieuwenhuizen > Date: Tue, 7 Nov 2017 20:02:35 +0100 > Subject: [PATCH] gnu: guile-emacs: compile with -g (rather than -O2?) > > --- > gnu/packages/emacs.scm | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm > index c133c745c..5c33d0874 100644 > --- a/gnu/packages/emacs.scm > +++ b/gnu/packages/emacs.scm > @@ -293, 6 +293, 9 @@ editor (without an X toolkit)" ) > , @(package-arguments emacs)) > ((#:phases phases) > `(modify-phases , phases > + (add-before 'configure 'setenv > + (lambda _ > + (setenv "CFLAGS" "-g"))) > (add-after 'unpack 'autogen > (lambda _ > (zero? (system* "sh" "autogen.sh")))))))))) [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: autogen.sh] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Debbugs-Envelope-To: 29186 Cc: Mark H Weaver , 29186@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Tue, Nov 07, 2017 at 08:06:05PM +0100, Jan Nieuwenhuizen wrote: > Jan Nieuwenhuizen writes: > > From 2a369f5151e0c7565fc271fb52def543b447477d Mon Sep 17 00:00:00 2001 > From: Jan Nieuwenhuizen > Date: Tue, 7 Nov 2017 20:02:35 +0100 > Subject: [PATCH] gnu: guile-emacs: compile with -g (rather than -O2?) > > --- > gnu/packages/emacs.scm | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm > index c133c745c..5c33d0874 100644 > --- a/gnu/packages/emacs.scm > +++ b/gnu/packages/emacs.scm > @@ -293,6 +293,9 @@ editor (without an X toolkit)" ) > ,@(package-arguments emacs)) > ((#:phases phases) > `(modify-phases ,phases > + (add-before 'configure 'setenv > + (lambda _ > + (setenv "CFLAGS" "-g"))) > (add-after 'unpack 'autogen > (lambda _ > (zero? (system* "sh" "autogen.sh")))))))))) [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: autogen.sh] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain --Oiv9uiLrevHtW1RS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 07, 2017 at 08:06:05PM +0100, Jan Nieuwenhuizen wrote: > Jan Nieuwenhuizen writes: >=20 > From 2a369f5151e0c7565fc271fb52def543b447477d Mon Sep 17 00:00:00 2001 > From: Jan Nieuwenhuizen > Date: Tue, 7 Nov 2017 20:02:35 +0100 > Subject: [PATCH] gnu: guile-emacs: compile with -g (rather than -O2?) >=20 > --- > gnu/packages/emacs.scm | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm > index c133c745c..5c33d0874 100644 > --- a/gnu/packages/emacs.scm > +++ b/gnu/packages/emacs.scm > @@ -293,6 +293,9 @@ editor (without an X toolkit)" ) > ,@(package-arguments emacs)) > ((#:phases phases) > `(modify-phases ,phases > + (add-before 'configure 'setenv > + (lambda _ > + (setenv "CFLAGS" "-g"))) > (add-after 'unpack 'autogen > (lambda _ > (zero? (system* "sh" "autogen.sh")))))))))) Couldn't this be a make-flag or a configure-flag? --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Oiv9uiLrevHtW1RS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAloC2IoACgkQQarn3Mo9 g1EwHw/9FOrtp9fdBuxP8buHU/L2XoJkxU0NJE/YOx+iWARN8dAc44PGRc8mV9mI Xm3GbH08kH/RmMOj6e0t94rkYkZNG5QBjwp96uMMnupIQ1v2SFseeMy3Yv2AlbKF n2oGdhPT4769VjncLPv8phssW9Jkamx2lJVSeR+udVXnMEIsJEtyUqJxWvfNJyCT LGq8P2A7kzuA/vKz4zjySo7s2mlgFvmK6REtG4ujUId2nh9Mg0Qqod5oZW+cuzmW Yyq9nSdrLwbxYdENGRTlLpnutxyLfmZOdCJmHFKt3e6Q2OfxVGkMxWsVoUXjRhf+ xrsMPxRqkwtMN8LzhBfQxIJd3h9xye5SLvpaZsE7f57QP2312twkuUITS+2RadnT Ca/KySKl4rA9P//y5MyREVIvalRJKWcbJjkMS5ySqx1H21bNoWbjVzoFIqCX44k3 J1xo6rjyBNq+Ak6zv/fSL/0UlZwoP9yuxQgiHng3x7e9q3cLnZELyIysk6WN4hPW 6nLet4xLjE1US3MSLhkP40RTQUEtI+7NsVbG9C4sHLgdycDb9uljM0MYJJRSf7ud wpm9MGfq41W4YB9H6rzixtLs+b1xvfHhbNmDKjSNCUJ0zpvn9BAmdqp+mnW/7IAu A2zsaoOngJkT2IQANziRIf2wOqBHs8IGv7QWPA2S6+ugepPlGqo= =XoER -----END PGP SIGNATURE----- --Oiv9uiLrevHtW1RS-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 08 09:45:34 2017 Received: (at 29186) by debbugs.gnu.org; 8 Nov 2017 14:45:34 +0000 Received: from localhost ([127.0.0.1]:57848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCRbh-0002Q4-OO for submit@debbugs.gnu.org; Wed, 08 Nov 2017 09:45:33 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCRbg-0002Pm-KN for 29186@debbugs.gnu.org; Wed, 08 Nov 2017 09:45:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCRbX-0003Et-6p for 29186@debbugs.gnu.org; Wed, 08 Nov 2017 09:45:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCRb1-0002x7-Vs; Wed, 08 Nov 2017 09:44:52 -0500 Received: from peder.onsbrabantnet.nl ([88.159.206.46]:59658 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eCRb1-0004b2-He; Wed, 08 Nov 2017 09:44:51 -0500 From: Jan Nieuwenhuizen To: Efraim Flashner Subject: Re: bug#29186: building guile-emacs fails: required libaries not found: libjpeg In-Reply-To: <20171108101135.GC1815@macbook41> (Efraim Flashner's message of "Wed, 8 Nov 2017 12:11:35 +0200") References: <87po8vm4iv.fsf@gnu.org> <874lq6hbxn.fsf@netris.org> <87h8u6m311.fsf@gnu.org> <878tfhlxia.fsf@gnu.org> <20171108101135.GC1815@macbook41> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Date: Wed, 08 Nov 2017 15:44:39 +0100 Message-ID: <87o9ochlt4.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29186 Cc: Mark H Weaver , 29186@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Efraim Flashner writes: > Will it build with libjpeg-turbo or libjpeg-9? I'm not sure how feasable > it is, but I'd like to remove libjpeg-8 (and some other old libraries) > if its possible. As communicated over irc; yes, it build with libjpeg-9. janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 08 09:47:40 2017 Received: (at 29186) by debbugs.gnu.org; 8 Nov 2017 14:47:40 +0000 Received: from localhost ([127.0.0.1]:57853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCRde-0002Tk-4u for submit@debbugs.gnu.org; Wed, 08 Nov 2017 09:47:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCRdZ-0002TV-R4 for 29186@debbugs.gnu.org; Wed, 08 Nov 2017 09:47:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCRdR-0004Ya-1I for 29186@debbugs.gnu.org; Wed, 08 Nov 2017 09:47:24 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD, URIBL_BLACK autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCRcy-0004Jy-P7; Wed, 08 Nov 2017 09:46:52 -0500 Received: from peder.onsbrabantnet.nl ([88.159.206.46]:59660 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eCRcy-0004jc-7l; Wed, 08 Nov 2017 09:46:52 -0500 From: Jan Nieuwenhuizen To: Efraim Flashner Subject: Re: bug#29186: building guile-emacs fails: required libaries not found: libjpeg References: <87po8vm4iv.fsf@gnu.org> <874lq6hbxn.fsf@netris.org> <87h8u6m311.fsf@gnu.org> <878tfhlxia.fsf@gnu.org> <20171108101226.GD1815@macbook41> Date: Wed, 08 Nov 2017 15:46:40 +0100 In-Reply-To: <20171108101226.GD1815@macbook41> (Efraim Flashner's message of "Wed, 8 Nov 2017 12:12:26 +0200") Message-ID: <87k1z0hlpr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Efraim Flashner writes: >> + (add-before 'configure 'setenv >> + (lambda _ >> + (setenv "CFLAGS" "-g"))) >> (add-after 'unpack 'autogen >> (lambda _ >> (zero? (system* "sh" "autogen.sh")))))))))) > > Couldn't this be a make-flag or a configure-flag? [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: autogen.sh] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [208.118.235.92 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 29186 Cc: Mark H Weaver , 29186@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Efraim Flashner writes: >> + (add-before 'configure 'setenv >> + (lambda _ >> + (setenv "CFLAGS" "-g"))) >> (add-after 'unpack 'autogen >> (lambda _ >> (zero? (system* "sh" "autogen.sh")))))))))) > > Couldn't this be a make-flag or a configure-flag? [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: autogen.sh] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain --=-=-= Content-Type: text/plain Efraim Flashner writes: >> + (add-before 'configure 'setenv >> + (lambda _ >> + (setenv "CFLAGS" "-g"))) >> (add-after 'unpack 'autogen >> (lambda _ >> (zero? (system* "sh" "autogen.sh")))))))))) > > Couldn't this be a make-flag or a configure-flag? Yes, as a configure flags also works. However, I tracked down the segfault, backported a patch and and now it builds with -O2. New patch attached. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-guile-emacs-Resurrect-fixes-29186.patch Content-Transfer-Encoding: quoted-printable >From f6633adf4c5ceee3a63da9a3909a94c22f55b68a Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Tue, 7 Nov 2017 08:08:21 +0100 Subject: [PATCH] gnu: guile-emacs: Resurrect, fixes #29186. * gnu/packages/patches/guile-emacs-fix-configure.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/emacs.scm (guile-emacs): Use it. Add workaround for src/deps dir creation. Fixes #29186. --- gnu/local.mk | 1 + gnu/packages/emacs.scm | 7 +- .../patches/guile-emacs-fix-configure.patch | 208 +++++++++++++++++= ++++ 3 files changed, 215 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/guile-emacs-fix-configure.patch diff --git a/gnu/local.mk b/gnu/local.mk index ecee15b1d..71392d86c 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -712,6 +712,7 @@ dist_patch_DATA =3D \ %D%/packages/patches/guile-present-coding.patch \ %D%/packages/patches/guile-relocatable.patch \ %D%/packages/patches/guile-rsvg-pkgconfig.patch \ + %D%/packages/patches/guile-emacs-fix-configure.patch \ %D%/packages/patches/gtk2-respect-GUIX_GTK2_PATH.patch \ %D%/packages/patches/gtk2-respect-GUIX_GTK2_IM_MODULE_FILE.patch \ %D%/packages/patches/gtk2-theme-paths.patch \ diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 45e0635de..502d83b5f 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -276,6 +276,7 @@ editor (without an X toolkit)" ) (uri (git-reference (url "git://git.hcoop.net/git/bpt/emacs.git") (commit "41120e0f595b16387eebfbf731fff70481de1b4b"))) + (patches (search-patches "guile-emacs-fix-configure.patch")) (sha256 (base32 "0lvcvsz0f4mawj04db35p1dvkffdqkz8pkhc0jzh9j9x2i63kcz6")))) @@ -294,7 +295,11 @@ editor (without an X toolkit)" ) `(modify-phases ,phases (add-after 'unpack 'autogen (lambda _ - (zero? (system* "sh" "autogen.sh")))))))))) + (zero? (system* "sh" "autogen.sh")))) + ;; Build sometimes fails: deps/dispnew.d: No such file or direc= tory + (add-before 'build 'make-deps-dir + (lambda _ + (zero? (system* "mkdir" "-p" "src/deps")))))))))) =20 ;;; diff --git a/gnu/packages/patches/guile-emacs-fix-configure.patch b/gnu/pac= kages/patches/guile-emacs-fix-configure.patch new file mode 100644 index 000000000..374972359 --- /dev/null +++ b/gnu/packages/patches/guile-emacs-fix-configure.patch @@ -0,0 +1,208 @@ +Two patches here backporting fixes from emacs master. + +From dfcb3b6ff318e47b84a28cfc43f50bec42fa3570 Mon Sep 17 00:00:00 2001 +From: Jan Nieuwenhuizen +Date: Tue, 7 Nov 2017 18:48:03 +0100 +Subject: [PATCH 1/2] backport: Port jpeg configuration to Solaris 10 with = Sun + C. + +* configure.ac: Check for jpeglib 6b by trying to link it, instead +of relying on cpp magic that has problems in practice. Check for +both jpeglib.h and jerror.h features. Remove special case for +mingw32, which should no longer be needed (and if it were needed, +should now be addressable by hotwiring emacs_cv_jpeglib). +Fixes: bug#20332 + + From fdf532b9c915ad9ba72155646d29d0f530fd72ec Mon Sep 17 00:00:00 2001 + From: Paul Eggert + Date: Wed, 15 Apr 2015 18:30:01 -0700 + Subject: [PATCH] Port jpeg configuration to Solaris 10 with Sun C. + + * configure.ac: Check for jpeglib 6b by trying to link it, instead + of relying on cpp magic that has problems in practice. Check for + both jpeglib.h and jerror.h features. Remove special case for + mingw32, which should no longer be needed (and if it were needed, + should now be addressable by hotwiring emacs_cv_jpeglib). + Fixes: bug#20332 +--- + configure.ac | 72 ++++++++++++++++++++++++++++---------------------------= ----- + 1 file changed, 34 insertions(+), 38 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 2445db4886..36fa8eb390 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3014,44 +3014,40 @@ AC_SUBST(LIBXPM) + ### mingw32 doesn't use -ljpeg, since it loads the library dynamically. + HAVE_JPEG=3Dno + LIBJPEG=3D +-if test "${opsys}" =3D "mingw32"; then +- if test "${with_jpeg}" !=3D "no"; then +- dnl Checking for jpeglib.h can lose because of a redefinition of +- dnl HAVE_STDLIB_H. +- AC_CHECK_HEADER(jerror.h, HAVE_JPEG=3Dyes, HAVE_JPEG=3Dno) +- fi +- AH_TEMPLATE(HAVE_JPEG, [Define to 1 if you have the jpeg library (-ljpe= g).])dnl +- if test "${HAVE_JPEG}" =3D "yes"; then +- AC_DEFINE(HAVE_JPEG) +- AC_EGREP_CPP([version=3D *(6[2-9]|[7-9][0-9])], +- [#include +- version=3DJPEG_LIB_VERSION +-], +- [AC_DEFINE(HAVE_JPEG)], +- [AC_MSG_WARN([libjpeg found, but not version 6b or later]) +- HAVE_JPEG=3Dno]) +- fi +-elif test "${HAVE_X11}" =3D "yes" || test "${HAVE_W32}" =3D "yes"; then +- if test "${with_jpeg}" !=3D "no"; then +- dnl Checking for jpeglib.h can lose because of a redefinition of +- dnl HAVE_STDLIB_H. +- AC_CHECK_HEADER(jerror.h, +- [AC_CHECK_LIB(jpeg, jpeg_destroy_compress, HAVE_JPEG=3Dyes)]) +- fi +- +- AH_TEMPLATE(HAVE_JPEG, [Define to 1 if you have the jpeg library (-ljpe= g).])dnl +- if test "${HAVE_JPEG}" =3D "yes"; then +- AC_DEFINE(HAVE_JPEG) +- AC_EGREP_CPP([version=3D *(6[2-9]|[7-9][0-9])], +- [#include +- version=3DJPEG_LIB_VERSION +-], +- [AC_DEFINE(HAVE_JPEG)], +- [AC_MSG_WARN([libjpeg found, but not version 6b or later]) +- HAVE_JPEG=3Dno]) +- fi +- if test "${HAVE_JPEG}" =3D "yes"; then +- LIBJPEG=3D-ljpeg ++if test "${with_jpeg}" !=3D "no"; then ++ AC_CACHE_CHECK([for jpeglib 6b or later], ++ [emacs_cv_jpeglib], ++ [OLD_LIBS=3D$LIBS ++ for emacs_cv_jpeglib in yes -ljpeg no; do ++ case $emacs_cv_jpeglib in ++ yes) ;; ++ no) break;; ++ *) LIBS=3D"$LIBS $emacs_cv_jpeglib";; ++ esac ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#undef HAVE_STDLIB_H /* Avoid config.h/jpeglib.h collision. */ ++ #include /* jpeglib.h needs FILE and size_t. */ ++ #include ++ #include ++ char verify[JPEG_LIB_VERSION < 62 ? -1 : 1]; ++ struct jpeg_decompress_struct cinfo; ++ ]], ++ [[ ++ jpeg_create_decompress (&cinfo); ++ WARNMS (&cinfo, JWRN_JPEG_EOF); ++ jpeg_destroy_decompress (&cinfo); ++ ]])], ++ [emacs_link_ok=3Dyes], ++ [emacs_link_ok=3Dno]) ++ LIBS=3D$OLD_LIBS ++ test $emacs_link_ok =3D yes && break ++ done]) ++ if test "$emacs_cv_jpeglib" !=3D no; then ++ HAVE_JPEG=3Dyes ++ AC_DEFINE([HAVE_JPEG], 1, ++ [Define to 1 if you have the jpeg library (typically -ljpeg).]) ++ test "$emacs_cv_jpeglib" !=3D yes && LIBJPEG=3D$emacs_cv_jpeglib + fi + fi + AC_SUBST(LIBJPEG) +--=20 +Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org +Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com + +From f761b92d520b72954be28ad66eb82d1a96c785fb Mon Sep 17 00:00:00 2001 +From: Jan Nieuwenhuizen +Date: Wed, 8 Nov 2017 14:05:43 +0100 +Subject: [PATCH 2/2] backport fix for #24065: calloc loop when compiling w= ith + -O2. + +This patch fixes + + EMACSLOADPATH=3D '../src/bootstrap-emacs' -batch --no-site-file --no-s= ite-lisp -l autoload \ + --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \ + --eval "(setq generated-autoload-file (expand-file-name + (unmsys--file-name + \"../../git-checkout/lisp/calendar/cal-loaddefs.el\")))" \ + -f batch-update-autoloads ../../git-checkout/lisp/calendar + make[2]: *** [Makefile:466: ../../git-checkout/lisp/calendar/cal-loadd= efs.el] Segmentation fault + +in gdb seen as + + in calloc (nmemb=3D, size=3Dsize@entry=3D1) at gmalloc.c:1510 + +I did not find malloc-fixing commits from emacs master to cleanly +cherry-pick, so this patch replaces the relevant part in configure +(emacs 53da55b8cc45e76b836ebaadd23f46e92d25abce). + +* configure.ac: backport system_malloc/hybrid_malloc detection. +--- + configure.ac | 29 ++++++++++++++++++++++++++++- + 1 file changed, 28 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 36fa8eb390..3cc1794f37 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1966,7 +1966,25 @@ case "$opsys" in + darwin|mingw32|sol2-10) system_malloc=3Dyes ;; + esac +=20 ++hybrid_malloc=3D ++system_malloc=3Dyes ++ ++test "$CANNOT_DUMP" =3D yes || ++case "$opsys" in ++ ## darwin ld insists on the use of malloc routines in the System framew= ork. ++ darwin | mingw32 | nacl | sol2-10) ;; ++ cygwin) hybrid_malloc=3Dyes ++ system_malloc=3D ;; ++ *) test "$ac_cv_func_sbrk" =3D yes && system_malloc=3D$emacs_cv_sanitiz= e_address;; ++esac ++ ++if test "${system_malloc}" !=3D yes && test "${doug_lea_malloc}" !=3D yes= \ ++ && test "${UNEXEC_OBJ}" =3D unexelf.o; then ++ hybrid_malloc=3Dyes ++fi ++ + GMALLOC_OBJ=3D ++HYBRID_MALLOC=3D + if test "${system_malloc}" =3D "yes"; then + AC_DEFINE([SYSTEM_MALLOC], 1, + [Define to 1 to use the system memory allocator, even if it is not +@@ -1975,6 +1993,14 @@ if test "${system_malloc}" =3D "yes"; then + GNU_MALLOC_reason=3D" + (The GNU allocators don't work with this system configuration.)" + VMLIMIT_OBJ=3D ++elif test "$hybrid_malloc" =3D yes; then ++ AC_DEFINE(HYBRID_MALLOC, 1, ++ [Define to use gmalloc before dumping and the system malloc after.]) ++ HYBRID_MALLOC=3D1 ++ GNU_MALLOC=3Dno ++ GNU_MALLOC_reason=3D" (only before dumping)" ++ GMALLOC_OBJ=3Dgmalloc.o ++ VMLIMIT_OBJ=3D + else + test "$doug_lea_malloc" !=3D "yes" && GMALLOC_OBJ=3Dgmalloc.o + VMLIMIT_OBJ=3Dvm-limit.o +@@ -1993,10 +2019,11 @@ else + of the main data segment.]) + fi + fi ++AC_SUBST([HYBRID_MALLOC]) + AC_SUBST(GMALLOC_OBJ) + AC_SUBST(VMLIMIT_OBJ) +=20 +-if test "$doug_lea_malloc" =3D "yes" ; then ++if test "$doug_lea_malloc" =3D "yes" && test "$hybrid_malloc" !=3D yes; t= hen + if test "$GNU_MALLOC" =3D yes ; then + GNU_MALLOC_reason=3D" + (Using Doug Lea's new malloc from the GNU C Library.)" +--=20 +Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org +Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com + --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 14 17:09:39 2017 Received: (at 29186) by debbugs.gnu.org; 14 Nov 2017 22:09:39 +0000 Received: from localhost ([127.0.0.1]:40701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEjOk-0004lS-T1 for submit@debbugs.gnu.org; Tue, 14 Nov 2017 17:09:39 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:41862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEjOg-0004lE-5D for 29186@debbugs.gnu.org; Tue, 14 Nov 2017 17:09:37 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id B597DF494; Tue, 14 Nov 2017 23:09:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DKBjiE4GN4lJ; Tue, 14 Nov 2017 23:09:35 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 7FBE9E7D5; Tue, 14 Nov 2017 23:09:34 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Jan Nieuwenhuizen Subject: Re: bug#29186: building guile-emacs fails: required libaries not found: libjpeg References: <87po8vm4iv.fsf@gnu.org> <874lq6hbxn.fsf@netris.org> <87h8u6m311.fsf@gnu.org> <878tfhlxia.fsf@gnu.org> <20171108101226.GD1815@macbook41> <87k1z0hlpr.fsf@gnu.org> Date: Tue, 14 Nov 2017 23:09:31 +0100 In-Reply-To: <87k1z0hlpr.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Wed, 08 Nov 2017 15:46:40 +0100") Message-ID: <87po8kldgk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.7 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello, Jan Nieuwenhuizen skribis: > Efraim Flashner writes: > >>> + (add-before 'configure 'setenv >>> + (lambda _ >>> + (setenv "CFLAGS" "-g"))) >>> (add-after 'unpack 'autogen >>> (lambda _ >>> (zero? (system* "sh" "autogen.sh")))))))))) >> >> Couldn't this be a make-flag or a configure-flag? > > Yes, as a configure flags also works. However, I tracked down the > segfault, backported a patch and and now it builds with -O2. > > New patch attached. [...] Content analysis details: (2.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: autogen.sh] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record X-Debbugs-Envelope-To: 29186 Cc: Mark H Weaver , Efraim Flashner , 29186@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.7 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello, Jan Nieuwenhuizen skribis: > Efraim Flashner writes: > >>> + (add-before 'configure 'setenv >>> + (lambda _ >>> + (setenv "CFLAGS" "-g"))) >>> (add-after 'unpack 'autogen >>> (lambda _ >>> (zero? (system* "sh" "autogen.sh")))))))))) >> >> Couldn't this be a make-flag or a configure-flag? > > Yes, as a configure flags also works. However, I tracked down the > segfault, backported a patch and and now it builds with -O2. > > New patch attached. [...] Content analysis details: (2.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: autogen.sh] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record Hello, Jan Nieuwenhuizen skribis: > Efraim Flashner writes: > >>> + (add-before 'configure 'setenv >>> + (lambda _ >>> + (setenv "CFLAGS" "-g"))) >>> (add-after 'unpack 'autogen >>> (lambda _ >>> (zero? (system* "sh" "autogen.sh")))))))))) >> >> Couldn't this be a make-flag or a configure-flag? > > Yes, as a configure flags also works. However, I tracked down the > segfault, backported a patch and and now it builds with -O2. > > New patch attached. Great that you found out! >>>From f6633adf4c5ceee3a63da9a3909a94c22f55b68a Mon Sep 17 00:00:00 2001 > From: Jan Nieuwenhuizen > Date: Tue, 7 Nov 2017 08:08:21 +0100 > Subject: [PATCH] gnu: guile-emacs: Resurrect, fixes #29186. > > * gnu/packages/patches/guile-emacs-fix-configure.patch: New file. > * gnu/local.mk (dist_patch_DATA): Add it. > * gnu/packages/emacs.scm (guile-emacs): Use it. Add workaround for src/d= eps > dir creation. Fixes #29186. I=E2=80=99m fine with this patch. I=E2=80=99m a bit concerned about the ri= sk of accumulating patches that should really be in guile-emacs proper, though. IMO it would be better if this patch were pushed to guile-emacs, or if an alternate guile-emacs repo were set up if the current one is inactive. If that=E2=80=99s too cumbersome though, feel fre= e to push this patch! Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 14 17:26:11 2017 Received: (at 29186) by debbugs.gnu.org; 14 Nov 2017 22:26:11 +0000 Received: from localhost ([127.0.0.1]:40708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEjeh-000730-DV for submit@debbugs.gnu.org; Tue, 14 Nov 2017 17:26:11 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEjef-00072W-TJ for 29186@debbugs.gnu.org; Tue, 14 Nov 2017 17:26:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eEjeW-0000QW-N9 for 29186@debbugs.gnu.org; Tue, 14 Nov 2017 17:26:00 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEje6-0008Os-PE; Tue, 14 Nov 2017 17:25:30 -0500 Received: from peder.onsbrabantnet.nl ([88.159.206.46]:43562 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eEje6-0002Lz-Ax; Tue, 14 Nov 2017 17:25:30 -0500 From: Jan Nieuwenhuizen To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#29186: building guile-emacs fails: required libaries not found: libjpeg Organization: AvatarAcademy.nl References: <87po8vm4iv.fsf@gnu.org> <874lq6hbxn.fsf@netris.org> <87h8u6m311.fsf@gnu.org> <878tfhlxia.fsf@gnu.org> <20171108101226.GD1815@macbook41> <87k1z0hlpr.fsf@gnu.org> <87po8kldgk.fsf@gnu.org> X-Url: http://AvatarAcademy.nl Date: Tue, 14 Nov 2017 23:25:25 +0100 In-Reply-To: <87po8kldgk.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 14 Nov 2017 23:09:31 +0100") Message-ID: <87bmk4v6p6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29186 Cc: Mark H Weaver , Efraim Flashner , 29186@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Ludovic Court=C3=A8s writes: >> Subject: [PATCH] gnu: guile-emacs: Resurrect, fixes #29186. >> >> * gnu/packages/patches/guile-emacs-fix-configure.patch: New file. > I=E2=80=99m fine with this patch. I=E2=80=99m a bit concerned about the = risk of > accumulating patches that should really be in guile-emacs proper, > though. IMO it would be better if this patch were pushed to > guile-emacs, or if an alternate guile-emacs repo were set up if the > current one is inactive. If that=E2=80=99s too cumbersome though, feel f= ree to > push this patch! Meanwhile, I sent this patch 6 days ago to Robin Templeton . They were the most recent committer from where we're pulling. They haven't responded yet. Let me know if you know a better address/can we do better? I can wait a bit more and push if I don't hear anything the coming week. janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 16 03:37:57 2017 Received: (at 29186) by debbugs.gnu.org; 16 Nov 2017 08:37:57 +0000 Received: from localhost ([127.0.0.1]:42524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFFgL-0006v8-I8 for submit@debbugs.gnu.org; Thu, 16 Nov 2017 03:37:57 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:45281) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFFgJ-0006uz-1U for 29186@debbugs.gnu.org; Thu, 16 Nov 2017 03:37:56 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 86E4BE7AE; Thu, 16 Nov 2017 09:37:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XM1JzrImmFpt; Thu, 16 Nov 2017 09:37:55 +0100 (CET) Received: from ribbon (unknown [193.50.110.175]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 852AF9A5E; Thu, 16 Nov 2017 09:37:55 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Jan Nieuwenhuizen Subject: Re: bug#29186: building guile-emacs fails: required libaries not found: libjpeg References: <87po8vm4iv.fsf@gnu.org> <874lq6hbxn.fsf@netris.org> <87h8u6m311.fsf@gnu.org> <878tfhlxia.fsf@gnu.org> <20171108101226.GD1815@macbook41> <87k1z0hlpr.fsf@gnu.org> <87po8kldgk.fsf@gnu.org> <87bmk4v6p6.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 Brumaire an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 16 Nov 2017 09:37:53 +0100 In-Reply-To: <87bmk4v6p6.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Tue, 14 Nov 2017 23:25:25 +0100") Message-ID: <87a7zmliu6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 29186 Cc: Mark H Weaver , Efraim Flashner , 29186@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Jan Nieuwenhuizen skribis: > Ludovic Court=C3=A8s writes: > >>> Subject: [PATCH] gnu: guile-emacs: Resurrect, fixes #29186. >>> >>> * gnu/packages/patches/guile-emacs-fix-configure.patch: New file. > >> I=E2=80=99m fine with this patch. I=E2=80=99m a bit concerned about the= risk of >> accumulating patches that should really be in guile-emacs proper, >> though. IMO it would be better if this patch were pushed to >> guile-emacs, or if an alternate guile-emacs repo were set up if the >> current one is inactive. If that=E2=80=99s too cumbersome though, feel = free to >> push this patch! > > Meanwhile, I sent this patch 6 days ago to Robin Templeton . > They were the most recent committer from where we're pulling. They haven= 't > responded yet. Let me know if you know a better address/can we do better? > > I can wait a bit more and push if I don't hear anything the coming week. Yes, that sounds like the best approach. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 12:25:32 2017 Received: (at 29186) by debbugs.gnu.org; 24 Nov 2017 17:25:32 +0000 Received: from localhost ([127.0.0.1]:56258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIHjI-0004qr-F3 for submit@debbugs.gnu.org; Fri, 24 Nov 2017 12:25:32 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:40392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIHjG-0004qg-EI for 29186@debbugs.gnu.org; Fri, 24 Nov 2017 12:25:30 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 66C7210077; Fri, 24 Nov 2017 18:25:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XoA_aUVTWE5Z; Fri, 24 Nov 2017 18:25:31 +0100 (CET) Received: from ribbon (unknown [193.50.110.215]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 94D4E10076; Fri, 24 Nov 2017 18:25:31 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Jan Nieuwenhuizen Subject: Re: bug#29186: building guile-emacs fails: required libaries not found: libjpeg References: <87po8vm4iv.fsf@gnu.org> <874lq6hbxn.fsf@netris.org> <87h8u6m311.fsf@gnu.org> <878tfhlxia.fsf@gnu.org> <20171108101226.GD1815@macbook41> <87k1z0hlpr.fsf@gnu.org> <87po8kldgk.fsf@gnu.org> <87bmk4v6p6.fsf@gnu.org> <87a7zmliu6.fsf@gnu.org> Date: Fri, 24 Nov 2017 18:25:28 +0100 In-Reply-To: <87a7zmliu6.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 16 Nov 2017 09:37:53 +0100") Message-ID: <87efona8s7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 29186 Cc: Mark H Weaver , 29186@debbugs.gnu.org, Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Jan Nieuwenhuizen skribis: > >> Ludovic Court=C3=A8s writes: >> >>>> Subject: [PATCH] gnu: guile-emacs: Resurrect, fixes #29186. >>>> >>>> * gnu/packages/patches/guile-emacs-fix-configure.patch: New file. >> >>> I=E2=80=99m fine with this patch. I=E2=80=99m a bit concerned about th= e risk of >>> accumulating patches that should really be in guile-emacs proper, >>> though. IMO it would be better if this patch were pushed to >>> guile-emacs, or if an alternate guile-emacs repo were set up if the >>> current one is inactive. If that=E2=80=99s too cumbersome though, feel= free to >>> push this patch! >> >> Meanwhile, I sent this patch 6 days ago to Robin Templeton . >> They were the most recent committer from where we're pulling. They have= n't >> responded yet. Let me know if you know a better address/can we do bette= r? >> >> I can wait a bit more and push if I don't hear anything the coming week. > > Yes, that sounds like the best approach. I think you can now push the patch in Guix. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 25 14:52:08 2017 Received: (at 29186-done) by debbugs.gnu.org; 25 Nov 2017 19:52:08 +0000 Received: from localhost ([127.0.0.1]:58228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIgUi-0001cQ-CR for submit@debbugs.gnu.org; Sat, 25 Nov 2017 14:52:08 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIgUg-0001c2-Ud for 29186-done@debbugs.gnu.org; Sat, 25 Nov 2017 14:52:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIgUX-0006OU-Vs for 29186-done@debbugs.gnu.org; Sat, 25 Nov 2017 14:52:01 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIgTx-0005K1-Ut; Sat, 25 Nov 2017 14:51:21 -0500 Received: from peder.onsbrabantnet.nl ([88.159.206.46]:35740 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eIgTx-0000DU-Hc; Sat, 25 Nov 2017 14:51:21 -0500 From: Jan Nieuwenhuizen To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#29186: building guile-emacs fails: required libaries not found: libjpeg Organization: AvatarAcademy.nl References: <87po8vm4iv.fsf@gnu.org> <874lq6hbxn.fsf@netris.org> <87h8u6m311.fsf@gnu.org> <878tfhlxia.fsf@gnu.org> <20171108101226.GD1815@macbook41> <87k1z0hlpr.fsf@gnu.org> <87po8kldgk.fsf@gnu.org> <87bmk4v6p6.fsf@gnu.org> <87a7zmliu6.fsf@gnu.org> <87efona8s7.fsf@gnu.org> X-Url: http://AvatarAcademy.nl Date: Sat, 25 Nov 2017 20:51:19 +0100 In-Reply-To: <87efona8s7.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 24 Nov 2017 18:25:28 +0100") Message-ID: <87lgiugmrs.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29186-done Cc: Mark H Weaver , Efraim Flashner , 29186-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Ludovic Court=C3=A8s writes: > I think you can now push the patch in Guix. Thanks, push to master as 68cb962a8d6d384a02e3e8eac23af2582d73c6e7 janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com From unknown Fri Sep 05 18:57:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 24 Dec 2017 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator