OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004957 [389_ds_base] packaging block always 2012-06-12 03:19 2012-07-03 09:07
Reporter tjyang View Status public  
Assigned To cgrzemba
Priority normal Resolution fixed  
Status closed  
Summary 0004957: Failed to download work/download/389-ds-base-1.2.10.7.tar.bz2!
Description I have to manually use wget to get 389-ds-base-1.2.10.7.tar.bz2 and put it into /root/opencsw/src to get the build going.


root@b-solaris11-amd64:~/opencsw/389-ds-base/trunk# wget http://port389.org/sources/389-ds-base-1.2.10.7.tar.bz2 [^]
--2012-06-11 20:17:33-- http://port389.org/sources/389-ds-base-1.2.10.7.tar.bz2 [^]
Resolving port389.org (port389.org)... 209.132.180.101
Connecting to port389.org (port389.org)|209.132.180.101|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2901168 (2.8M) [application/x-bzip2]
Saving to: `389-ds-base-1.2.10.7.tar.bz2'

49% [=======================================> ] 1,428,608 80.9K/s eta 16s

looks like there is timeout(not responding in time) issue when running mgar build.

how can I adjust the timeout on waiting fetching src tar ball ?
Additional Information root@b-solaris11-amd64:~/opencsw/389-ds-base/trunk# mgar build
gmake[1]: Entering directory `/root/opencsw/389-ds-base/trunk'
gmake -s MODULATION=global checksum
gmake[2]: Entering directory `/root/opencsw/389-ds-base/trunk'
[===== NOW BUILDING: 389-ds-base-1.2.10.7 =====]
ginstall -d work/cookies/global
ginstall -d work/download
ginstall -d work/download/partial
==> Verifying installed package CSWxz: ok
==> Verifying installed package CSWbzip2: ok
==> Verifying installed package CSWdiffutils: ok
==> Verifying installed package CSWfindutils: ok
==> Verifying installed package CSWgawk: ok
==> Verifying installed package CSWgfile: ok
==> Verifying installed package CSWggrep: ok
==> Verifying installed package CSWgmake: ok
==> Verifying installed package CSWgsed: ok
==> Verifying installed package CSWgtar: ok
==> Verifying installed package CSWpy-cheetah: ok
==> Verifying installed package CSWpy-hachoir-core: ok
==> Verifying installed package CSWpy-hachoir-parser: ok
==> Verifying installed package CSWpy-libmagic: ok
==> Verifying installed package CSWpy-progressbar: ok
==> Verifying installed package CSWpy-sqlobject: ok
==> Verifying installed package CSWpy-yaml: ok
==> Verifying installed package CSWpython: ok
==> Verifying installed package CSWcoreutils: ok
==> Verifying installed package CSWwget: ok
==> Verifying installed package CSWgit: ok
        [prerequisite] complete for 389-ds-base.
 ==> Grabbing work/download/0005-add-standard-path.patch
        ==> Trying file://files/0005-add-standard-path.patch [^]
 ==> Grabbing work/download/0005-add-var-run-create-initconfig.in.patch
        ==> Trying file://files/0005-add-var-run-create-initconfig.in.patch [^]
 ==> Grabbing work/download/0005-smf-autoenable-no.patch
        ==> Trying file://files/0005-smf-autoenable-no.patch [^]
 ==> Grabbing work/download/0006-add-i386-platform-in-configure.ac.patch
        ==> Trying file://files/0006-add-i386-platform-in-configure.ac.patch [^]
 ==> Grabbing work/download/0006-replace-SV-sh-with-Posix-sh.patch
        ==> Trying file://files/0006-replace-SV-sh-with-Posix-sh.patch [^]
 ==> Grabbing work/download/0007-fixup-Makefile.am.patch
        ==> Trying file://files/0007-fixup-Makefile.am.patch [^]
 ==> Grabbing work/download/389-ds-base-1.2.10.7.tar.bz2
        ==> Trying file://files/389-ds-base-1.2.10.7.tar.bz2 [^]
        ==> Trying file:///root/opencsw/src/389-ds-base-1.2.10.7.tar.bz2 [^]
(!!!) Failed to download work/download/389-ds-base-1.2.10.7.tar.bz2!
gmake[2]: *** [work/download/389-ds-base-1.2.10.7.tar.bz2] Error 1
gmake[2]: Leaving directory `/root/opencsw/389-ds-base/trunk'
gmake[1]: *** [checksum-global] Error 2
gmake[1]: Leaving directory `/root/opencsw/389-ds-base/trunk'
gmake: *** [build-isa-pentium_pro] Error 2
root@b-solaris11-amd64:~/opencsw/389-ds-base/trunk#
Tags No tags attached.
Attached Files ? file icon config.h [^] (11,496 bytes) 2012-06-12 16:16
log file icon config.log [^] (101,110 bytes) 2012-06-12 16:17

- Relationships

-  Notes
(0009923)
tjyang (reporter)
2012-06-12 03:22

also 389-ds-base depends on " autoconf automake libtool", pls add them into dependency list.
(0009924)
bwalton (administrator)
2012-06-12 03:38

Hello,

This isn't a timeout issue. There is some problem that sees GAR not even try to fetch the source via http. It looks in files/ and then your configured 'garchive' (src) directory and then it gives up. Have you modified the recipe at all or is this straight from our svn tree?

Also, _please_ don't build packages from the root account. (That's what it looks like you're doing based on the path to your checkout, so ignore me if you're running as some non-0 uid.) There are lots of poorly behaved things out there that will happily trash your box during a build if you give them the chance.
(0009925)
tjyang (reporter)
2012-06-12 03:39

found more cdependency packages, like nspr,nss.
Can't figure out what package contain "/opt/csw/include/dirsrv"



<snip>
/root/opencsw/389-ds-base/trunk/work/build-isa-pentium_pro/389-ds-base-1.2.10.7/configure[17937]: PKG_PROG_PKG_CONFIG: not found [No such file or directory]
checking for --with-systemdsystemunitdir...
checking for --with-systemdsystemconfdir...
checking for --with-instconfigdir... no
checking for --with-initddir... no
configure: checking for NSPR...
checking for --with-nspr... yes
checking for --with-nspr-inc... using /opt/csw/include/nspr
checking for --with-nspr-lib... using /opt/csw/lib
configure: checking for NSS...
checking for --with-nss... yes
checking for --with-nss-inc... using /opt/csw/include/nss
checking for --with-nss-lib... using /opt/csw/lib
configure: checking for OpenLDAP...
checking for --with-openldap... no
checking for --with-openldap-inc... no
checking for --with-openldap-lib... no
checking for --with-openldap-bin... no
configure: checking for Mozilla LDAPSDK...
checking for --with-ldapsdk... yes
checking for --with-ldapsdk-inc...
configure: error: /opt/csw/include/dirsrv not found
gmake[1]: *** [configure-work/build-isa-pentium_pro/389-ds-base-1.2.10.7/configure] Error 1
gmake[1]: Leaving directory `/root/opencsw/389-ds-base/trunk'
gmake: *** [build-isa-pentium_pro] Error 2
root@b-solaris11-amd64:~/opencsw/389-ds-base/trunk#
(0009926)
bwalton (administrator)
2012-06-12 03:58

