bugGluster - Bugs: bug #25248, TLA 828 does not compile on FreeBSD

 
 

bug #25248: TLA 828 does not compile on FreeBSD

Submitted by:  swankier <swankier>
Submitted on:  Mon 05 Jan 2009 08:26:20 AM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build failure
Status: NonePrivacy: Public
Assigned to: Amar Tumballi <amarts>Originator Name: swankier
Open/Closed: ClosedRelease: 
Operating System: *BSDReproducibility: Every Time

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 02 Feb 2009 11:59:52 PM UTC, comment #3:

bug was fixed in tla patch-829

Amar Tumballi <amarts>
Project MemberIn charge of this item.
Mon 05 Jan 2009 09:01:12 AM UTC, comment #2:

829 completes the compile

swankier <swankier>
Mon 05 Jan 2009 08:40:21 AM UTC, comment #1:

Hi swankier, can you quickly do a 'tla update' and try compiling with patch-829 ?

It should solve the warnings of nufa too.

Amar Tumballi <amarts>
Project MemberIn charge of this item.
Mon 05 Jan 2009 08:26:20 AM UTC, original submission:

[12:18am] root@nas2 [/usr/local/src]103: cat newgluster.sh
#!/bin/sh
cd /usr/local/src
rm -rf gluster*
tla register-archive http://arch.savannah.gnu.org/archives/gluster/
tla get -A -unavailable- glusterfs--mainline--3.0 glusterfs
cd glusterfs
./autogen.sh
./configure
make

==========

[...lots of output...]

gcc -DHAVE_CONFIG_H -I. -I../.. -fPIC -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_BSD_HOST_OS -I../../libglusterfs/src -DDATADIR=\"/usr/local/var\" -DCONFDIR=\"/usr/local/etc/glusterfs\" -I../../argp-standalone -g -O2 -MT glusterfsd.o -MD -MP -MF .deps/glusterfsd.Tpo -c -o glusterfsd.o glusterfsd.c
glusterfsd.c: In function 'zr_build_process_uuid':
glusterfsd.c:826: warning: format '%ld' expects type 'long int', but argument 6 has type 'time_t'
glusterfsd.c:826: warning: format '%ld' expects type 'long int', but argument 6 has type 'time_t'
mv -f .deps/glusterfsd.Tpo .deps/glusterfsd.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -fPIC -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_BSD_HOST_OS -I../../libglusterfs/src -DDATADIR=\"/usr/local/var\" -DCONFDIR=\"/usr/local/etc/glusterfs\" -I../../argp-standalone -g -O2 -MT fetch-spec.o -MD -MP -MF .deps/fetch-spec.Tpo -c -o fetch-spec.o fetch-spec.c
mv -f .deps/fetch-spec.Tpo .deps/fetch-spec.Po
/bin/sh ../../libtool --tag=CC --mode=link gcc -fPIC -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_BSD_HOST_OS -I../../libglusterfs/src -DDATADIR=\"/usr/local/var\" -DCONFDIR=\"/usr/local/etc/glusterfs\" -I../../argp-standalone -g -O2 -rdynamic -o glusterfsd glusterfsd.o fetch-spec.o ../../libglusterfs/src/libglusterfs.la ../../argp-standalone/libargp.a -lpthread
mkdir .libs
gcc -fPIC -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_BSD_HOST_OS -I../../libglusterfs/src -DDATADIR=\"/usr/local/var\" -DCONFDIR=\"/usr/local/etc/glusterfs\" -I../../argp-standalone -g -O2 -rdynamic -o .libs/glusterfsd glusterfsd.o fetch-spec.o ../../libglusterfs/src/.libs/libglusterfs.so -lfl ../../argp-standalone/libargp.a -lpthread -Wl,--rpath -Wl,/usr/local/lib
../../libglusterfs/src/.libs/libglusterfs.so: undefined reference to `strnlen'

      • Error code 1

Stop in /usr/local/src/glusterfs/glusterfsd/src.

      • Error code 1

Stop in /usr/local/src/glusterfs/glusterfsd.

      • Error code 1

Stop in /usr/local/src/glusterfs.

      • Error code 1

Stop in /usr/local/src/glusterfs.

swankier <swankier>

 

(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

 

Carbon-Copy List
  • -unavailable- added by amarts (Posted a comment)
  • -unavailable- added by swankier (Submitted the item)
  •  

    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
    Mon 02 Feb 2009 11:59:52 PM UTCamartsOpen/ClosedOpen=>Closed
    Mon 05 Jan 2009 08:40:21 AM UTCamartsAssigned toNone=>amarts
      Originator Name=>swankier

    Back to the top


    Powered by Savane 3.1-cleanup1