Subject: Re: Solaris10 x86 gcc packages
To: None <Gilles.Dauphin@enst.fr, martti.kuparinen@iki.fi>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: tech-pkg
Date: 10/04/2005 12:16:00
> From: Martti Kuparinen <martti.kuparinen@iki.fi>
> 
> Gilles Dauphin wrote:
> 
> > 
http://perso.enst.fr/~dauphin/pkgsrc/pkgstat/SunOS-5.10-20050917.0206/broken.htm
l
> 
> ###
> ### Thu Sep 15 02:57:56 CEST 2005:
> ### /usr/pkg/bin/bmake bulk-package for postfix-2.2.5
> ### Current pkg count:  3 installed packages: digest-20050731 
> libtool-base-1.5.18nb4 tcp_wrappers-7.6.1nb4
> ###
> BULK> Full rebuild in progress...
> BULK> Cleaning package postfix-2.2.5 and pre-requisite packages
> ===> Cleaning for postfix-2.2.5
> ===> Cleaning for db4-4.3.28
> ===> Cleaning for libtool-base-1.5.18nb4
> BULK> Removing installed packages which are not needed to build postfix-2.2.5
> BULK> Keeping BULK_PREREQ: digest-20050731 (pkgtools/digest)
> /usr/pkg/sbin/pkg_delete -K /var/db/pkg -r tcp_wrappers-7.6.1nb4
> BULK> postfix-2.2.5 requires installed package libtool-base-1.5.18nb4 
> (devel/libtool-base) to build.
> BULK> Installing packages which are required to build postfix-2.2.5.
> BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  
/usr/pkgsrc/packages/All/db4-4.3.28.tgz
> BULK> Required package libtool-base-1.5.18nb4 (devel/libtool-base) is already 
> installed
> BULK> Required package digest-20050731 (pkgtools/digest) is already installed
> /usr/pkg/bin/bmake package (postfix-2.2.5)
> ===> [bsd.pkginstall.mk] PKG_USERS must not contain double backslashes.
> *** Error code 255
> 
> 
> Could you update your pkgsrc, check your /etc/mk.conf and try again?
> 
> Martti

here is the result with a fresh 2005Q3, sorry for late answer:

===> Configuring for postfix-2.2.5
cd /usr/pkgsrc/mail/postfix/work/postfix-2.2.5 &&                                
                        /usr/bin/env CC="gcc" OPT="-O -I/usr/pkg/include/db4" 
AUXLIBS=" -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -ldb4" CCARGS=" 
-DDEF_QUEUE_DIR=\"/var/spool/postfix\" 
-DDEF_DAEMON_DIR=\"/usr/pkg/libexec/postfix\" 
-DDEF_COMMAND_DIR=\"/usr/pkg/sbin\" -DDEF_CONFIG_DIR=\"/usr/pkg/etc/postfix\" 
-DDEF_SENDMAIL_PATH=\"/usr/pkg/sbin/sendmail\" 
-DDEF_MAILQ_PATH=\"/usr/pkg/bin/mailq\" 
-DDEF_NEWALIAS_PATH=\"/usr/pkg/bin/newaliases\" 
-DDEF_MANPAGE_DIR=\"/usr/pkg/man\" 
-DDEF_SAMPLE_DIR=\"/usr/pkg/share/examples/postfix\" 
-DDEF_README_DIR=\"/usr/pkg/share/doc/postfix\" -DHAS_DB -DNO_PCRE" DEBUG= 
CC=gcc CFLAGS=-O\ -I/usr/pkg/include/db4 CPPFLAGS=-I/usr/pkg/include/db4 CXX=g++ 
CXXFLAGS=-O\ -I/usr/pkg/include/db4 COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 
FFLAGS=-O LANG=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C 
LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib 
LINKER_RPATH_FLAG=-R 
PATH=/usr/pkgsrc/mail/postfix/work/.wrapper/bin:/usr/pkgsrc/mail/postfix/work/.b
uildlink/bin:/usr/pkgsrc/mail/postfix/work/.tools/bin:/usr/pkgsrc/mail/postfix/w
ork/.gcc/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/b
in:/usr/sfw/bin:/usr/sadm/bin:/lib/svc/bin:/usr/ccs/bin:/usr/ucb:/usr/xpg6/bin:/
usr/xpg4/bin:/usr/java/bin:/usr/X/bin:/usr/openwin/bin:/usr/X11R6/bin:/usr/dt/bi
n:/usr/lib/netsvc/yp:/usr/local/adm:/usr/local/etc:/usr/local/share/install:/usr
/local/share/bin:/usr/local/bin:/usr/local/X11R6/bin:/usr/local/X11R5/bin:.:/usr
/pkg/bin:/usr/openwin/bin PREFIX=/usr/pkg PKG_SYSCONFDIR=/usr/pkg/etc/postfix 
CPP=cpp LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg NO_WHOLE_ARCHIVE_FLAG=-z\ 
defaultextract WHOLE_ARCHIVE_FLAG=-z\ allextract X11BASE=/usr/openwin 
X11PREFIX=/usr/pkg MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no 
BSD_INSTALL_PROGRAM=/usr/ucb/install\ -c\ -s\ -o\ root\ -g\ root\ -m\ 555        
     BSD_INSTALL_SCRIPT=/usr/ucb/install\ -c\ -o\ root\ -g\ root\ -m\ 555        
            BSD_INSTALL_LIB=/usr/ucb/install\ -c\ -o\ root\ -g\ root\ -m\ 555    
                   BSD_INSTALL_DATA=/usr/ucb/install\ -c\ -o\ root\ -g\ root\ 
