bugGNU Octave - Bugs: bug #43899, MXE: libxml2 version 2.9.2 won't...

 
 

bug #43899: MXE: libxml2 version 2.9.2 won't build, 2.9.1 builds OK

Submitted by:  Philip Nienhuis <philipnienhuis>
Submitted on:  Sun 28 Dec 2014 09:38:31 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: John Donoghue <lostbard>
Originator Name: Philip NienhuisOpen/Closed: Closed
Release: otherOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Thu 01 Jan 2015 01:42:25 PM UTC, comment #16:

Pushed http://hg.octave.org/mxe-octave/rev/a5e6d54bcd60

John Donoghue <lostbard>
Project MemberIn charge of this item.
Thu 01 Jan 2015 01:12:35 PM UTC, comment #15:

The bug was reported on the libxml2 bugzilla:
https://bugzilla.gnome.org/show_bug.cgi?id=739532

John Donoghue <lostbard>
Project MemberIn charge of this item.
Thu 01 Jan 2015 10:36:06 AM UTC, comment #14:

Yep that works.

Philip Nienhuis <philipnienhuis>
Project Member
Thu 01 Jan 2015 01:38:00 AM UTC, comment #13:

ok - I see the issue.

Patch libxml2.mk with the attached patch and let me know if that works

(file #32742)

John Donoghue <lostbard>
Project MemberIn charge of this item.
Wed 31 Dec 2014 07:41:21 PM UTC, comment #12:

I just guess you mean the one in tmp-libxml2/libxml2-2.9.2/, I've attached it.

(file #32741)

Philip Nienhuis <philipnienhuis>
Project Member
Wed 31 Dec 2014 06:35:06 PM UTC, comment #11:

How about the 2.9.2 config.log file from libxml2 when it fails - it still looks to me that it is the one obvious thing different on your machine to mine.

The config.log file might say where it failed for detecting gzread.

John Donoghue <lostbard>
Project MemberIn charge of this item.
Wed 31 Dec 2014 04:18:28 PM UTC, comment #10:

With a fresh mxe-octave clone from today, libxml2 broke again, in the exact same way AFAICS.

(Just did:
hg clone .....
autoconf ; ./configure ; make nsis-installer JOBS=9 )

So, while my build box may be "anomalous", it is at least consistent :-(

Would you have a suggestion on where to dig further?

Philip Nienhuis <philipnienhuis>
Project Member
Wed 31 Dec 2014 03:45:45 PM UTC, comment #9:

My mint Linux didn't have any issues either.

John Donoghue <lostbard>
Project MemberIn charge of this item.
Tue 30 Dec 2014 04:14:20 PM UTC, comment #8:

Sure, in attached archive "libxml2_issues.zip" I have put:

subdirs:

-org/> zlib & xz build logs & very first libxml2 build log

-libxml2_2.9.1/ libxml_2.9.1 build log

-after_libxml2_2.9.1_install/ most recent libxml2_2.9.2 build log

The thing you didn't ask (yet) is to re-clone mxe-otave & start over again. I think I'll do that overnight.

(file #32736)

Philip Nienhuis <philipnienhuis>
Project Member
Tue 30 Dec 2014 01:09:21 PM UTC, comment #7:

According to the changelog for libxml 2.9.2 [1]: "Fix zlib and lzma libraries check via command line".

Not sure why it works fine for me and not you though. I will retry on my mint box and see if it acts any different there.

Can you send the config.log file for the 2.9.2 build?

[1] http://xmlsoft.org/news.html

John Donoghue <lostbard>
Project MemberIn charge of this item.
Tue 30 Dec 2014 12:42:00 PM UTC, comment #6:

(You mean: 2.9.2 :-) )

No, exact same errors.

Philip Nienhuis <philipnienhuis>
Project Member
Mon 29 Dec 2014 10:23:41 PM UTC, comment #5:

If you try a rebuild of 1.9.2 does it work?

John Donoghue <lostbard>
Project MemberIn charge of this item.
Mon 29 Dec 2014 09:20:57 PM UTC, comment #4:

For the next libxml2 build log, that for version 1.9.1, I see:

and in the log/ directory I see:

...so xz and zlib were built and present. I can't find any spurious stuff in the xz and zlib logs. I assume that the fact that they have entries in the installed_packages/ subdir indicates they were built fine.

Hmmm. I have to conclude that on my box, somehow, MXE got confused.
But why a different libxml2 version makes all the difference is beyond me...

I'll leave this report open for a little longer, perhaps I can pinpoint the issue somewhere.

Philip Nienhuis <philipnienhuis>
Project Member
Mon 29 Dec 2014 05:44:51 PM UTC, comment #3:

Thanks for looking into this.

Right, I can follow you, but I wonder why libxml2 v. 1.9.1 compiles fine then.
I'll look in the log for that (+ original build logs) but only later when I can reboot into Linux.

Philip Nienhuis <philipnienhuis>
Project Member
Mon 29 Dec 2014 05:12:50 PM UTC, comment #2:

libxml built fine for me on my fedora box using the latest mxe sources.

Looking at your log file, the difference I see that is perhaps related to your issue is in the config.

On my machine:

From your log:

As part of make nsis-installer, did xz and zlib get compiled and installed? (not including build-xz).

zlib should probably be a dependency for libxml2 as it uses it.

John Donoghue <lostbard>
Project MemberIn charge of this item.
Mon 29 Dec 2014 03:00:48 PM UTC, comment #1:

I'm building a new clean build using your process.

John Donoghue <lostbard>
Project MemberIn charge of this item.
Sun 28 Dec 2014 09:38:31 PM UTC, original submission:

With freshly cloned MXE 7a6637aa3aae tip "installer: ran octave through explorer when running at end of install (Bug 43824)" libxml2 doesn't get built (cross-built) for 32 bits.
Reverting to libxml2 v 2.9.1 (i.e., reverting cs 713653a0cc35 "libxml2: update to 2.9.2") makes the MXE build continue.

Interestingly/intriguingly, a "--enable-64" build the day before worked fine (also with a fresh clone).

After "hg clone" I merely did:
autoconf
./configure
make nsis-installer JOBS=9

MXE build log for libxml2 v.2.9.2 attached.

Philip Nienhuis <philipnienhuis>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #32742:  libxmlfix.patch added by lostbard (791B - text/x-patch)
file #32741:  config.log added by philipnienhuis (157KiB - text/x-log)
file #32736:  libxml2_issues.zip added by philipnienhuis (65KiB - application/zip)
file #32726:  libxml2.zip added by philipnienhuis (7KiB - application/x-sdlc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 01 Jan 2015 01:42:25 PM UTClostbardStatusNone=>Fixed
      Assigned toNone=>lostbard
      Open/ClosedOpen=>Closed
    Thu 01 Jan 2015 01:38:00 AM UTClostbardAttached File-=>Added libxmlfix.patch, #32742
    Wed 31 Dec 2014 07:41:21 PM UTCphilipnienhuisAttached File-=>Added config.log, #32741
    Tue 30 Dec 2014 04:14:20 PM UTCphilipnienhuisAttached File-=>Added libxml2_issues.zip, #32736
    Sun 28 Dec 2014 09:38:31 PM UTCphilipnienhuisAttached File-=>Added libxml2.zip, #32726

    Back to the top


    Powered by Savane 3.1-cleanup1