[pkg-discuss] Problems publishing new sunstudioexpress package.
Rich Burridge
Rich.Burridge at Sun.COM
Wed Oct 29 11:25:57 PDT 2008
A little bit more info:
richb at stard:/export/home/pkg-solaris/sunstudioexpress/archive/opt/SunStudioExpress/prod/lib/amd64$
ldd prof_lib.o
warning: ldd: prof_lib.o: is not executable
ld.so.1: lddstub: warning: symbol `_fini' not found, but .fini section
exists - possible link-edit without using the compiler driver
richb at stard:/export/home/pkg-solaris/sunstudioexpress/archive/opt/SunStudioExpress/prod/lib/amd64$
This looks like a packaging problem to me, but I'll bow to the experts...
Thanks.
-------- Original Message --------
Subject: Problems publishing new sunstudioexpress package.
Date: Wed, 29 Oct 2008 11:22:26 -0700
From: Rich Burridge <rich.burridge at sun.com>
To: pkg discuss <pkg-discuss at opensolaris.org>
CC: Chris.Quenelle at Sun.COM
It seems it's my day for question of the pkg-discuss alias.
I think I need input from the pkg experts on this one.
I'm trying to publish the latest "sunstudioexpress" package
to a local IPS repository on my machine. I'm using the
following script:
#! /bin/ksh
export ROOT=/export/home/richb/pkg/bugs/4316/gate/proto/root_i386
export PYTHONPATH=${ROOT}/usr/lib/python2.4/vendor-packages
export REPO=http://localhost:24316/
export
WOS_PKGS=/export/home/pkg-solaris/WOS_Packages/x/101/Solaris_11/Product/
export
NONWOS_PKGS=/net/paradise.sfbay/export/integrate_dock/nv/nv_osol0811/i386
(cd src/util/distro-import ; \
make -e BUILDID=101 Studio.import
) > errs.cluster 2>&1 &
As it's running the solaris.py script, I get:
...
sunstudioexpress add file 0644 root sys
opt/SunStudioExpress/prod/lib/amd64/prof_lib.map
sunstudioexpress add file 0644 root sys
opt/SunStudioExpress/prod/lib/amd64/prof_lib.o
Traceback (most recent call last):
File "./solaris.py", line 1145, in ?
publish_pkg(p)
File "./solaris.py", line 553, in publish_pkg
deps, u = process_dependencies(tmp, path)
File "./solaris.py", line 678, in process_dependencies
deps = [
pkg.elf.ElfError: Request error: no string table
*** Error code 1
make: Fatal error: Command failed for target `Studio.import'
The pkg.depotd process running on that port gives the following messages:
[29/Oct/2008:11:02:10] HTTP Traceback (most recent call last):
File "/usr/lib/python2.4/vendor-packages/cherrypy/_cprequest.py", line
606, in respond
cherrypy.response.body = self.handler()
File "/usr/lib/python2.4/vendor-packages/cherrypy/_cpdispatch.py",
line 24, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/python2.4/vendor-packages/pkg/server/repository.py",
line 524, in add_0
t.add_content(entry_type)
File "/usr/lib/python2.4/vendor-packages/pkg/server/transaction.py",
line 280, in add_content
elf_hash = elf.get_dynamic(elf_name)["hash"]
KeyError: 'hash'
[29/Oct/2008:11:02:10] HTTP
Request Headers:
X-IPKG-SETATTR3: path=opt/SunStudioExpress/prod/lib/amd64/prof_lib.o
X-IPKG-SETATTR2: mode=0644
X-IPKG-SETATTR1: group=sys
X-IPKG-SETATTR0: owner=root
Content-Type: application/x-www-form-urlencoded
HOST: localhost:24316
Content-Length: 177296
USER-AGENT: pkg/25d00c5514ac+ (sunos i86pc; 5.11 snv_101; none)
CONNECTION: close
Remote-Addr: 127.0.0.1
ACCEPT-ENCODING: identity
What should I be looking for to find out why it doesn't like this file?
Thanks.
More information about the pkg-discuss
mailing list