Moving this bug to the 389-ds-base project since it's a better fit overall.

Are you able to submit patches for the required build recipe changes?
(0009927)
tjyang (reporter)
2012-06-12 04:02

yes, I will try to submit recipe patch (gnudiff -u new old) next time.
Thanks for the advice using non-root user for building package.
(0009928)
cgrzemba (manager)
2012-06-12 09:05

I have some recipes where the 'mgar fetch' not work. I have then used wget manually. I don't know why.

The /opt/csw/include/dirsrv contains the header files for the DS plugin API (389-ds-base).

Yes, the BUILD_DEP's are not complete (because you see this best on a private build farm when the prerequisites are in complete ;-)
(0009930)
cgrzemba (manager)
2012-06-12 09:33

The /opt/csw/include/dirsrv contains the header files for the Mozilla LDAP SDK also. They must be in a separate path because this has the same file names like openldap which provides same struct and function names with different content.

I have added BUILD_DEP_PKGS to the 389-ds-base build recipe.
(0009931)
tjyang (reporter)
2012-06-12 09:54

-bash-4.1$ sudo pkgutil -y -i 389_ds_base
-bash-4.1$ mgar configure
<snipped>
configure: checking for NSS...
checking for --with-nss... yes
checking for --with-nss-inc... using /opt/csw/include/nss
checking for --with-nss-lib... using /opt/csw/lib
configure: checking for OpenLDAP...
checking for --with-openldap... no
checking for --with-openldap-inc... no
checking for --with-openldap-lib... no
checking for --with-openldap-bin... no
configure: checking for Mozilla LDAPSDK...
checking for --with-ldapsdk... yes
checking for --with-ldapsdk-inc...
configure: error: /opt/csw/include/dirsrv not found
gmake[1]: *** [configure-work/build-isa-pentium_pro/389-ds-base-1.2.10.7/configure] Error 1
gmake[1]: Leaving directory `/home/gobuild/opencsw/389-ds-base/trunk'
gmake: *** [configure-isa-pentium_pro] Error 2
-bash-4.1$ ls -l /opt/csw/include/dirsrv/
total 836
-rw-r--r-- 1 root bin 5649 May 2 03:51 repl-session-plugin.h
-rw-r--r-- 1 root bin 271387 May 2 03:51 slapi-plugin.h
-rw-r--r-- 1 root bin 25027 May 2 03:51 winsync-plugin.h
-bash-4.1$

installation of 389_ds_base did bring in some header files under /opt/csw/include/dirsrv, but configure still complains not finding /opt/csw/include/dirsrv.

Please advise
(0009932)
dam (administrator)
2012-06-12 10:21

That specific dependency is in CSWmozldap-dev and should be added to BUILD_DEPS in the Makefile.
(0009933)
tjyang (reporter)
2012-06-12 10:50

Thanks to dam, "mgar configure" went further.


<snipped>
checking for --with-openldap... no
checking for --with-openldap-inc... no
checking for --with-openldap-lib... no
checking for --with-openldap-bin... no
configure: checking for Mozilla LDAPSDK...
checking for --with-ldapsdk... yes
checking for --with-ldapsdk-inc... using /opt/csw/include/dirsrv
checking for --with-ldapsdk-lib... using /opt/csw/lib
checking for --with-ldapsdk-bin...
configure: error: /opt/csw/dirsrv/bin not found
gmake[1]: *** [configure-work/build-isa-pentium_pro/389-ds-base-1.2.10.7/configure] Error 1
gmake[1]: Leaving directory `/home/gobuild/opencsw/389-ds-base/trunk'
gmake: *** [configure-isa-pentium_pro] Error 2
-bash-4.1$
(0009934)
tjyang (reporter)
2012-06-12 10:56

