Subject: imake packages fail to build under Linux/Debian
To: None <>
From: Aleksey Cheusov <>
List: pkgsrc-users
Date: 08/01/2007 20:50:54
Under Linux/Debian many imake-based packages fails to build
like it is shown below.

Generated Makefile contains this
     CXXDEBUGFLAGS = -g DefaultGcc2OptimizeOpt -fno-strict-aliasing
       CDEBUGFLAGS = -g DefaultGcc2OptimizeOpt -fno-strict-aliasing

Does anybody know how to fix this?
X11_TYPE is set to "native".

0 xli>bmake
=> Required installed package digest>=20010302: digest-20060826 found
===> Checking for vulnerabilities in xli-1.17.0nb7
=> Checksum SHA1 OK for xli-2005-02-27.tar.gz
=> Checksum RMD160 OK for xli-2005-02-27.tar.gz
===> Installing dependencies for xli-1.17.0nb7
=> Required installed package xpkgwedge>=1.15: xpkgwedge-1.16 found
=> Required installed package x11-links>=0.25: x11-links-0.31 found
=> Required installed package inputproto>=1.4: inputproto-1.4.1 found
=> Required installed package jpeg>=6bnb2: jpeg-6bnb4 found
=> Required installed package png>=1.2.9nb2: png-1.2.18 found
===> Overriding tools for xli-1.17.0nb7
===> Extracting for xli-1.17.0nb7
===> Patching for xli-1.17.0nb7
=> Applying pkgsrc patches for xli-1.17.0nb7
===> Creating toolchain wrappers for xli-1.17.0nb7
===> Configuring for xli-1.17.0nb7
=> Checking for portability problems in extracted files
imake -DUseInstalled -I/usr/pkg/lib/X11/config -I/usr/X11R6/lib/X11/config
make Makefiles
make: Nothing to be done for `Makefiles'.
make includes
make: Nothing to be done for `includes'.
make depend
gccmakedep  --  -I/include -I/include -I/usr/include   -Dlinux -D__i386__ 
-D_POSIX_C_SOURCE=199309L                               -D_POSIX_SOURCE 
                                -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
clip.c cmuwmrast.c compress.c dither.c faces.c fbm.c fill.c  g3.c gif.c 
halftone.c imagetypes.c img.c mac.c mcidas.c mc_tables.c merge.c misc.c 
new.c options.c path.c pbm.c pcx.c reduce.c jpeg.c rle.c rlelib.c root.c 
rotate.c send.c smooth.c sunraster.c  value.c window.c xbitmap.c xli.c 
xpixmap.c xwd.c zio.c zoom.c ddxli.c tga.c bmp.c pcd.c png.c xlito.c
===> Building for xli-1.17.0nb7
gcc -g DefaultGcc2OptimizeOpt -fno-strict-aliasing     -I/include 
-I/include -I/usr/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L 
                               -D_POSIX_SOURCE -D_XOPEN_SOURCE 
                          -D_BSD_SOURCE -D_SVID_SOURCE 
                                -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
                              -DFUNCPROTO=15 -DNARROWPROTO   -DHAS_MEMCPY 
-DHAVE_GUNZIP -DHAVE_BUNZIP2  -I/usr/pkg/include -I/usr/include 
-I/usr/X11R6/include  -c -o bright.o bright.c
gcc: DefaultGcc2OptimizeOpt: No such file or directory
make: *** [bright.o] Error 1
*** Error code 2

bmake: stopped in /srv/pkgsrc/graphics/xli
*** Error code 1

bmake: stopped in /srv/pkgsrc/graphics/xli

1 xli>

Собрались в отпуск? Поиск туров - ТУТ: