error durring package upload
Dagobert Michelsen
dam at opencsw.org
Mon Jun 6 10:03:53 CEST 2016
Hi Peter,
> Am 06.06.2016 um 09:47 schrieb Peter FELECAN <pfelecan at opencsw.org>:
>
> 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.
There you go:
zsh: 22172 exit 1 PYTHONPATH=`pwd` ./lib/python/checkpkg2.py --catalog-release unstable i386
dam at login [login]:/home/dam/mgar/gar/v2 > PYTHONPATH=`pwd` ./lib/python/checkpkg2.py --catalog-release unstable --os-release SunOS5.10 --catalog-architecture i386 c6ac18bffad0ffb1f4decef95472fdfc e0e4c111eee07386989e027a45a47b03 c43a29023f062e8b991804913e9d4cbb 546bdfbf3f52d2f5205f8a27e717ba4a
INFO 2016-06-06 09:56:14,089 checkpkg_lib.py:263 Unwrapping candies...
100% |#####################################################################################################################################################################################################|
INFO 2016-06-06 09:56:14,176 checkpkg_lib.py:878 Tasting candies one by one...
100% |#####################################################################################################################################################################################################|
INFO 2016-06-06 09:56:16,657 checkpkg_lib.py:914 Tasting them all at once...
WARNING 2016-06-06 09:56:25,173 checkpkg_lib.py:658 Did not find packages for '/opt/csw/lib/sparcv9'
WARNING 2016-06-06 09:56:25,188 checkpkg_lib.py:658 Did not find packages for '/opt/csw/lib/sparcv9/libdvdcss.so.2.1.0'
INFO 2016-06-06 09:56:25,523 checkpkg_lib.py:305 Stuffing the candies under the pillow...
100% |#####################################################################################################################################################################################################|
CSWlibdvdcss-dev:
# path /opt/csw/lib/sparcv9/libdvdcss.so looks arch-specific
# -> CheckpkgTag('CSWlibdvdcss-dev', 'archall-with-arch-paths', '/opt/csw/lib/sparcv9/libdvdcss.so')
# path /opt/csw/lib/sparcv9/pkgconfig looks arch-specific
# -> CheckpkgTag('CSWlibdvdcss-dev', 'archall-with-arch-paths', '/opt/csw/lib/sparcv9/pkgconfig')
# path /opt/csw/lib/sparcv9/pkgconfig/libdvdcss.pc looks arch-specific
# -> CheckpkgTag('CSWlibdvdcss-dev', 'archall-with-arch-paths', '/opt/csw/lib/sparcv9/pkgconfig/libdvdcss.pc')
If any of the reported errors were false positives, you can override them
pasting the lines below to the GAR recipe.
CHECKPKG_OVERRIDES_CSWlibdvdcss-dev += file-needed-but-no-package-satisfies-it|/opt/csw/lib/sparcv9/libdvdcss.so.2.1.0|CSWlibdvdcss-dev|contains|symlink|/opt/csw/lib/sparcv9/libdvdcss.so|which|needs|the|target|file:|/opt/csw/lib/sparcv9/libdvdcss.so.2.1.0
CHECKPKG_OVERRIDES_CSWlibdvdcss-dev += file-needed-but-no-package-satisfies-it|/opt/csw/lib/sparcv9|CSWlibdvdcss-dev|contains|'/opt/csw/lib/sparcv9/libdvdcss.so'|which|needs|a|base|directory:|'/opt/csw/lib/sparcv9'.
CHECKPKG_OVERRIDES_CSWlibdvdcss-dev += archall-devel-package
CHECKPKG_OVERRIDES_CSWlibdvdcss-dev += archall-with-arch-paths|/opt/csw/lib/sparcv9/pkgconfig/libdvdcss.pc
CHECKPKG_OVERRIDES_CSWlibdvdcss-dev += archall-with-arch-paths|/opt/csw/lib/sparcv9/libdvdcss.so
CHECKPKG_OVERRIDES_CSWlibdvdcss-dev += archall-with-arch-paths|/opt/csw/lib/sparcv9/pkgconfig
Do not copy/paste these overrides without thinking!
If you're not sure, scroll up and read the details. If you're still not sure, go
to the wiki and read about the error tags you see, or ask on the maintainers@
mailing list.
http://wiki.opencsw.org/checkpkg-error-tags
In short:
1. Do not make -dev ARCHALL
2. Make -dev depend on the library package
Best regards
— Dago
--
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20160606/33887097/attachment.asc>
More information about the maintainers
mailing list