mgar configure finished ok after adding "CSWmozldap-tools", please add this dependency in Makefile. thanks.
(0009935)
tjyang (reporter)
2012-06-12 10:59

Now the error from "mgar build"


<snipped>
/bin/sh ./libtool --tag=CXX --mode=compile /opt/solarisstudio12.3/bin/CC -DHAVE_CONFIG_H -I. -I./include/base -DBUILD_NUM=\"2012.164.855\" -DVENDOR="\"389 Project\"" -DBRAND="\"389\"" -DCAPBRAND="\"389\"" -UPACKAGE_VERSION -UPACKAGE_TARNAME -UPACKAGE_STRING -UPACKAGE_BUGREPORT -I./ldap/include -I./ldap/servers/slapd -I./include -I. -DLOCALSTATEDIR="\"/var/opt/csw\"" -DSYSCONFDIR="\"/etc/opt/csw\"" -DLIBDIR="\"/opt/csw/lib\"" -DBINDIR="\"/opt/csw/bin\"" -DDATADIR="\"/opt/csw/share\"" -DDOCDIR="\"/opt/csw/share/doc/389-ds-base\"" -DSBINDIR="\"/opt/csw/sbin\"" -DPLUGINDIR="\"/opt/csw/lib/dirsrv/plugins\"" -DTEMPLATEDIR="\"/opt/csw/share/dirsrv/data\"" -I./lib/ldaputil -I/opt/csw/include/dirsrv -I/opt/csw/include/nss -I/opt/csw/include/nspr -xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro -c -o lib/base/libns_dshttpd_la-dnsdmain.lo `test -f 'lib/base/dnsdmain.cpp' || echo './'`lib/base/dnsdmain.cpp
libtool: compile: /opt/solarisstudio12.3/bin/CC -DHAVE_CONFIG_H -I. -I./include/base "-DBUILD_NUM=\"2012.164.855\"" "-DVENDOR=\"389 Project\"" "-DBRAND=\"389\"" "-DCAPBRAND=\"389\"" -UPACKAGE_VERSION -UPACKAGE_TARNAME -UPACKAGE_STRING -UPACKAGE_BUGREPORT -I./ldap/include -I./ldap/servers/slapd -I./include -I. "-DLOCALSTATEDIR=\"/var/opt/csw\"" "-DSYSCONFDIR=\"/etc/opt/csw\"" "-DLIBDIR=\"/opt/csw/lib\"" "-DBINDIR=\"/opt/csw/bin\"" "-DDATADIR=\"/opt/csw/share\"" "-DDOCDIR=\"/opt/csw/share/doc/389-ds-base\"" "-DSBINDIR=\"/opt/csw/sbin\"" "-DPLUGINDIR=\"/opt/csw/lib/dirsrv/plugins\"" "-DTEMPLATEDIR=\"/opt/csw/share/dirsrv/data\"" -I./lib/ldaputil -I/opt/csw/include/dirsrv -I/opt/csw/include/nss -I/opt/csw/include/nspr -xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro -c lib/base/dnsdmain.cpp -KPIC -DPIC -o lib/base/.libs/libns_dshttpd_la-dnsdmain.o
"lib/base/dnsdmain.cpp", line 82: Error: Only one of a set of overloaded functions can be extern "C".
1 Error(s) detected.
gmake[1]: *** [lib/base/libns_dshttpd_la-dnsdmain.lo] Error 1
gmake[1]: Leaving directory `/home/gobuild/opencsw/389-ds-base/trunk/work/build-isa-pentium_pro/389-ds-base-1.2.10.7'
gmake: *** [all] Error 2
gmake: Leaving directory `/home/gobuild/opencsw/389-ds-base/trunk/work/build-isa-pentium_pro/389-ds-base-1.2.10.7'
gmake[1]: *** [build-work/build-isa-pentium_pro/389-ds-base-1.2.10.7/Makefile] Error 2
gmake[1]: Leaving directory `/home/gobuild/opencsw/389-ds-base/trunk'
gmake: *** [build-isa-pentium_pro] Error 2
-bash-4.1$
(0009937)
cgrzemba (manager)
2012-06-12 13:20

Pleas attach your config.h file
(0009938)
tjyang (reporter)
2012-06-12 16:18

both config.h and config.log under 389-ds-base/trunk/work/build-isa-pentium_pro/389-ds-base-1.2.10.7 are attached.

Thanks
(0009943)
cgrzemba (manager)
2012-06-13 09:13

This seams to be all correct. The problem you have could be related to build on Solaris 11. But this I can't verify in the moment, because the Solaris 11 build host in our build farm meets not all build prerequisites yet.
I have build only on Solaris 10.
(0009945)
tjyang (reporter)
2012-06-13 10:29
edited on: 2012-06-13 10:29

Thanks for look into this issue. I will try it on my solaris 10 private build machine.

Another question for you, why this package specifically tight to sunstudio 12.3 compiler ?.

My solaris 10 build machine only has /opt/SUNspro/bin installed currently.

-bash-3.00$ /opt/SUNWspro/bin/cc -V
cc: Sun C 5.9 SunOS_i386 2007/05/03
usage: cc [ options] files. Use 'cc -flags' for details
-bash-3.00$

(0009946)
cgrzemba (manager)
2012-06-13 10:46

that is the current version, 12.2 sould work also.
as well gcc, but there should libicu also build with gcc.
(0009947)
tjyang (reporter)
2012-06-13 11:01

mgar configure failed at "/opt/SUNWspro/bin/CC -qversion" command

-bash-3.00$ uname -a
SunOS unknown 5.10 Generic_127128-11 i86pc i386 i86pc
-bash-3.00$
-bash-3.00$ grep CC ~/.garrc
SOS11_CC_HOME = /opt/SUNWspro
SOS12_CC_HOME = /opt/SUNWspro
-bash-3.00$ ls /opt/SUNWspro/
LEGAL-SS12 bin examples lib sfw
READMEs contrib include man
atd1 docs inventory prod
-bash-3.00$ grep GARCOM Makefile
GARCOMPILER = SOS12
-bash-3.00$

-bash-3.00$ mgar configure
gmake[1]: Entering directory `/export/home/gobuild/opencsw/389-ds-base/trunk'
[===== NOW BUILDING: 389-ds-base-1.2.10.7 MODULATION isa-pentium_pro: ISA=pentium_pro =====]
        [extract-modulated] complete for 389-ds-base.
        [patch-modulated] complete for 389-ds-base.
 ==> Running configure in work/build-isa-pentium_pro/389-ds-base-1.2.10.7
