bugConcurrent Versions System - Bugs: bug #16458, CVS 1.12.13 syntax error when...

 
 

bug #16458: CVS 1.12.13 syntax error when compile in Solaris 2.5.1

Submitted by:  None
Submitted on:  Fri 28 Apr 2006 10:15:17 AM UTC  
 
Category: Bug ReportSeverity: 3 - Normal
Item Group: NoneStatus: Wont Fix
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 1.11.22
Fixed Release: NoneFixed Feature Release: None

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 25 May 2006 04:04:38 PM UTC, comment #6:

Closing this for the reasons stated above.

Derek Robert Price <dprice>
Project Administrator
Mon 15 May 2006 12:00:42 PM UTC, comment #5:

There is no manpage to "getaddrinfo" in our Sol.2.5.1
Anyway, we are running our CVS-server (1.11.21) in Sol.2.5.1
and seems that there is not any need to update CVS to newer
one. (Of course it would be nice to.) We can't update Solaris to the newer one in that machine, because it is needed to compile old-level softwares. (We are supporting our products as long
as all customers have updated them :)

So, it seems that we will use that CVS 1.11.21 and not trying
to update it to the newer one, so far it works :)
(Or maybe we will move CVS -repository to an other
server -machine, that might be the easiest way :)

Thanks for you all for you answers.

T.S.

Anonymous
Fri 12 May 2006 09:20:05 PM UTC, comment #4:

Sun no longer supports it, according to: http://www.sun.com/service/eosl/solaris/solaris_vintage_eol_5.2005.html. I'm inclined to say we shouldn't.

Derek Robert Price <dprice>
Project Administrator
Fri 12 May 2006 08:24:59 PM UTC, comment #3:

what does "man getaddrinfo" say on solaris 2.5.1?
Which include files are necessary?
What are the arguments and return and what types do they have?

Solaris 2.5.1 looks like it is 10 years old. Is it necessary to
support such an old operating system when newer versions exist?

Brian Murphy <bmurphy>
Project Member
Fri 05 May 2006 09:47:52 AM UTC, comment #2:

If compiling CVS 1.12.13 in Solaris 2.5.1 it fails.
If compiling CVS 1.12.13 in Solaris 8 or Solaris 10 it goes ok.
If compiling CVS 1.11.21 in Solaris 2.5.1 it goes ok.

if checking tip versions from the CVS with:
"cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/cvs co ccvs"
and then compiling in Solaris 2.5.1 it fails like this:

----------------------------------------------------------------
DEPDIR=.deps depmode=none /bin/sh ../build-aux/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib -I../diff -I../zlib -Ino/include -g -c zlib.c
cc -g -Lno/lib -o cvs add.o admin.o annotate.o base.o buffer.o checkin.o checkout.o classify.o client.o commit.o create_adm.o cvsrc.o diff.o difflib.o edit.o entries.o error.o exithandle.o expand_path.o fileattr.o filesubr.o find_names.o gpg.o hardlink.o hash.o history.o ignore.o import.o lock.o log.o log-buffer.o login.o logmsg.o ls.o main.o mkmodules.o modules.o ms-buffer.o myndbm.o no_diff.o parseinfo.o patch.o rcs.o rcscmds.o recurse.o release.o remove.o repos.o root.o rsh-client.o run.o scramble.o server.o sign.o stack.o status.o subr.o tag.o update.o verify.o version.o vers_ts.o watch.o wrapper.o zlib.o ../diff/libdiff.a ../lib/libcvs.a ../zlib/libz.a -lposix4 -lposix4 -lnsl -lnsl -lsocket -lnsl -lsocket -lnsl
ild: (undefined symbol) snprintf -- referenced in the text segment of ../lib/libcvs.a(openat.o)

      • Error code 5

make: Fatal error: Command failed for target `cvs'
Current working directory /home/xxx/cvs/ccvs/src

      • Error code 1

make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/xxx/cvs/ccvs

      • Error code 1

make: Fatal error: Command failed for target `all'
----------------------------------------------------------------

So the tip-version fails different way than 1.12.13

Anonymous
Thu 04 May 2006 03:11:50 PM UTC, comment #1:

Could you tell me if you encounter the same problem with a checkout from the trunk of the CVS repository?

Derek Robert Price <dprice>
Project Administrator
Fri 28 Apr 2006 10:15:17 AM UTC, original submission:

Hello !

When compiling CVS 1.12.13 in Solaris 2.5.1 there will
come syntax error:
-----------------------------------------------------------
"./getaddrinfo.h", line 36: syntax error before or at: socklen_t
"./getaddrinfo.h", line 36: cannot recover from previous errors
cc: acomp failed for getaddrinfo.c

      • Error code 2

make: Fatal error: Command failed for target `getaddrinfo.o'
Current working directory /home/xxx/cvs/cvs-1.12.13/lib

      • Error code 1

make: Fatal error: Command failed for target `all'
Current working directory /home/xxx/cvs/cvs-1.12.13/lib

      • Error code 1

make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/xxx/cvs/cvs-1.12.13

      • Error code 1

make: Fatal error: Command failed for target `all'
------------------------------------------------------------
It seems that in Solaris 2.5.1 there is no socklen_t in
/usr/include/sys/socket.t or socketvar.h like they are in
Solaris 8 -version?

How to fix this without touching Solaris2.5.1 system or compiler etc. files? (Only updates in cvs -source files allowed..)

T.S.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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

 

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

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 25 May 2006 04:04:38 PM UTCdpriceStatusNone=>Wont Fix
  Open/ClosedOpen=>Closed
  Release=>1.11.22

Back to the top


Powered by Savane 3.1-cleanup1