Subject: pkgsrc on Solaris 8/sparc
To: None <netbsd-help@netbsd.org>
From: Dima Veselov <kab00m@lich.phys.spbu.ru>
List: netbsd-help
Date: 08/12/2003 17:21:55
--VbJkn9YxBvnuCH5J
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
Hi!
I had no troubles bootstrapping pkgsrc on my Solaris 8/sparc system, but I have problems
using it.
First, I tried to compile apcupsd and got strange error from gmake about target "-L..." :)
And second problem, compiling OpenSSL - compilation faults when tries to compile Perl.
I attached nohup.out of this troubles, mail me if you have some ideas.
Thank you very much.
--
Sincerelly yours
--VbJkn9YxBvnuCH5J
Content-Type: text/plain; charset=koi8-r
Content-Disposition: attachment; filename="apcupsd.nohup"
===> Checking for vulnerabilities in apcupsd-3.8.6nb1
*** WARNING - denial-of-service vulnerability in apcupsd-3.8.6nb1 - see http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0099 for more information ***
or define ALLOW_VULNERABLE_PACKAGES if this package is absolutely essential
*** Error code 255
Stop.
bmake: stopped in /usr/pkgsrc/sysutils/apcupsd
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/sysutils/apcupsd
===> Building for apcupsd-3.8.6nb1
(internal libintl disabled)
(cd lib; /usr/pkg/bin/gmake)
gmake[1]: Entering directory `/usr/pkgsrc/sysutils/apcupsd/work/apcupsd-3.8.6/lib'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/pkgsrc/sysutils/apcupsd/work/apcupsd-3.8.6/lib'
gmake: *** No rule to make target `-L/usr/pkg/lib', needed by `apcupsd'. Stop.
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/sysutils/apcupsd
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/sysutils/apcupsd
--VbJkn9YxBvnuCH5J
Content-Type: text/plain; charset=koi8-r
Content-Disposition: attachment; filename="openssl.nohup"
===> Checking for vulnerabilities in openssl-0.9.6gnb2
=> Checksum OK for openssl-0.9.6g.tar.gz.
===> Extracting for openssl-0.9.6gnb2
===> Required package perl>=5.0: NOT found
===> Verifying reinstall for ../../lang/perl5
===> Checking for vulnerabilities in perl-5.6.1nb9
===> Building for perl-5.6.1nb9
AutoSplitting perl library
LD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5/work/perl-5.6.1 ./miniperl -Ilib -e 'use AutoSplit; autosplit_lib_modules(@ARGV)' lib/*.pm lib/*/*.pm
Making DynaLoader (static)
LD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5/work/perl-5.6.1 gcc -o perl -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-E -R /usr/pkg/lib/perl5/5.6.1/sparc-solaris/CORE perlmain.o lib/auto/DynaLoader/DynaLoader.a libperl.so `cat ext.libs` -lm -ldl -lsocket -lnsl
/usr/ccs/bin/ld: illegal option -- E
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] specify `direct' bindings for executable when run
[-B dynamic | static]
search for shared libraries|archives
[-B eliminate] eliminate unqualified global symbols from the
symbol table
[-B group] relocate object from within group
[-B local] reduce unqualified global symbols to local
[-B reduce] process symbol reductions
[-B symbolic] bind external references to definitions when creating
shared objects
[-c name] record configuration file `name'
[-C] demangle C++ symbol name diagnostics
[-d y | n] operate in dynamic|static mode
[-D token,...] print diagnostic messages
[-e epsym] use `epsym' as entry point address
[-f name] specify library for which this file is an auxiliary
filter
[-F name] specify library for which this file is a filter
[-G] create a shared object
[-h name] use `name' as internal shared object identifier
[-i] ignore LD_LIBRARY_PATH setting
[-I name] use `name' as path of interpreter
[-l x] search for libx.so or libx.a
[-L path] search for libraries in directory `path'
[-m] print memory map
[-M mapfile] use processing directives contained in `mapfile'
[-N string] create a dynamic dependency for `string'
[-o outfile] name the output file `outfile'
[-p auditlib] identify audit library to accompany this object
[-P auditlib] identify audit library for processing the dependencies
of this object
[-Q y | n] do|do not place version information in output file
[-r] create a relocatable object
[-R path] specify a library search path to be used at run time
[-s] strip any symbol and debugging information
[-S supportlib]
specify a link-edit support library
[-t] do not warn of multiply-defined symbols that have
different sizes or alignments
[-u symname] create an undefined symbol `symname'
[-V] print version information
[-Y P,dirlist] use `dirlist' as a default path when searching for
libraries
[-z absexec] when building an executable absolute symbols
referenced in dynamic objects are promoted to
the executable
[-z allextract | defaultextract | weakextract]
extract all member files, only members that resolve
undefined tor tentative symbols, or allow extraction of
archive members to resolvetweak references from
archive files
[-z combreloc] combine multiple relocation sections
[-z defs] tdisallow undefined symbol references
[-z endfiltee] marks a filtee such that it will terminate a filters
search
[-z finiarray=function]
name of function to be appended to the .finiarray
[-z groupperm | nogroupperm]
enable|disable setting of group permissions
on dynamic dependencies
[-z ignore | record]
ignore|record unused dynamic dependencies
[-z initarray=function]
name of function to be appended to the .initarray
[-z initfirst] mark object to indicate that its .init section should
be executed before the .init section of any other
objects
[-z interpose] dynamic object is to be an `interposer' on direct
bindings
[-z lazyload | nolazyload]
enable|disable delayed loading of shared objects
[-z ld32=arg1,arg2,...]
define arguments applicable to the 32-bit class of ld(1)
[-z ld64=arg1,arg2,...]
define arguments applicable to the 64-bit class of ld(1)
[-z loadfltr] mark filter as requiring immediate loading of its
filtees at runtime
[-z muldefs] allow multiply-defined symbols
[-z nodefs] allow undefined symbol references
[-z nodefaultlib]
mark object to ignore any default library search path
[-z nodelete] mark object as non-deletable
[-z nodlopen] mark object as non-dlopen()'able
[-z nodump] mark object as non-dldump()'able
[-z nopartial] expand any partially initialized symbols
[-z noversion] don't record any version sections
[-z now] mark object as requiring non-lazy binding
[-z origin] mark object as requiring $ORIGIN processing
[-z preinitarray=function]
name of function to be appended to the .preinitarray
[-z redlocsym] reduce local syms in .symtab to a minimum
[-z rescan] rescan archive list until no further member
extraction occurs
[-z text] disallow output relocations against text
[-z textoff] allow output relocations against text
[-z textwarn] warn if there are relocations against text
[-z verbose] generate warnings for suspicious processings
collect2: ld returned 1 exit status
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/lang/perl5/work/perl-5.6.1
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/lang/perl5
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/lang/perl5
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/lang/perl5
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/security/openssl
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/security/openssl
--VbJkn9YxBvnuCH5J--