cd work/build-isa-pentium_pro/389-ds-base-1.2.10.7 && mkdir -p . && cd . && /usr/bin/env -i HOME="/export/home/gobuild" PATH="/export/home/gobuild/opencsw/.buildsys/v2/gar/bin/sos12-wrappers:/export/home/gobuild/opencsw/389-ds-base/trunk/work/install-isa-pentium_pro/opt/csw/bin:/export/home/gobuild/opencsw/389-ds-base/trunk/work/install-isa-pentium_pro/opt/csw/bin:/export/home/gobuild/opencsw/389-ds-base/trunk/work/install-isa-pentium_pro/opt/csw/sbin:/export/home/gobuild/opencsw/389-ds-base/trunk/work/install-isa-pentium_pro/opt/csw/sbin:/opt/csw/bin:/opt/csw/bin:/opt/csw/sbin:/opt/csw/sbin:/opt/SUNWspro/bin:/export/home/gobuild/opencsw/.buildsys/v2/gar/bin:/usr/bin:/usr/sbin:/usr/java/bin:/usr/ccs/bin:/usr/openwin/bin" LC_ALL="C" prefix="/opt/csw" exec_prefix="/opt/csw" bindir="/opt/csw/bin" sbindir="/opt/csw/sbin" libexecdir="/opt/csw/libexec" datadir="/opt/csw/share" sysconfdir="/etc/opt/csw" sharedstatedir="/opt/csw/share" localstatedir="/var/opt/csw" libdir="/opt/csw/lib" infodir="/opt/csw/share/info" lispdir="/opt/csw/share/emacs/site-lisp" includedir="/opt/csw/include" mandir="/opt/csw/share/man" docdir="/opt/csw/share/doc" sourcedir="/opt/csw/src" CPPFLAGS="" CFLAGS="-xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro" CXXFLAGS="-xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro" LDFLAGS="-m32 -xarch=pentium_pro -xchip=pentium_pro -L/opt/csw/bdb48/lib -L/opt/csw/lib -xnorunpath -norunpath" FFLAGS="-xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro" FCFLAGS="-xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro" F77="/opt/SUNWspro/bin/f77" FC="/opt/SUNWspro/bin/f95" ASFLAGS="" OPTFLAGS="-xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro" CC="/opt/SUNWspro/bin/cc" CXX="/opt/SUNWspro/bin/CC" CC_HOME="/opt/SUNWspro" CC_VERSION="Sun C 5.9 SunOS_i386 2007/05/03" CXX_VERSION="Sun C++ 5.9 SunOS_i386 2007/05/03" GARCH="i386" GAROSREL="5.10" GARPACKAGE="trunk" LD_OPTIONS="-R/opt/csw/bdb48/lib/\$ISALIST -R/opt/csw/bdb48/lib -R/opt/csw/lib/\$ISALIST -R/opt/csw/lib" PKG_CONFIG_PATH="/opt/csw/lib/pkgconfig" DESTDIR="/export/home/gobuild/opencsw/389-ds-base/trunk/work/install-isa-pentium_pro" /export/home/gobuild/opencsw/389-ds-base/trunk/work/build-isa-pentium_pro/389-ds-base-1.2.10.7/configure --prefix=/opt/csw --exec_prefix=/opt/csw --bindir=/opt/csw/bin --sbindir=/opt/csw/sbin --libexecdir=/opt/csw/libexec --datadir=/opt/csw/share --sysconfdir=/etc/opt/csw --sharedstatedir=/opt/csw/share --localstatedir=/var/opt/csw --libdir=/opt/csw/lib --infodir=/opt/csw/share/info --includedir=/opt/csw/include --mandir=/opt/csw/share/man --with-ldapsdk-inc=/opt/csw/include/dirsrv --with-ldapsdk-lib=/opt/csw/lib --with-ldapsdk-bin=/opt/csw/dirsrv/bin --with-db-inc=/opt/csw/bdb48/include --with-db-lib=/opt/csw/bdb48/lib --with-icu-inc=/opt/csw/include --with-icu-lib=/opt/csw/lib --with-icu-bin=/opt/csw/bin --with-netsnmp-inc=/opt/csw/include --with-netsnmp-lib=/opt/csw/lib --with-sasl-inc=/opt/csw/include/sasl --with-sasl-lib=/opt/csw/lib --with-nss-lib=/opt/csw/lib --with-nss-inc=/opt/csw/include/nss --with-nspr-lib=/opt/csw/lib --with-nspr-inc=/opt/csw/include/nspr
configure: This is configure for 389-ds-base 1.2.10.7
checking for a BSD-compatible install... /opt/csw/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/csw/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking whether the C++ compiler works... no
configure: error: in `/export/home/gobuild/opencsw/389-ds-base/trunk/work/build-isa-pentium_pro/389-ds-base-1.2.10.7':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
gmake[1]: *** [configure-work/build-isa-pentium_pro/389-ds-base-1.2.10.7/configure] Error 77
gmake[1]: Leaving directory `/export/home/gobuild/opencsw/389-ds-base/trunk'
gmake: *** [configure-isa-pentium_pro] Error 2
-bash-3.00$

