The pkg repo builds IPS packages now by default, but the SVR4 packages
can be built manually. I did that, and added the path
(gate/packages/${ARCH}/svr4) to the NONWOS_PKGS variable.
Then I tried again.
This time I get an error about SUNWipkg-gui-data
Am I on the right track at least?
Error(import): No such package: 'SUNWipkg-gui-data': in file 134/redist_cluster,
line 6
Traceback (most recent call last):
File "./importer.py", line 1895, in <module>
main_func()
File "./importer.py", line 1567, in main_func
SolarisParse(_mf)
File "./importer.py", line 1262, in SolarisParse
curpkg.import_pkg(package_name, line)
File "./importer.py", line 140, in import_pkg
[], exclude_files)
File "./importer.py", line 162, in import_files_from_pkg
raise RuntimeError("No such package: '%s'" % imppkg_filename)
RuntimeError: No such package: 'SUNWipkg-gui-data'
*** Error code 1
Chris Quenelle wrote:
> Whooops.
> I found the package. It's built in the pkg workspace.
> Now I just have to figure out why it's not found by the
> import step.
>
> --chris
>
> Chris Quenelle wrote:
>> I'm trying to build 134/redist_import and I'm having a problem
>> with the cherrypy package. Did this move or get renamed or something
>> like that? It only seems to be defined in 133/common, but that file
>> gets included in all future slim_kit definitions. The definition in
>> 133 imports "SUNWpython-cherrypy". Where is that package supposed
>> to come from? Did it get removed or merged with another package?
>> I've tried looking for it. I can't seem to find it in the WOS package
>> directories or the NONWOS package directories. I've looked pre-133
>> and post-134.
>>
>> Any ideas?
>>
>> If it will help, some of the details are below:
>>
>>
>> I can't the single-package import to work right.
>>
>> % tiaga /set/dbx/work/quenelle/osol-tbolt/gate/src/util/distro-import
>> % l 13*/common/*cherry*
>> 133/common/library:python-2:cherrypy
>>
>> % grep cherry 13*/slim*
>> 130/slim_cluster:include common/SUNWpython-cherrypy
>> 130/slim_cluster:depend SUNWpython-cherrypy
>> 131/slim_cluster:include common/SUNWpython-cherrypy
>> 131/slim_cluster:depend SUNWpython-cherrypy
>> 132/slim_cluster:include common/SUNWpython-cherrypy
>> 132/slim_cluster:depend SUNWpython-cherrypy
>> 133/slim_cluster:include common/library:python-2:cherrypy
>> 133/slim_cluster:depend library/python-2/cherrypy
>> 134/slim_cluster:include common/library:python-2:cherrypy
>> 134/slim_cluster:depend library/python-2/cherrypy
>> 135/slim_cluster:include common/library:python-2:cherrypy
>> 135/slim_cluster:depend library/python-2/cherrypy
>> 136/slim_cluster:include common/library:python-2:cherrypy
>> 136/slim_cluster:depend library/python-2/cherrypy
>> 137/slim_cluster:include common/library:python-2:cherrypy
>> 137/slim_cluster:depend library/python-2/cherrypy
>> 138/slim_cluster:include common/library:python-2:cherrypy
>> 138/slim_cluster:depend library/python-2/cherrypy
>> 139/slim_cluster:include common/library:python-2:cherrypy
>> 139/slim_cluster:depend library/python-2/cherrypy
>>
>>
>> % more 133/common/library:python-2:cherrypy
>> package library/python-2/cherrypy
>> consolidation "ips"
>> classification "Development/Python"
>> import SUNWpython-cherrypy
>> version 3.1.2
>> end package
>>
>> package SUNWpython-cherrypy
>> consolidation "ips"
>> renamed 133
>> depend library/python-2/cherrypy
>> version 3.1.2
>> end package
>>
>>
>> ------------- command used to start the build, and resulting error
>>
>> (cd src/util/distro-import ; \
>> make -e clobber ; \
>> make -e ${buildno}/redist_import
>> ) > errs.${ARCH}.import 2>&1 &
>>
>>
>>
>>
>>
>> PYTHONPATH=../../../proto/root_i386/usr/lib/python2.6/vendor-packages
>> ./importer.py
>> -b 0.142 -T \*.py -G reboot -G smf_manifests -G fonts -G
>> gnome
>> -G variants -G attrs -m ARCH=i386 -m ARCH32=i86 -m ARCH64=amd64
>> -m
>> i386_ONLY='' -m sparc_ONLY=# -p ../../../proto/root_i386 -s
>> http://localh
>> ost:9999/ -w ../../../packages/i386 -w
>> /net/paradise/ex
>> port/integrate_dock/nv/nv_solnext_142/i386 -w
>> /net/paradise/export/integrate_dock/nv
>> /nv_solnext_142/all -w
>> /net/paradise.sfbay/export/integrate_doc
>> k/nv/nvx_wos_142/all -w
>> /net/paradise/export/integrate_dock/nv/nv_so
>> lnext_142/i386 -w . -D boot/solaris/devicedb/master -D etc/hba.conf
>> -D etc/ima.conf -D etc/inet/services
>> -D etc/mpapi.conf \
>> -I
>> 142:141:140:139:138:137:136:135:134:133:132:131:130:129:128:127:126:125:
>> 124:123:122:121:120:119:118:117:116:111a:111:110:109:108:107:106:105:104:103:102:101
>> a:101:100a:99:98:97:96:95:94:93:92:91:90:89:88:87:86:85:84:83:82:81:80:79b:78:77:76:
>> 75a:73:72:71:00 \
>> -C osnet -R
>> http://localhost:20...@consolidation/osnet/osnet-incorporation@
>> 0.5.11-0.142 -E consolidation/osnet/[email protected] -J
>> developer/
>> build/onbld -J developer/opensolaris/osnet 142/redist_cluster
>> Seeding local SMF manifest database from http://localhost:9999/
>> First pass: initial import 2010-08-06 12:22:20.802682
>> Package 'SUNWcs'
>> Package 'SUNWcsd'
>> ...
>> ...
>> ...
>> Package 'library/print/open-printing'
>> Package 'SUNWpapi'
>> Package 'library/pth'
>> Package 'SUNWpth'
>> Error(import): No such package: 'SUNWpython-cherrypy': in file
>> 142/redist_cluster, l
>> ine 5
>> Traceback (most recent call last):
>> File "./importer.py", line 1895, in <module>
>> main_func()
>> File "./importer.py", line 1567, in main_func
>> SolarisParse(_mf)
>> File "./importer.py", line 1262, in SolarisParse
>> curpkg.import_pkg(package_name, line)
>> File "./importer.py", line 140, in import_pkg
>> [], exclude_files)
>> File "./importer.py", line 162, in import_files_from_pkg
>> raise RuntimeError("No such package: '%s'" % imppkg_filename)
>> RuntimeError: No such package: 'SUNWpython-cherrypy'
>> *** Error code 1
>> make: Fatal error: Command failed for target `redist_import'
>> Current working directory
>> /set/dbx/work/quenelle/osol-tbolt/gate/src/util/distro-imp
>> ort
>> *** Error code 1
>> make: Fatal error: Command failed for target `142/redist_import'
>>
>> _______________________________________________
>> pkg-discuss mailing list
>> [email protected]
>> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
>
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss