[desktop-discuss] SFEid3lib.spec - problem saving download

Glynn Foster Glynn.Foster at Sun.COM
Sun Sep 24 18:00:33 PDT 2006


Hey,

This is a known problem that Laca is aware of. The workaround is to put the
following in your .pkgtoolrc file -

download_to: /path/to/your/tarballs

[insert semi-confusing IRC log, but hopefully you'll get the idea...]

Sep 22 00:10:22 <laca>  there's a bug i know about where %{_topdir} is not
always expanded
Sep 22 00:11:30 <Gman>  oh, i think there was a problem where sources weren't
being used in %{_topdir}/SOURCES
Sep 22 00:11:41 <laca>  right, that's the one
Sep 22 00:12:23 <Gman>  it would try to copy from all the dirs in sourcedirs and
fail
Sep 22 00:12:29 <Gman>  but never seemingly check %topdir
Sep 22 00:12:36 *       Gman nods
Sep 22 00:12:52 <Gman>  otherwise seems to work well
Sep 22 00:14:04 <laca>  you can specify the full path to %{_topdir}/SOURCES in
.pkgtoolrc
Sep 22 00:14:16 <Gman>  shouldn't need that, should it?
Sep 22 00:14:40 <laca>  just as a workaround for the %{_topdir} thingie
Sep 22 00:14:47 <Gman>  oh, ok
Sep 22 00:14:48 <Gman>  right
Sep 22 00:14:54 <laca>  oh, i remeber now, the issue is that
Sep 22 00:15:14 <laca>  download_to expands to %{_topdir}/SOURCES by default
Sep 22 00:15:35 <laca>  so it creates a ./%{_topdir}/SOURCES dir
Sep 22 00:15:57 <laca>  unless you add this to .pkgtoolrc :
Sep 22 00:16:05 <laca>  download_to: /path/to/your/tarballs
Sep 22 00:16:22 <laca>  i hope i'll find some time to fix this today and roll a
beta2 tarball
Sep 22 00:16:23 <Gman>  i don't mind it downloading to SOURCES by default
Sep 22 00:16:41 <laca>  no, the problem is the the directory will be called
%{_topdir}
Sep 22 00:16:43 <laca>  like that
Sep 22 00:16:46 <laca>  not expanded



Glynn

Justin Conover wrote:
> This might be a problem with CBE-1.5-beta
> 
> pkgtool --download build -v SFEid3lib.spec 
> INFO: Copying %use'd or %include'd spec files to SPECS directory
> INFO: Processing spec files
> INFO: Processing spec file SFEid3lib.spec
> INFO: Checking dependencies of SFEid3lib
> INFO: Finding sources
> INFO: Downloading source http://nchc.dl.sourceforge.net/sourceforge/id3lib/id3lib-3.8.3.tar.gz
> INFO: Source id3lib-3.8.3.tar.gz saved in %{topdir}/SOURCES
> WARNING: failed to copy %{topdir}/SOURCES/id3lib-3.8.3.tar.gz to /export/home/justin/packages/SOURCES
> INFO: Running pkgbuild -ba [...] SFEid3lib.spec (SFEid3lib)
> INFO: Log file: /tmp/SFEid3lib.log
> ERROR: SFEid3lib FAILED
> INFO: Check the build log in /tmp/SFEid3lib.log for details
> 
> Summary:
> 
>                          package |      status | details
> ---------------------------------+-------------+-------------------------------
>                        SFEid3lib |      FAILED | pkgbuild build failed
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> desktop-discuss mailing list
> desktop-discuss at opensolaris.org



More information about the desktop-discuss mailing list