part of /export/home/gobuild/opencsw/389-ds-base/trunk/work/build-isa-pentium_pro/389-ds-base-1.2.10.7/config.log shown below


<snipped>
configure:3346: result: i386-pc-solaris2.10
configure:3480: checking for C++ compiler version
configure:3489: /opt/SUNWspro/bin/CC --version >&5
CC: Warning: Option --version passed to ld, if ld is invoked, ignored otherwise
/usr/ccs/bin/ld: illegal option -- version
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s)
        [-64] enforce a 64-bit link-edit
        [-a] create an absolute file
        [-b] do not do special PIC relocations in a.out
        [-B direct | nodirect]
                        establish direct bindings, or inhibit direct binding
                        to, the object being created
        [-B dynamic | static]
... rest of stderr output deleted ...
configure:3500: $? = 1
configure:3489: /opt/SUNWspro/bin/CC -v >&5
### command line files and options (expanded):
### -v
### CC: Note: NLSPATH = /opt/SUNWspro/prod/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt/SUNWspro/prod/bin
/../../lib/locale/%L/LC_MESSAGES/%N.cat
configure:3500: $? = 0
configure:3489: /opt/SUNWspro/bin/CC -V >&5
CC: Sun C++ 5.9 SunOS_i386 2007/05/03
configure:3500: $? = 0
configure:3489: /opt/SUNWspro/bin/CC -qversion >&5
CC: Warning: Option -qversion passed to ld, if ld is invoked, ignored otherwise
/usr/ccs/bin/ld: illegal option -- q
/usr/ccs/bin/ld: illegal option -- v
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s)
        [-64] enforce a 64-bit link-edit
        [-a] create an absolute file
        [-b] do not do special PIC relocations in a.out
        [-B direct | nodirect]
                        establish direct bindings, or inhibit direct binding
                        to, the object being created
