making the first gnustep packages available

Riccardo Mottola rmottola at opencsw.org
Thu Sep 11 22:30:44 CEST 2014


Hi Maciej,


sorry that I mised your original mail, it went to the trash unnoticed :( 
Thanks for the patience of pointing to it again.

I thought that the build system was more like
1) make receipe
2) mark it as complete part of a certain "collection" (eg. certain OS 
and architectures)
3) an automated system will build the packages and make them available

insted you are saying that to build a package, i need to generate it 
myself on each host/arch i want to support and then "upload" it?

Maciej (Matchek) Bliziński wrote:
> Log in to the buildfarm, and in each build recipe run "mgar
> platforms", or "mgar replatforms" if you have files from previous runs
> lying around. Then you upload them from the login host, using the
> csw-upload-pkg utility.
1) I login to unstable10s
2) cd to my first package, ~/opencsw/gnustep-make/trunk
3) run

most steps seem positive, including package build, but I get:
## Validating control scripts.
## Packaging complete.
mkp: exec( pkgtrans -s /home/rmottola/spool.5.10-sparc 
/tmp/gnustep_make-2.6.6,REV=2014.09.11-SunOS5.10-sparc-CSW.pkg 
CSWgnustep-make )
Transferring <CSWgnustep-make> package instance
mkp: exec( gzip -9 -f 
/tmp/gnustep_make-2.6.6,REV=2014.09.11-SunOS5.10-sparc-CSW.pkg )
mkp: exec( mv 
/tmp/gnustep_make-2.6.6,REV=2014.09.11-SunOS5.10-sparc-CSW.pkg.gz 
/home/rmottola/pkgs )
mkp: exec( rm -rf /home/rmottola/spool.5.10-sparc/CSWgnustep-make )
INFO 2014-09-11 09:39:08,781 package_stats.py:132 Juicing the svr4 
package stream files...
CRITICAL 2014-09-11 09:40:03,401 shell.py:55 |
CRITICAL 2014-09-11 09:40:03,402 shell.py:56 INFO 2014-09-11 
09:39:13,232 retry_decorator.py:35 Retry, exception: URL HEAD 
'http://buildfarm.opencsw.org/releases/blob/pkgstats/5c8964ae284f425cc04df17b1dd33373/' 
HTTP code: 401
INFO 2014-09-11 09:39:23,243 retry_decorator.py:35 Retry, exception: URL 
HEAD 
'http://buildfarm.opencsw.org/releases/blob/pkgstats/5c8964ae284f425cc04df17b1dd33373/' 
HTTP code: 401
INFO 2014-09-11 09:39:33,254 retry_decorator.py:35 Retry, exception: URL 
HEAD 
'http://buildfarm.opencsw.org/releases/blob/pkgstats/5c8964ae284f425cc04df17b1dd33373/' 
HTTP code: 401
INFO 2014-09-11 09:39:43,264 retry_decorator.py:35 Retry, exception: URL 
HEAD 
'http://buildfarm.opencsw.org/releases/blob/pkgstats/5c8964ae284f425cc04df17b1dd33373/' 
HTTP code: 401
INFO 2014-09-11 09:39:53,275 retry_decorator.py:35 Retry, exception: URL 
HEAD 
'http://buildfarm.opencsw.org/releases/blob/pkgstats/5c8964ae284f425cc04df17b1dd33373/' 
HTTP code: 401
Traceback (most recent call last):
   File 
"/home/rmottola/opencsw/.buildsys/v2/gar/lib/python/collect_pkg_metadata.py", 
line 623, in <module>
     unpacked = unpacker.CollectStats(force_unpack=options.force_unpack)
   File 
"/home/rmottola/opencsw/.buildsys/v2/gar/lib/python/collect_pkg_metadata.py", 
line 594, in CollectStats
     self.md5_sum):
   File 
"/home/rmottola/opencsw/.buildsys/v2/gar/lib/python/retry_decorator.py", 
line 39, in fn
     raise last_exception
lib.python.rest.RestCommunicationError: URL HEAD 
'http://buildfarm.opencsw.org/releases/blob/pkgstats/5c8964ae284f425cc04df17b1dd33373/' 
HTTP code: 401

Traceback (most recent call last):
   File 
"/home/rmottola/opencsw/.buildsys/v2/gar//bin/../lib/python/checkpkg2.py", 
line 268, in <module>
     main()
   File 
"/home/rmottola/opencsw/.buildsys/v2/gar//bin/../lib/python/checkpkg2.py", 
line 174, in main
     md5_sums_from_files = 
collector.CollectStatsFromCatalogEntries(entries, False)
   File 
"/home/rmottola/opencsw/.buildsys/v2/gar/lib/python/package_stats.py", 
line 158, in CollectStatsFromCatalogEntries
     stderr=stderr_file)
   File "/home/rmottola/opencsw/.buildsys/v2/gar/lib/python/shell.py", 
line 60, in ShellCommand
     % (args, retcode, ' '.join(pipes.quote(x) for x in args)))
lib.python.shell.ShellError: Running 
['/home/rmottola/opencsw/.buildsys/v2/gar/lib/python/collect_pkg_metadata.py', 
'--input', 
'/home/rmottola/pkgs/gnustep_make-2.6.6,REV=2014.09.11-SunOS5.10-sparc-CSW.pkg.gz'] 
has failed, error code: 1. To find out why the command failed, please 
run it in the foreground, like this: 
/home/rmottola/opencsw/.buildsys/v2/gar/lib/python/collect_pkg_metadata.py 
--input 
/home/rmottola/pkgs/gnustep_make-2.6.6,REV=2014.09.11-SunOS5.10-sparc-CSW.pkg.gz
/home/rmottola/opencsw/.buildsys/v2/gar//gar.pkg.mk:1023: recipe for 
target 'pkgcheck' failed
gmake[1]: *** [pkgcheck] Error 2
gmake[1]: Leaving directory '/home/rmottola/opencsw/gnustep-make/trunk'
/home/rmottola/opencsw/.buildsys/v2/gar//gar.pkg.mk:1068: recipe for 
target 'platforms' failed
gmake: *** [platforms] Error 2

I followed the instruction and did run:
  /home/rmottola/opencsw/.buildsys/v2/gar/lib/python/collect_pkg_metadata.py --input /home/rmottola/pkgs/gnustep_make-2.6.6,REV=2014.09.11-SunOS5.10-sparc-CSW.pkg.gz

I get:
Traceback (most recent call last):
   File 
"/home/rmottola/opencsw/.buildsys/v2/gar/lib/python/collect_pkg_metadata.py", 
line 16, in <module>
     from lib.python import common_constants
ImportError: No module named lib.python


Riccardo


More information about the maintainers mailing list