Package: libobj-lf2
Version: 2.95.3r115-1
Severity: important
Tags: patch

Hi,

currently your package FTBFS on GNU/kFreeBSD with the following error:
> gcc class.c -c \
>             -MMD -MP -pipe -DSTDC_HEADERS=1 -DHAVE_STDLIB_H 
> -DOBJC_THREAD_BACKEND='"thr-backends/single.h"' -DOBJC_WITHOUT_THREADING 
> -DOBJC_WITH_GC=0 -DDEBUG_OBJC_GC=0 -DLIB_FOUNDATION_LIBRARY=1 -DGNU_RUNTIME=1 
> -D_REENTRANT -fPIC -fPIC -DGSWARN -DGSDIAGNOSE -O0 -O2 -Wall 
> -Iconfig/ix86/kfreebsd-gnu -Iconfig/ix86/generic -I.. -I. -I. 
> -I/usr/local/lib/opengroupware.org/Local/Library/Headers 
> -I/usr/local/lib/opengroupware.org/Network/Library/Headers 
> -I/usr/lib/opengroupware.org/System/Library/Headers 
> -I/home/buildd/GNUstep/Library/Headers/libFoundation 
> -I/usr/local/lib/opengroupware.org/Local/Library/Headers/libFoundation 
> -I/usr/local/lib/opengroupware.org/Network/Library/Headers/libFoundation 
> -I/usr/lib/opengroupware.org/System/Library/Headers/libFoundation 
> -I/home/buildd/GNUstep/Library/Headers/libFoundation/./GNU 
> -I/usr/local/lib/opengroupware.org/Local/Library/Headers/libFoundation/./GNU 
> -I/usr/local/lib/opengroupware.org/Network/Library/Headers/libFoundation/./GNU
>  -I/usr/lib/o!
 pengroupware.org/System/Library/Headers/libFoundation/./GNU \
>              -o shared_obj/class.o
> gcc encoding.c -c \
>             -MMD -MP -pipe -DSTDC_HEADERS=1 -DHAVE_STDLIB_H 
> -DOBJC_THREAD_BACKEND='"thr-backends/single.h"' -DOBJC_WITHOUT_THREADING 
> -DOBJC_WITH_GC=0 -DDEBUG_OBJC_GC=0 -DLIB_FOUNDATION_LIBRARY=1 -DGNU_RUNTIME=1 
> -D_REENTRANT -fPIC -fPIC -DGSWARN -DGSDIAGNOSE -O0 -O2 -Wall 
> -Iconfig/ix86/kfreebsd-gnu -Iconfig/ix86/generic -I.. -I. -I. 
> -I/usr/local/lib/opengroupware.org/Local/Library/Headers 
> -I/usr/local/lib/opengroupware.org/Network/Library/Headers 
> -I/usr/lib/opengroupware.org/System/Library/Headers 
> -I/home/buildd/GNUstep/Library/Headers/libFoundation 
> -I/usr/local/lib/opengroupware.org/Local/Library/Headers/libFoundation 
> -I/usr/local/lib/opengroupware.org/Network/Library/Headers/libFoundation 
> -I/usr/lib/opengroupware.org/System/Library/Headers/libFoundation 
> -I/home/buildd/GNUstep/Library/Headers/libFoundation/./GNU 
> -I/usr/local/lib/opengroupware.org/Local/Library/Headers/libFoundation/./GNU 
> -I/usr/local/lib/opengroupware.org/Network/Library/Headers/libFoundation/./GNU
>  -I/usr/lib/o!
 pengroupware.org/System/Library/Headers/libFoundation/./GNU \
>              -o shared_obj/encoding.o
> encoding.c:29:27: error: compiler-info.h: No such file or directory
> encoding.c: In function 'objc_sizeof_type':
> encoding.c:175: error: 'BITS_PER_UNIT' undeclared (first use in this function)
> encoding.c:175: error: (Each undeclared identifier is reported only once
> encoding.c:175: error: for each function it appears in.)
> encoding.c: In function 'objc_layout_structure':
> encoding.c:722: error: 'BITS_PER_UNIT' undeclared (first use in this function)
> encoding.c: In function 'objc_layout_structure_next_member':
> encoding.c:760: error: 'BITS_PER_UNIT' undeclared (first use in this function)
> encoding.c: In function 'objc_layout_finish_structure':
> encoding.c:900: error: 'BITS_PER_UNIT' undeclared (first use in this function)
> encoding.c: In function 'objc_layout_structure_get_info':
> encoding.c:912: error: 'BITS_PER_UNIT' undeclared (first use in this function)
> make[2]: *** [shared_obj/encoding.o] Error 1

Full build logs are available at
<http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=libobjc-lf2>.

This is due to a lack of config files, which you can solve with:
   cd config/ix86
   ln -s linux-gnu kfreebsd-gnu

I guess that the same could apply to support hurd-i386 (creating a gnu
-> linux-gnu symlink), but untested.

And since I've no access to any kfreebsd-amd64, I can't tell you what is
needed (if at all) for that architecture, at least at the moment.

Cheers,

-- 
Cyril Brulebois


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to