Seems I might have found another issue. pkgbuild portion is missing from 
log.

Thanks

Bruce

*INFO: Checking dependencies of modules
INFO: Finding sources
INFO: copying sources to /packages/SOURCES
INFO:    modules-3.2.6.tar.gz not found in /sgnome/tarballs/gnome2.24
INFO:    modules-3.2.6.tar.gz not found in /sgnome/tarballs/gnome2.22
INFO:    modules-3.2.6.tar.gz not found in /sgnome/tarballs/gnome2.20
INFO:    modules-3.2.6.tar.gz not found in /sgnome/tarballs/moz-evo
INFO:    modules-3.2.6.tar.gz not found in /jds/packages/SOURCES
INFO:    modules-3.2.6.tar.gz not found in 
/specs/staging/manpages/sun-manpage-tarballs
INFO:    modules-3.2.6.tar.gz not found in /specs/staging/po-sun/po-sun-tarballs
INFO:    modules-3.2.6.tar.gz found in /packages/SOURCES
INFO:    copying modules-3.2.6.tar.gz
INFO:    modules.copyright not found in /specs/staging/ext-sources
INFO:    modules.copyright found in /specs/staging/copyright
INFO:    copying modules.copyright
INFO: Running pkgbuild -ba [...] modules.spec (modules)
INFO: Log file: /log_dir/1025/modules.log
INFO: Build command: "/opt/dtbld/bin/pkgbuild --pkgformat ips --define 
'_with_l10n --with-l10n' -ba /specs/staging/specs/modules.spec"
INFO: Starting pkgbuild build engine at Mon Apr  6 23:09:40 BST 2009

INFO: Build engine output is written to /tmp/pkgbuild.out.401
INFO: and will be appended to this log when completed.
--- command output follows --- started at Mon Apr  6 23:09:40 BST 2009

sed: can't read /tmp/pkgbuild.out.401: No such file or directory
--- command output ends --- finished at Mon Apr  6 23:10:04 BST 2009

INFO: pkgbuild -ba finished at Mon Apr  6 23:10:04 BST 2009

ERROR: modules FAILED
INFO: Check the build log in /log_dir/1025/modules.log for details
*



Christian Kelly wrote:
> Bruce Rothermal wrote:
>> thanks Christian
>>
>> If I change
>> # prep section.
>> %prep
>> rm -rf %{name}-%{version}
>> %setup -q -n %{name}-%{version}
>>
>>
>> To include
>> rm -rf %{name}-%{version}.tar.gz
>>
>> Will this then force the tar ball to be re-downloaded each time?
>
> No, it will not. I've logged a bug to handle the type of situation 
> you're seeing. This actually an interesting problem. Since the Source 
> line was malformed, the system downloaded a 404 html file thinking it 
> was a tarball.
>
> http://defect.opensolaris.org/bz/show_bug.cgi?id=7978
>
> _Christian
>
>>
>> Bruce
>>
>>
>> Christian Kelly wrote:
>>> Bruce Rothermal wrote:
>>>> **Hi All
>>>>
>>>> I'm getting this error and I'm not sure if
>>>>
>>>> .
>>>> .
>>>> .
>>>> ****INFO:    modules-3.2.6.tar.gz found in /packages/SOURCES
>>>> INFO:    copying modules-3.2.6.tar.gz
>>>> **.
>>>> .
>>>> .
>>>> **pkgbuild: + rm -rf modules-3.2.6
>>>> pkgbuild: + cd /packages/BUILD
>>>> pkgbuild: + rm -rf '%{modules}-3.2.6'
>>>> pkgbuild: + /usr/bin/gzip -dc /packages/SOURCES/modules-3.2.6.tar.gz
>>>> pkgbuild: + /usr/sfw/bin/gtar xf -
>>>> pkgbuild:
>>>> pkgbuild: gzip: /packages/SOURCES/modules-3.2.6.tar.gz: not in gzip 
>>>> format
>>>> pkgbuild: + STATUS=0
>>>> pkgbuild: + '[' 0 -ne 0 ']'
>>>> pkgbuild: + cd '%{modules}-3.2.6'
>>>> pkgbuild: /var/tmp/pkgbuild-bld/pkgbuild-tmp-1.5780: line 38: cd: 
>>>> %{modules}-3.2.6: No such file or directory
>>>> pkgbuild: Bad exit status from 
>>>> /var/tmp/pkgbuild-bld/pkgbuild-tmp-1.5780 (%prep)
>>>> --- command output ends --- finished at Mon Apr  6 21:25:08 BST 2009
>>>>
>>>> The earlier part looks like the file is downloaded and found but 
>>>> later it says it can't gzip the file. I have downloaded the file 
>>>> locally and gzip works fine.
>>>>
>>>> Anybody have any idea of what could be going wrong?
>>>>
>>>> Thanks for your help
>>>>
>>>
>>> Bruce,
>>>
>>> I checked the tarball and it was a failed download. I removed it and 
>>> re-triggered a build.
>>>
>>> It's getting stuck with a new error:
>>>
>>> http://jucr.opensolaris.org/build/viewlog/1022/
>>>
>>> _Christian
>>>
>>
>


Reply via email to