bugGNU gv - Bugs: bug #28424, gv 3.6.8: build broken with xaw3d...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #28424: gv 3.6.8: build broken with xaw3d 1.5

Submitter:  Juergen Daubert <jue>
Submitted:  Mon 28 Dec 2009 08:45:33 AM UTC
   
 
Category:  Sources configuration Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  3.6.8

Jump to the original submission

Sun 30 May 2010 02:36:37 PM UTC, comment #10: 

This bug fix is available in the last final relase.

Markus Steinborn <msteinbo>
Group administrator
Sun 07 Mar 2010 11:19:43 AM UTC, comment #9: 

Well, that's fine. You can continue using version 3.6.8.90 because the newly introduced patches have been used on OpenSuse Linux for several years and therefore are thought to be stable - altough I tagged this release as prerelase.

I am leaving this bug open until a new prelease is released.

Markus Steinborn <msteinbo>
Group administrator
Sun 07 Mar 2010 11:04:10 AM UTC, comment #8: 

Yeah, got it working with the gv-repair-xaw3d-1.5.patch, many thanks!

Juergen Daubert <jue>
Sun 07 Mar 2010 10:55:54 AM UTC, comment #7: 

config.log and ac_config.h attached.

I'm using CRUX, with an up-to-date toolchain, see config.log. See my initial comment for the xaw3d version I'm using.

(file #19874, file #19875)

Juergen Daubert <jue>
Sun 07 Mar 2010 10:54:31 AM UTC, comment #6: 

Wait a minute - it seems that I have found the new bug.

Could you please try the attached patch?

You can apply it by

$ cd gv-3.6.8.90
$ patch -p0 < gv-repair-xaw3d-1.5.patch

assuming you have stored it inside your gv-3.6.8.90 source directory.


(file #19873)

Markus Steinborn <msteinbo>
Group administrator
Sun 07 Mar 2010 10:20:59 AM UTC, comment #5: 

Could you please send me the "config.log" and "src/ac_config.h" generated by the configure script?

And can you describe on what platform you tried to compile GNU gv?

Markus Steinborn <msteinbo>
Group administrator
Sun 07 Mar 2010 10:16:27 AM UTC, comment #4: 

Well, then I remove "ready for test".

Markus Steinborn <msteinbo>
Group administrator
Sun 07 Mar 2010 10:14:33 AM UTC, comment #3: 

With gv 3.6.8.90 I get the following error now:

gcc -DHAVE_CONFIG_H -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_LIBDIR=\"/usr/local/share/gv\" -I../lib -I../lib -g     -g -O2 -MT Vlist.o -MD -MP -MF .deps/Vlist.Tpo -c -o Vlist.o Vlist.c
Vlist.c: In function 'PaintEntryString':
Vlist.c:379: error: invalid storage class for function 'PaintMark'
Vlist.c:445: error: invalid storage class for function 'PaintMarkOfEntry'
Vlist.c:495: error: invalid storage class for function 'PaintMarkMarkOfEntry'
Vlist.c:547: error: invalid storage class for function 'PaintMarksOfEntries'
Vlist.c:574: error: invalid storage class for function 'PaintVlistWidget'
Vlist.c:852: error: invalid storage class for function 'vlist_change_mark'
Vlist.c:1023: error: expected declaration or statement at end of input
make[2]: * [Vlist.o] Error 1

Juergen Daubert <jue>
Sat 06 Mar 2010 10:58:11 AM UTC, comment #2: 

The bug should have been fixed.

Could you please test the new prerelease from ftp://alpha.gnu.org/gnu/gv ?

Markus Steinborn <msteinbo>
Group administrator
Mon 28 Dec 2009 10:01:30 AM UTC, comment #1: 

Thanks for the bug report.

Of cause  it is not necessary to force use of version 1.5E.


Let me explain why this patch has been included, so we can look for the best way to deal with the new bug and the problem that this patch should improve.


The patched you digged out was thought to fix the following bug reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>:

--- begin quotation ---
I was able to build gv 3.6.7 just fine on an x86 Solaris 10U5 system with GCC 4.2.3, but building on a SPARC Solaris 10U6 system with GCC 4.2.4 results in this build problem:

gcc-4.2.4 -DHAVE_CONFIG_H -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_LIBDIR=\"/usr/local/share/gv\" -I../lib -I../lib -g -I/usr/openwin/include -O2 -MT Vlist.o -MD -MP -MF .deps/Vlist.Tpo -c -o Vlist.o Vlist.c
Vlist.c: In function 'Initialize':
Vlist.c:224: error: 'SimplePart' has no member named 'international'
Vlist.c:225: error: 'LabelPart' has no member named 'fontset'
Vlist.c: In function 'PaintEntryString':
Vlist.c:352: error: 'SimplePart' has no member named 'international'
Vlist.c:353: error: 'LabelPart' has no member named 'fontset'
Vlist.c: In function 'PaintVlistWidget':
Vlist.c:619: error: 'SimplePart' has no member named 'international'
Vlist.c:620: error: 'LabelPart' has no member named 'fontset'
gmake[2]: * [Vlist.o] Error 1

It seems that this has something to do with an old libXaw3d library being installed.  If I move it out of the way the package refuses to configure at all even though none of the documentation mentions a need for libXaw3d:

checking for XawInitializeWidgetSet in -lXaw3d... no
configure: error: Unable to find a valid Xaw3d library. Please install it and rerun configure.
--- end quotation ---


The patch was intended to give a suitible error message on that system.

Markus Steinborn <msteinbo>
Group administrator
Mon 28 Dec 2009 08:45:33 AM UTC, original submission:  

with commit http://tinyurl.com/yea27v9 a new check was introduced into configure.ac which breaks the build against xaw3d version 1.5 from ftp://ftp.x.org/contrib/widgets/Xaw3d/R6.3/.

I've reverted that commit, gv build and works just fine. Is it really necessary to force the use of version 1.5E ?

Juergen Daubert <jue>

 

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

Attached Files
file #19874:  config.log added by jue (29KiB - application/octet-stream)
file #19875:  ac_config.h added by jue (5KiB - application/octet-stream)
file #19873:  gv-repair-xaw3d-1.5.patch added by msteinbo (258B - text/x-patch - This patch should fix the newly introduced build problem)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by msteinbo (Posted a comment)
  • -email is unavailable- added by jue (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.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-05-30 msteinbo Open/ClosedOpen Closed
    2010-03-07 msteinbo StatusIn Progress Fixed
    2010-03-07 jue Attached File- Added config.log, #19874
        Attached File- Added ac_config.h, #19875
    2010-03-07 msteinbo Attached File- Added gv-repair-xaw3d-1.5.patch, #19873
    2010-03-07 msteinbo StatusReady For Test In Progress
    2010-03-06 msteinbo StatusNone Ready For Test
    2009-12-28 msteinbo ReleaseNone 3.6.8

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code