... rest of stderr output deleted ...
configure:3500: $? = 1
configure:3520: checking whether the C++ compiler works
configure:3542: /opt/SUNWspro/bin/CC -xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro -m32 -xarch=pentium
_pro -xchip=pentium_pro -L/opt/csw/bdb48/lib -L/opt/csw/lib -xnorunpath -norunpath conftest.cpp >&5
CC: Warning: Option -xnorunpath passed to ld, if ld is invoked, ignored otherwise
/usr/ccs/bin/ld: illegal option -- x
/usr/ccs/bin/ld: illegal option -- n
ld: warning: option -o appears more than once, first setting taken
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s)
        [-64] enforce a 64-bit link-edit
<snipped>
(0009948)
cgrzemba (manager)
2012-06-13 11:28

that is the output with working SOS12.3:

configure:3490: checking for C++ compiler version
configure:3499: /opt/solarisstudio12.3/bin/CC --version >&5
CC: Warning: Option --version passed to ld, if ld is invoked, ignored otherwise
usage: CC [ options ] files. Use 'CC -flags' for details
configure:3510: $? = 1
configure:3499: /opt/solarisstudio12.3/bin/CC -v >&5
### CC: Note: NLSPATH = /opt/solarisstudio12.3/prod/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt/solarisstudio12.3/prod/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
### command line files and options (expanded):
### -v
usage: CC [ options ] files. Use 'CC -flags' for details
configure:3510: $? = 1
configure:3499: /opt/solarisstudio12.3/bin/CC -V >&5
CC: Sun C++ 5.12 SunOS_i386 Patch 148509-02 2012/05/08
configure:3510: $? = 0
configure:3499: /opt/solarisstudio12.3/bin/CC -qversion >&5
CC: Warning: Option -qversion passed to ld, if ld is invoked, ignored otherwise
usage: CC [ options ] files. Use 'CC -flags' for details
configure:3510: $? = 1
configure:3530: checking whether the C++ compiler works
configure:3552: /opt/solarisstudio12.3/bin/CC -xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro -m32 -xarch=pentium_pro -xchip=pentium_pro -L/opt/csw/bdb48/lib -L/opt/csw/lib -xnorunpath -norunpath conftest.cpp >&5
configure:3556: $? = 0
configure:3604: result: yes
configure:3607: checking for C++ compiler default output file name
configure:3609: result: a.out
configure:3615: checking for suffix of executables
(0009995)
cgrzemba (manager)
2012-07-03 09:07

add trailing slash on MASTERSITE variable


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker