pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/27152: "bmake configure" inserts NULL characters into Makefiles, messes up other long lines



>Number:         27152
>Category:       pkg
>Synopsis:       "bmake configure" inserts NULL characters into Makefiles, 
>messes up other long lines
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 05 19:28:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Rob Quinn
>Release:        Solaris2.8 with pkgsrc current
>Organization:
>Environment:
SunOS crn-sen 5.8 Generic_108528-19 sun4u sparc SUNW,Netra-T4

>Description:
  I've had trouble building editors/emacs and x11/gtk and in both cases I've 
discovered Makefile* files containing NULL characters and other errors.  For 
example with x11/gtk I run by hand:

    bmake checksum
    bmake extract
    bmake patch

  At that point /usr/obj/pkg/x11/gtk/work/gtk+-1.2.10/Makefile.in looks
good, with no NULL characters:
  crn-sen:/usr/obj/pkg/x11/gtk/work/gtk+-1.2.10 #la Makefile.in
    40 -rw-r--r--   1 root     other      20291 Apr  1  2001 Makefile.in

  After I run "bmake configure" I find two NULL characters in Makefile.in:
  crn-sen:/usr/obj/pkg/x11/gtk/work/gtk+-1.2.10 #la Makefile.in
   40 -rw-r--r--   1 root     other      20293 Oct  5 13:29 Makefile.in

  There are two NULL characters inserted, both on line 136 (an extremely long 
line).  One is between the "e" and "x" in "examples/list/list.c" and the second 
is between the "e" and "f" in examples/text/Makefile".  This is the only 
changes made to Makefile.in.

  The "Makefile" that's generated in that directory contains 1558 NULL 
characters.  The first three are all between the "e" and "x" in 
"examples/list/list.c".  The next three are in "examples/text/Makefile" one 
between "a" and "k", one between "k" and "e", and then one between "e" and 
"file".  The next line after that is two lines containing hundreds of NULLs.

  The same problem (several NULLs) occurs in 
/usr/obj/pkg/x11/gtk/work/gtk+-1.2.10/gtk/Makefile and Makefile.in, also on an 
extremely long line, followed by two lines of hundreds of NULLs.  In the same 
Makefile the "gtk_public_h_sources =" is messed up because the  @STRIP_END@ 
doesn't get translated to ")".  This is also an extremely long line.

  If I extract the tar ball in my home directory and "./configure" outside of 
pkgsrc there's no problem.  This doesn't happen on my NetBSD current box, 
though the date stamp in Makefile.in does change.

>How-To-Repeat:

>Fix:
I manually delete the NULL characters as I find them.

>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index