bugGluster - Bugs: bug #23251, compile error glusterfs-1.3.8 on...

 
 

bug #23251: compile error glusterfs-1.3.8 on FreeBSD 7

Submitted by:  Carsten Heesch <carstenh>
Submitted on:  Wed 14 May 2008 10:47:48 AM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build failure
Status: FixedPrivacy: Public
Assigned to: Amar Tumballi <amarts>Originator Name: 
Open/Closed: ClosedRelease: 
Operating System: *BSDReproducibility: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 26 May 2008 01:27:41 AM UTC, comment #3:

glusterfs-1.3.9 compiles fine over FreeBSD

closing the bug.

Amar Tumballi <amarts>
Project MemberIn charge of this item.
Wed 14 May 2008 03:59:38 PM UTC, comment #2:

Thanks alot!
I can confirm that the compilation was successful now.

Carsten Heesch <carstenh>
Wed 14 May 2008 03:23:29 PM UTC, comment #1:

Yes, this is a known bug and I updated the wiki about the issue now. The fix has gone in day before in the archive. We will be making new release soon. Meanwhile, you can choose to get source from archive which works fine.

Amar Tumballi <amarts>
Project MemberIn charge of this item.
Wed 14 May 2008 10:47:48 AM UTC, original submission:

Hi there,

The error I get compiling glusterfs-1.3.8 under FreeBSD 7.0 is:

if gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_BSD_HOST_OS -Wall -I../../../../libglusterfs/src -shared -nostartfiles -g -O2 -MT posix.o -MD -MP -MF ".deps/posix.Tpo" -c -o posix.o posix.c; then mv -f ".deps/posix.Tpo" ".deps/posix.Po"; else rm -f ".deps/posix.Tpo"; exit 1; fi
posix.c: In function 'posix_readdir':
posix.c:2179: error: 'struct dirent' has no member named 'd_off'

      • Error code 1

(To get rid off the missing alloca.h messages, I symlinked stdlib.h to alloca.h by the way; commenting it out instead produces the same error message)

I THINK (I am not a C developer) that some #ifdef settings for FreeBSD should be fixed. Moreover it would probably be a good idea to remove the linux dependencies on BSD. :-)

My installed packages:

argp-standalone-1.3 Standalone version of arguments parsing functions from GLIB
autoconf-2.13.000227_6 Automatically configure source code on many Un*x platforms
autoconf-2.61_2 Automatically configure source code on many Un*x platforms
autoconf-wrapper-20071109 Wrapper script for GNU autoconf
automake-1.4.6_4 GNU Standards-compliant Makefile generator (1.4)
automake-wrapper-20071109 Wrapper script for GNU automake
bash-3.2.39 The GNU Project's Bourne Again SHell
bison-2.3_3,1 A parser generator from FSF, (mostly) compatible with Yacc
db41-4.1.25_4 The Berkeley DB package, revision 4.1
diffutils-2.8.1_1 The GNU diff utilities
fusefs-libs-2.7.2_1 FUSE allows filesystem implementation in userspace
gettext-0.16.1_3 GNU gettext package
gmake-3.81_2 GNU version of 'make' utility
gtar-1.20 GNU version of the traditional tape archiver
help2man-1.36.4_1 Automatically generating simple manual pages from program o
iconv-2.0_3 Charset conversion library and utilities
ispell-3.2.06_18 An interactive spelling checker for multiple languages
libelf-0.8.9 A public ELF file access library similar to libelf(3) in So
libexecinfo-1.1_1 A library for inspecting program's backtrace
libiconv-1.11_1 A character set conversion library
liblogging-0.6.0 Easy to use system logging library
libpthread-stubs-0.1 This library provides weak aliases for pthread functions
libtool-1.5.24 Generic shared library support script
linux-kmod-compat-20080408 Adaptation layer to build linux drivers on FreeBSD
linux-procps-3.2.5 Linux psproc binaries
linux_base-fc-4_13 Base set of packages needed in Linux mode (for i386/amd64)
linuxthreads-2.2.3_23 POSIX pthreads implementation using rfork to generate kerne
lzmautils-4.32.5 LZMA compression and decompression tools
m4-1.4.9,1 GNU m4
p5-gettext-1.05_1 Message handling functions
patch-2.5.4 GNU patch utility
perl-5.8.8_1 Practical Extraction and Report Language
pico-4.64 PIne's message COmposition editor
pkg-config-0.23_1 A utility to retrieve information about installed libraries
popt-1.7_4 A getopt(3) like library with a number of enhancements, fro
portaudit-0.5.12 Checks installed ports against a list of security vulnerabi
portupgrade-2.3.1,2 FreeBSD ports/packages administration and management tool s
rpm-3.0.6_13 The Red Hat Package Manager
ruby-1.8.6.111_1,1 An object-oriented interpreted scripting language
ruby18-bdb-0.6.2 Ruby interface to Sleepycat's Berkeley DB revision 2 or lat
tla-1.3.5 The original arch source control management CLI written in
unzip-5.52_5 List, test and extract compressed files in a ZIP archive

Loaded kernel modules:

Id Refs Address Size Name
1 10 0xc0400000 91c2d4 kernel
2 1 0xc0d1d000 b86fc zfs.ko
3 1 0xc0dd6000 6a32c acpi.ko
4 1 0xc7a18000 3000 pflog.ko
5 1 0xc7a27000 35000 pf.ko
6 1 0xdaad0000 22000 linux.ko

What am I missing?

The wiki is not very telling. A simple ./configure && make && make install does not work out for me.

Carsten Heesch <carstenh>

 

(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 carstenh (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 26 May 2008 01:27:41 AM UTCamartsOpen/ClosedOpen=>Closed
    Wed 14 May 2008 03:23:29 PM UTCamartsStatusNone=>Fixed
      Assigned toNone=>amarts
    Wed 14 May 2008 10:49:04 AM UTCcarstenhCarbon-CopyRemoved carstenh=>-
    Wed 14 May 2008 10:47:48 AM UTCcarstenhCarbon-Copy-=>Added carstenh

    Back to the top


    Powered by Savane 3.1-cleanup1