bugfindutils - Bugs: bug #11710, 4.2.13 Solaris build failure --...

 
 

bug #11710: 4.2.13 Solaris build failure -- regex.c needs to be compiled

Submitter:  None
Submitted:  Sun 23 Jan 2005 07:31:40 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  Compilation Failure Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Martin Buchholz Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.2.13
Fixed Release:  4.2.14
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 04 Jan 2007 12:20:06 PM UTC, comment #9: 
James Youngman <jay>
Group administrator
Wed 03 Jan 2007 09:38:58 PM UTC, comment #8: 

The bug id you posted does not correlate to a similar problem. Could you please recheck the id?

Anonymous
Wed 03 Jan 2007 09:15:41 PM UTC, comment #7: 

The bug was closed because it was fixed.  The bug has occurred for a second time.  A new bug -- bug #17961 -- was logged for the new occurrence of the problem.

James Youngman <jay>
Group administrator
Wed 03 Jan 2007 08:33:33 PM UTC, comment #6: 

Right.  4.2.29 doesn't compile the regex stuff even when the test correctly fails.  So why is this bug closed?  Is there a new one open?  I've got 4.2.25 installed, so it works OK.

Other (yucky) option is to use libgtksourceview if it exists (Sun provides one).  That has the functions in it, looks like.  That seems like an awfully high-level library for find to depend on, though.

Anonymous
Fri 01 Dec 2006 10:25:13 AM UTC, comment #5: 

Putting the reverted code back in does solve the problem at least for Solaris.

Invalid User ID <#54910>
Tue 28 Nov 2006 12:32:03 AM UTC, comment #4: 

This fix was apparently reverted without comment in revision 1.92.2.1 of configure.in:

http://cvs.savannah.gnu.org/viewcvs/findutils/configure.in?r1=1.92&r2=1.92.2.1&root=findutils

4.2.29 also fails to build on Solaris.

Michael K. Sanders <msanders>
Wed 27 Sep 2006 01:54:03 PM UTC, comment #3: 

The same thing happens again with AIX and findutils 4.2.28

cc -qlanglvl=ansi  -g   -o find  find.o fstype.o parser.o pred.o tree.o util.o version.o ../lib/libfind.a ../gnulib/lib/libgnulib.a
ld: 0711-317 ERROR: Undefined symbol: .re_match
ld: 0711-317 ERROR: Undefined symbol: .re_set_syntax
ld: 0711-317 ERROR: Undefined symbol: .re_compile_pattern
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.

4.2.27 comiles fine.

Anonymous
Fri 28 Jan 2005 08:04:55 AM UTC, comment #2: 

(From Martin)  Yup, I can verify that findutils 4.2.14 fixes
this problem.

Anonymous
Sun 23 Jan 2005 10:29:16 PM UTC, comment #1: 

I have no access to a Solaris box on which to reproduce this problem.    Hence I can't test a fix.  However, I believe that the attached patch, which I have checked into CVS, resolves this difficulty.   This fix will be included in the next release.

James Youngman <jay>
Group administrator
Sun 23 Jan 2005 07:31:40 PM UTC, original submission:  

The regex functionality on Solaris is not provided by libc,
but the configure test for this is incorrect, so
the compilation fails as follows

gcc  -g -O2   -o find  find.o fstype.o parser.o pred.o tree.o util.o version.o ../lib/libfind.a ../gnulib/lib/libgnulib.a 
Undefined first referenced
 symbol      in file
re_match                            pred.o
re_syntax_options                   parser.o
re_compile_pattern                  parser.o
ld: fatal: Symbol referencing errors. No output written to find
----------------------------------------------------

Looking at configure, it tries to autodetect
the presence of regex in libc, but this appears to
be incorrect.

configure --help should include an option
--with-included-regex, but doesn't.

configure appears to define ac_use_included_regex,
but doesn't use the result anywhere.
 $ grep ac_use_included_regex configure
    ac_use_included_regex=yes
      ac_use_included_regex=no


Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #2409:  regex-build.patch added by jay (807B - text/x-patch - Patch which should resolve the problem)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jay (Posted a comment)
  • -email is unavailable- added by msanders (Posted a comment)
  •  

    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 logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2005-01-25 jay Open/ClosedOpen Closed
        Fixed ReleaseNone 4.2.14
    2005-01-23 jay StatusNone Fixed
        Assigned toNone jay
        Release4.2.12 4.2.13
        Attached File- Added regex-build.patch, #2103

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code