bugGNU Octave - Bugs: bug #55214, [MXE-Octave] build-m4 fails on...

 
 

bug #55214: [MXE-Octave] build-m4 fails on system with glibc >= 2.28

Submitter:  Markus Mützel <mmuetzel>
Submitted:  Wed 12 Dec 2018 06:42:29 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sat 22 Dec 2018 08:58:16 AM UTC, comment #13: 

Thanks for pushing the changes. MXE Octave now completely cross-compiles for me with glibc 2.28 without any errors.

Closing as fixed.

Markus Mützel <mmuetzel>
Group administrator
Thu 20 Dec 2018 06:44:17 PM UTC, comment #12: 

Did the patch work for you?

John Donoghue <lostbard>
Group Member
Wed 19 Dec 2018 03:01:50 PM UTC, comment #11: 

From the Qt website: Since version 5.11, QDoc uses Clang to parse C++ code. If you wish to build QDoc manually, refer to Installing Clang for QDoc for specific build requirements.

My proposed patch doesnt check for clang, and looks like then stops from building qdoc.

John Donoghue <lostbard>
Group Member
Wed 19 Dec 2018 07:45:45 AM UTC, comment #10: 

I tried a "make clean", "configure", "make" cycle and the error is the same.
AFAIU, I didn't configure to use clang for CC.

I will try with your patch and report back.

Markus Mützel <mmuetzel>
Group administrator
Tue 18 Dec 2018 08:59:48 PM UTC, comment #9: 

Trying:

--- a/src/qttools-1.patch       Tue Dec 18 15:49:16 2018 -0500
+++ b/src/qttools-1.patch       Tue Dec 18 15:59:15 2018 -0500
@@ -22,3 +22,9 @@
 --
 2.1.2

+diff -ur qttools-everywhere-src-5.12.0.orig/qttools.pro qttools-everywhere-src-5.12.0/qttools.pro
+--- qttools-everywhere-src-5.12.0.orig/qttools.pro     2018-12-18 15:49:35.257716175 -0500
++++ qttools-everywhere-src-5.12.0/qttools.pro  2018-12-18 15:56:24.812146947 -0500
+@@ -1,2 +1 @@
+-load(qt_find_clang)
+ load(qt_parts)

John Donoghue <lostbard>
Group Member
Tue 18 Dec 2018 08:37:32 PM UTC, comment #8: 

I see its using clang for the qdoc program

John Donoghue <lostbard>
Group Member
Tue 18 Dec 2018 08:28:18 PM UTC, comment #7: 

It may also be an issue with it doing a build of qt5 over an existing qt5.

Clean build?

John Donoghue <lostbard>
Group Member
Tue 18 Dec 2018 08:18:23 PM UTC, comment #6: 

I recently updates to 5.12, so maybe you didn't have hat update previously?

You are using clang is CC ?

John Donoghue <lostbard>
Group Member
Tue 18 Dec 2018 07:57:52 PM UTC, comment #5: 

The next error now is for qttools:

cd '/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/tmp-qttools/qttools-everywhere-src-5.12.0'
(cd '/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/tmp-qttools/qttools-everywhere-src-5.12.0' && patch -p1 -u) < /home/osboxes/Documents/Repositories/Octave/mxe-octave-3/src/qttools-1.patch
patching file src/src.pro
Hunk #1 succeeded at 33 with fuzz 2 (offset 6 lines).
cd '/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/tmp-qttools/qttools-everywhere-src-5.12.0' && ''/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/usr/bin/x86_64-w64-mingw32-qmake-qt5''
Info: creating stash file /home/osboxes/Documents/Repositories/Octave/mxe-octave-3/tmp-qttools/qttools-everywhere-src-5.12.0/.qmake.stash
Project ERROR: Cannot find libclang's main header file, candidate: /usr/lib/llvm-7/include/clang-c/Index.h.
make[2]: *** [/home/osboxes/Documents/Repositories/Octave/mxe-octave-3/Makefile:933: build-only-qttools] Error 3


I don't remember having seen this error earlier.

Markus Mützel <mmuetzel>
Group administrator
Tue 18 Dec 2018 06:11:21 PM UTC, comment #4: 

Thanks for checking and pushing the patch.

The next failing package is build-bison.

Is it OK if I re-use this bug for all packages that fail with recent glibc? Or should I open new reports for each?
In any case, the attached patch updates bison to v3.1 which includes the fixes for the gnulib modules that no longer compiled.

(file #45691)

Markus Mützel <mmuetzel>
Group administrator
Tue 18 Dec 2018 12:59:29 PM UTC, comment #3: 
John Donoghue <lostbard>
Group Member
Mon 17 Dec 2018 07:43:04 PM UTC, comment #2: 

Works for me on ubuntu wil  glibc 2.27, so I'll push it up when I get a chance

John Donoghue <lostbard>
Group Member
Wed 12 Dec 2018 06:46:13 PM UTC, comment #1: 

The attached patch adds the patch to MXE Octave that Debian is using for their m4.
It should be save to apply. But t would be nice if someone could test with an older glibc.

(file #45638)

Markus Mützel <mmuetzel>
Group administrator
Wed 12 Dec 2018 06:42:29 PM UTC, original submission:  

The latest GNU m4 doesn't compile on systems with glibc version 2.28 or newer.

I'll attach a patch for MXE-Octave as soon as have a bug number.

Markus Mützel <mmuetzel>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #45691:  bug55214_bison.patch added by mmuetzel (841B - application/octet-stream)
file #45638:  bug55214_m4.patch added by mmuetzel (7KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by mmuetzel (Submitted the item)
  • -email is unavailable- added by mmuetzel
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-12-22 mmuetzel StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2018-12-18 mmuetzel Attached File- Added bug55214_bison.patch, #45691
    2018-12-18 lostbard StatusPatch Submitted Ready For Test
    2018-12-12 mmuetzel Attached File- Added bug55214_m4.patch, #45638
        StatusNone Patch Submitted
    2018-12-12 mmuetzel Carbon-Copy- Added lostbard

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code