Hi Jan,

 > File "/usr/share/distro_const/bootroot_archive.py", line 241, in ?
 > raise Exception, (sys.argv[0] + ": Requires 6 args:\n" +
 > Exception: /usr/share/distro_const/bootroot_archive.py: Requires 6 args:

This required #args has been recently raised from 5 to 6
to address 6440, and the bugfix looks also modified
manifest files e.g. all_lang_slim_cd_x86.xml.

If your manifest is based on older all_lang_slim_cd_x86.xml,
how about to update it and check if it works?

(BTW, the three packages you added to <packages> section
  are already part of babel_install cluster.)

Thanks,
Takeshi

On 2009?04?20? 06:16, Jan Hlodan wrote:
> Hello,
> I'm building the testing image and I used additional repository for my 
> testing packages on http://chevy86.japan:10006.
> It looks OK until DC starts to verify additional packages.
> 
> jhvaio% pfexec distro_const build -p 1 example3.xml
> /usr/share/distro_const/DC-manifest.defval.xml validates
> /tmp/example3_temp_10250.xml validates
> Simple Log: 
> /tank/projects/dc/builds/b3_g11n_lepra_3/logs/simple-log-2009-04-19-19-12-02 
> 
> Detail Log: 
> /tank/projects/dc/builds/b3_g11n_lepra_3/logs/detail-log-2009-04-19-19-12-02 
> 
> Build started Sun Apr 19 19:12:02 2009
> Distribution name: OpenSolaris_b3_g11n_lepra
> Build Area dataset: tank/projects/dc/builds/b3_g11n_lepra_3wfhwww
> Build Area mount point: /tank/projects/dc/builds/b3_g11n_lepra_3
> ==== im-pop: Populate the image with packages
> Initializing the IPS package image area: 
> /tank/projects/dc/builds/b3_g11n_lepra_3/build_data/pkg_image
> Setting preferred authority: blablavbla.org
> Origin repository: http://chevy86.japan:10006
> Setting alternate authority: opensolaris.org
> Origin repository: http://lepra.czech:10000
> Verifying the contents of the IPS repository
> Installing the designated packages
> Uninstalling the designated packages
> Setting post-install preferred authority: opensolaris.org
> Origin repository: http://pkg.opensolaris.org/release
> Stopping at im-mod: Image area modifications
> Build completed Sun Apr 19 21:36:27 2009
> Build is successful.
> jhvaio%
> 
> jhvaio% pfexec distro_const build -r 1 example3.xml
> /usr/share/distro_const/DC-manifest.defval.xml validates
> /tmp/example3_temp_13751.xml validates
> Simple Log: 
> /tank/projects/dc/builds/b3_g11n_lepra_3/logs/simple-log-2009-04-19-22-46-04 
> 
> Detail Log: 
> /tank/projects/dc/builds/b3_g11n_lepra_3/logs/detail-log-2009-04-19-22-46-04 
> 
> Build started Sun Apr 19 22:46:04 2009
> Distribution name: OpenSolaris_b3_g11n_lepra
> Build Area dataset: tank/projects/dc/builds/b3_g11n_lepra_3
> Build Area mount point: /tank/projects/dc/builds/b3_g11n_lepra_3
> ==== im-mod: Image area modifications
> ==== slim-im-mod: Slim CD Image area Modifications
> 0 blocks
> WARNING: failed to parse type name `str'
> WARNING: invalid or missing type for schema 
> (/schemas/apps/packagemanager/preferences/remote_search_error)
> WARNING: Failed to parse default value `??????????? ?????? 
> ;gtk-theme-selector.desktop,???????????? ??????????? 
> ???;default-applications.desktop,??????????? 
> ????;gnome-cups-manager.desktop]' for schema 
> (/schemas/apps/control-center/cc_actions_list)
> gtk-update-icon-cache: Cache file created successfully.
> gtk-update-icon-cache: Cache file created successfully.
> gtk-update-icon-cache: Cache file created successfully.
> gtk-update-icon-cache: Cache file created successfully.
> gtk-update-icon-cache: Cache file created successfully.
> gtk-update-icon-cache: Cache file created successfully.
> gtk-update-icon-cache: Cache file created successfully.
> gtk-update-icon-cache: Cache file created successfully.
> gtk-update-icon-cache: Cache file created successfully.
> gtk-update-icon-cache: Cache file created successfully.
> gtk-update-icon-cache: Cache file created successfully.
> gtk-update-icon-cache: Cache file created successfully.
> ==== br-init: Boot root initialization
> 219104 blocks
> 2800 blocks
> 31040 blocks
> 0 blocks
> 81120 blocks
> 3696 blocks
> 0 blocks
> 0 blocks
> 576 blocks
> 32 blocks
> 160 blocks
> 2704 blocks
> 272 blocks
> 0 blocks
> 9600 blocks
> 0 blocks
> 0 blocks
> ==== slim-br-config: Slim CD boot root configuration
> ==== br-config: Boot root configuration
> Traceback (most recent call last):
> File "/usr/share/distro_const/bootroot_archive.py", line 241, in ?
> raise Exception, (sys.argv[0] + ": Requires 6 args:\n" +
> Exception: /usr/share/distro_const/bootroot_archive.py: Requires 6 args:
> Reader socket, pkg_image area, tmp dir,
> bootroot build area, media area, machine type
> Child returned err 1
> Build completed Sun Apr 19 22:51:46 2009
> Build failed.
> jhvaio%
> 
> I guess DC uses this script:
> 
> #!/bin/ksh
> #
> #
> # Args:
> #
> # These Arguments are passed in by default from the DC.
> #
> # MFEST_SOCKET: Socket needed to get manifest data via ManifestRead 
> object \
> # (not used in this example)
> # PKG_IMG_PATH: Package image area
> # TMP_DIR: Temporary directory
> # BR_BUILD: Area where bootroot is put together (not used in this example)
> # MEDIA_DIR: Area where the media is put (not used)
> # PKG_NAMES: Package to replace with one from the test repo.
> #
> # 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
> 
> if [ "$#" != "6" ] ; then
> print -u2 "Usage: $0: Requires 6 args:"
> print -u2 " Reader socket, pkg_image area, tmp dir,"
> print -u2 " bootroot build area, media area, pkg_name"
> exit 1
> fi
> PKG_IMG_PATH=$2
> if [ ! -d $PKG_IMG_PATH ] ; then
> print -u2 "$0: Image package area $PKG_IMG_PATH is not valid"
> exit 1
> fi
> 
> I am not sure why build failed. Are packages on 
> http://chevy86.japan:10006 published wrong?
> Attaching my manifest.
> Note: lepra.czech:10000 is clone of ipkg.sfbay/dev
> 
> Thank you for your answers.
> 
> Regards,
> 
> Jan Hlodan
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss


Reply via email to