error durring package upload

Peter FELECAN pfelecan at opencsw.org
Mon Jun 6 09:47:43 CEST 2016


Dagobert Michelsen <dam at opencsw.org> writes:

> Hi Peter,
>
> Am 02.06.2016 um 11:53 schrieb Peter FELECAN <pfelecan at opencsw.org>:
>> Dagobert Michelsen <dam at opencsw.org> writes:
>> 
>>> Hi Peter,
>>> 
>>>> Am 02.06.2016 um 10:35 schrieb Peter FELECAN <pfelecan at opencsw.org>:
>>>> 
>>>> When trying to upload a coherent set of packages I got:
>>>> 
>>>> Traceback (most recent call last):
>>>> File "/home/pfelecan/opencsw/.buildsys/v2/bin/../lib/python/checkpkg2.py", line 16, in <module>
>>>>   from lib.python import checkpkg_lib
>>>> ImportError: No module named lib.python
>>>> 
>>>> I have no clue why is that. The .buildys directory is up to date.
>>> 
>>> csw-upload-pkg needs to be run from „login“ IIRC. This looks like an incorrectly/unset
>>> PYTHONPATH. What did you execute where as who?
>> 
>> Dago,
>> 
>> I executed:
>> 
>>  csw-upload-pkg staging/build-01.Jun.2016/libdvdcss*
>> 
>> as
>> 
>>    pfelecan
>> 
>> on
>> 
>>    login
>> 
>> PYTHONPATH is not set
>> 
>> csw-upload-pkg point to /opt/csw/bin/csw-upload-pkg
>
> Works for me:
>
> pfelecan at login [login]:~ > csw-upload-pkg staging/build-01.Jun.2016/libdvdcss*
> /opt/csw/bin/csw-upload-pkg is a wrapper, running
> /home/pfelecan/opencsw/.buildsys/v2/bin/csw-upload-pkg
> staging/build-01.Jun.2016/libdvdcss2-1.2.13,REV=2016.06.01-SunOS5.10-i386-CSW.pkg.gz
> staging/build-01.Jun.2016/libdvdcss2-1.2.13,REV=2016.06.01-SunOS5.10-sparc-CSW.pkg.gz
> staging/build-01.Jun.2016/libdvdcss_dev-1.2.13,REV=2016.06.01-SunOS5.10-all-CSW.pkg.gz
> staging/build-01.Jun.2016/libdvdcss_dev-1.2.13,REV=2016.06.01-SunOS5.10-i386-CSW.pkg.gz
> staging/build-01.Jun.2016/libdvdcss_dev-1.2.13,REV=2016.06.01-SunOS5.10-sparc-CSW.pkg.gz
> staging/build-01.Jun.2016/libdvdcss_doc-1.2.13,REV=2016.06.01-SunOS5.10-all-CSW.pkg.gz
> Processing 6 file(s). Please wait.

Doesn't work for me. It does not worked for you either as the packages
are not in the catalog.

I tried again on login and here is the result:

/opt/csw/bin/csw-upload-pkg is a wrapper, running
/home/pfelecan/opencsw/.buildsys/v2/bin/csw-upload-pkg
staging/build-01.Jun.2016/libdvdcss2-1.2.13,REV=2016.06.01-SunOS5.10-i386-CSW.pkg.gz
staging/build-01.Jun.2016/libdvdcss2-1.2.13,REV=2016.06.01-SunOS5.10-sparc-CSW.pkg.gz
staging/build-01.Jun.2016/libdvdcss_dev-1.2.13,REV=2016.06.01-SunOS5.10-all-CSW.pkg.gz
staging/build-01.Jun.2016/libdvdcss_dev-1.2.13,REV=2016.06.01-SunOS5.10-i386-CSW.pkg.gz
staging/build-01.Jun.2016/libdvdcss_dev-1.2.13,REV=2016.06.01-SunOS5.10-sparc-CSW.pkg.gz
staging/build-01.Jun.2016/libdvdcss_doc-1.2.13,REV=2016.06.01-SunOS5.10-all-CSW.pkg.gz

WARNING 2016-06-06 09:27:49,642 checkpkg_lib.py:658 Did not find packages for '/opt/csw/lib/sparcv9'
WARNING 2016-06-06 09:27:49,656 checkpkg_lib.py:658 Did not find packages for '/opt/csw/lib/sparcv9/libdvdcss.so.2.1.0'
WARNING 2016-06-06 09:28:15,509 checkpkg_lib.py:658 Did not find packages for '/opt/csw/lib/sparcv9'
WARNING 2016-06-06 09:28:15,524 checkpkg_lib.py:658 Did not find packages for '/opt/csw/lib/sparcv9/libdvdcss.so.2.1.0'
Processing 6 file(s). Please wait.
Checking 4 packages against catalog unstable i386 SunOS5.10
Checking 4 packages against catalog unstable sparc SunOS5.10
Checking 4 packages against catalog unstable i386 SunOS5.11
Checking 4 packages against catalog unstable sparc SunOS5.11
Checks failed for the following catalogs:
  - i386 SunOS5.10
    libdvdcss2-1.2.13,REV=2016.06.01-SunOS5.10-i386-CSW.pkg.gz
    libdvdcss_dev-1.2.13,REV=2016.06.01-SunOS5.10-all-CSW.pkg.gz
    libdvdcss_dev-1.2.13,REV=2016.06.01-SunOS5.10-i386-CSW.pkg.gz
    libdvdcss_doc-1.2.13,REV=2016.06.01-SunOS5.10-all-CSW.pkg.gz
To see the errors, run:

/home/pfelecan/opencsw/.buildsys/v2/bin/../lib/python/checkpkg2.py
--catalog-release unstable --os-release SunOS5.10 --catalog-architecture
i386 c6ac18bffad0ffb1f4decef95472fdfc e0e4c111eee07386989e027a45a47b03
c43a29023f062e8b991804913e9d4cbb 546bdfbf3f52d2f5205f8a27e717ba4a

Or check on the buildfarm:
http://buildfarm.opencsw.org/pkgdb/srv4/ef67c7378f8c2238e2195edb00e01f0f/
http://buildfarm.opencsw.org/pkgdb/srv4/e0e4c111eee07386989e027a45a47b03/
http://buildfarm.opencsw.org/pkgdb/srv4/edb1063fc5868581e7a750bb54ad0bfc/
http://buildfarm.opencsw.org/pkgdb/srv4/546bdfbf3f52d2f5205f8a27e717ba4a/


I run the command to see the errors and here's what I obtained:

pfelecan at login [login]:~ >
/home/pfelecan/opencsw/.buildsys/v2/bin/../lib/python/checkpkg2.py
--catalog-release unstable --os-release SunOS5.10 --catalog-architecture
i386 c6ac18bffad0ffb1f4decef95472fdfc e0e4c111eee07386989e027a45a47b03
c43a29023f062e8b991804913e9d4cbb 546bdfbf3f52d2f5205f8a27e717ba4a

Traceback (most recent call last):
  File "/home/pfelecan/opencsw/.buildsys/v2/bin/../lib/python/checkpkg2.py", line 16, in <module>
    from lib.python import checkpkg_lib
ImportError: No module named lib.python

Please note that I submited 2 other package sets wihout any issues and
without changing what so ever.
-- 
Peter


More information about the maintainers mailing list