bugGNU Octave - Bugs: bug #44613, Failed to build package osmesa in...

 
 

bug #44613: Failed to build package osmesa in mxe build

Submitter:  Tatsuro MATSUOKA <tmacchant>
Submitted:  Mon 23 Mar 2015 10:54:51 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  lostbard
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 24 Mar 2015 03:41:52 PM UTC, comment #9: 

I removed the reference to mingw. Closing report

John Donoghue <lostbard>
Group Member
Tue 24 Mar 2015 10:43:28 AM UTC, comment #8: 

The tools to are install are from teh main mxe website, and many dont need to be installed any more.
cmake, openssl, pkg-config, xz, yasm and others all get built as part of the build process, although are probally mostly  installed by default anyway.

John Donoghue <lostbard>
Group Member
Tue 24 Mar 2015 06:43:08 AM UTC, comment #7: 

After removal the mingw package, the build of osmesa is fine.

I think that the wiki instruction should be modified.

Tatsuro MATSUOKA <tmacchant>
Tue 24 Mar 2015 06:22:42 AM UTC, comment #6: 

In the octave wiki(http://wiki.octave.org/Windows_Installer)
for MXE-buils, it is introduced that for dependency

 
Debian (GNU/kFreeBSD & GNU/Linux)[edit]


aptitude install -R autoconf automake bash bison bzip2 \
                    cmake flex gettext git g++ intltool \
                    libffi-dev libtool libltdl-dev \
                    mercurial mingw32 openssl libssl-dev \
                    libxml-parser-perl make patch perl \
                    pkg-config scons sed unzip wget \
                    xz-utils yasm autopoint


There is mingw32.
I will remove it and test. After the test, I will report again.

Tatsuro MATSUOKA <tmacchant>
Tue 24 Mar 2015 03:20:39 AM UTC, comment #5: 

There is no without-osmesa option, so that wouldnt work.

A poential issue, looking at the log file may be the compiler it is using: i586-mingw32msvc-gcc
Which then makes it use windows headers that arent the ones mxe-octave would normally be using such as:
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/windows.h

mxe-octave creates its own compiler which would appears as i686-w64-mingw32-gcc

Im not sure where its getting the other compile from. Can you check your paths and see where i586-mingw32msvc-gcc is and create a path whilst compiling that does not have that compiler in it?

John Donoghue <lostbard>
Group Member
Tue 24 Mar 2015 01:09:10 AM UTC, comment #4: 


>What options did you use for configure

Nothing

I have tried ./configure --without-osmesa for mxe octave

That did not affect anything


Tatsuro MATSUOKA <tmacchant>
Tue 24 Mar 2015 01:02:44 AM UTC, comment #3: 

What options did you use for configure

John Donoghue <lostbard>
Group Member
Tue 24 Mar 2015 12:27:52 AM UTC, comment #2: 

Thanks!
I have upload a log file.

(file #33437)

Tatsuro MATSUOKA <tmacchant>
Mon 23 Mar 2015 11:12:22 PM UTC, comment #1: 

Can you post the complete log file for osmesa, and the full configure options you gave for mxe-octave.

John Donoghue <lostbard>
Group Member
Mon 23 Mar 2015 10:54:51 PM UTC, original submission:  

I have posted this to the help mailing list. But no answer.

http://octave.1599824.n4.nabble.com/Failed-to-build-package-osmesa-in-mxe-build-td4669306.html

I am trying MXE-octave building on Ubuntu 14.04 LTS 64 bit.

I have met the error: 
Failed to build package osmesa!



Failed to build package osmesa!
------------------------------------------------------------
                 from src/mesa/main/ffvertex_prog.c:36:
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/windef.h:71:1: warning: this is the location of the previous definition
scons: *** [build/windows-x86-debug/mesa/main/ff_fragment_shader.o] Error 1
scons: building terminated because of errors.
make[1]: *** [build-only-osmesa] Error 2
make[1]: Leaving directory `/home/tatsuro/work/octave/mxe-octave'
real0m30.930s
user0m47.054s
sys0m6.396s
------------------------------------------------------------
[log]      /home/tatsuro/work/octave/mxe-octave/log/osmesa

make: *** [/home/tatsuro/work/octave/mxe-octave/installed-packages/osmesa] Error 1


What can I do for the above?

Tatsuro

Tatsuro MATSUOKA <tmacchant>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #33437:  osmesa added by tmacchant (87KiB - 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 tmacchant (Submitted the item)
  •  

    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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-24 lostbard StatusNone Fixed
        Assigned toNone lostbard
        Open/ClosedOpen Closed
    2015-03-24 tmacchant Attached File- Added osmesa, #33437

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code