-m\ 444                      BSD_INSTALL_MAN=/usr/ucb/install\ -c\ -o\ root\ -g\ 
root\ -m\ 444                       BSD_INSTALL=/usr/ucb/install                 
           BSD_INSTALL_PROGRAM_DIR=/usr/ucb/install\ -d\ -o\ root\ -g\ root\ -m\ 
755       BSD_INSTALL_SCRIPT_DIR=/usr/ucb/install\ -d\ -o\ root\ -g\ root\ -m\ 
755                BSD_INSTALL_LIB_DIR=/usr/ucb/install\ -d\ -o\ root\ -g\ root\ 
-m\ 755           BSD_INSTALL_DATA_DIR=/usr/ucb/install\ -d\ -o\ root\ -g\ root\ 
-m\ 755          BSD_INSTALL_MAN_DIR=/usr/ucb/install\ -d\ -o\ root\ -g\ root\ 
-m\ 755           BSD_INSTALL_GAME=/usr/ucb/install\ -c\ -s\ -o\ root\ -g\ root\ 
-m\ 555                  BSD_INSTALL_GAME_DATA=/usr/ucb/install\ -c\ -o\ root\ 
-g\ root\ -m\ 444 
INSTALL_INFO=/usr/pkgsrc/mail/postfix/work/.tools/bin/install-info 
MAKEINFO=/usr/pkgsrc/mail/postfix/work/.tools/bin/makeinfo PKG_CONFIG= 
PKG_CONFIG_LIBDIR=/usr/pkgsrc/mail/postfix/work/.buildlink/lib/pkgconfig 
WRAPPER_DEBUG="yes" WRAPPER_UPDATE_CACHE="yes" VIEWBASE=/usr/pkg 
/usr/pkg/bin/bmake -f Makefile.init makefiles       'CCARGS= 
-DDEF_QUEUE_DIR=\"/var/spool/postfix\" 
-DDEF_DAEMON_DIR=\"/usr/pkg/libexec/postfix\" 
-DDEF_COMMAND_DIR=\"/usr/pkg/sbin\" -DDEF_CONFIG_DIR=\"/usr/pkg/etc/postfix\" 
-DDEF_SENDMAIL_PATH=\"/usr/pkg/sbin/sendmail\" 
-DDEF_MAILQ_PATH=\"/usr/pkg/bin/mailq\" 
-DDEF_NEWALIAS_PATH=\"/usr/pkg/bin/newaliases\" 
-DDEF_MANPAGE_DIR=\"/usr/pkg/man\" 
-DDEF_SAMPLE_DIR=\"/usr/pkg/share/examples/postfix\" 
-DDEF_README_DIR=\"/usr/pkg/share/doc/postfix\" -DHAS_DB -DNO_PCRE' 'AUXLIBS= 
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -ldb4'
/usr/pkg/bin/bmake -f Makefile.in MAKELEVEL= Makefiles
(echo "# Do not edit -- this file documents how Postfix was built for your 
machine."; /bin/sh makedefs) >makedefs.tmp
ATTENTION:
ATTENTION: Don't set LD_LIBRARY_PATH
ATTENTION:
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/mail/postfix/work/postfix-2.2.5
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/mail/postfix/work/postfix-2.2.5
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/mail/postfix
===> 
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/mail/postfix/work/.work.log
===> 
*** Error code 1