[clc-devel] If package fails to build in(under?)pretendroot,is that considered a bug?

Predrag Ivanovic predivan at ptt.yu
Wed Nov 16 21:30:40 UTC 2005


Hi.  
As subject line says.what do you guys think about that?   
I rarely have problems building packages using Han's modified pkgutils,
and using pretendroot as safety net prevented few disasters with my own broken
ports(I know,I know 'you learn from mistakes' <g>). 
Anyway,two packages I had problems with recently(both from base),
groff and procps. 

First,groff.
----
<snip>
|| || test -d /usr/X11R6/lib/X11/app-defaults
|| || || /bin/sh /usr/pkgmk/work/groff/src/groff-1.19.2/mkinstalldirs /usr/X11R6/lib/X11/app-defaults
if test -f /usr/X11R6/lib/X11/app-defaults/GXditview; then \
  mv /usr/X11R6/lib/X11/app-defaults/GXditview /usr/X11R6/lib/X11/app-defaults/GXditview.old;
\ fi
/usr/bin/install -c -m
644 ./GXditview.ad /usr/X11R6/lib/X11/app-defaults/GXditview /usr/bin/install:
cannot create regular file `/usr/X11R6/lib/X11/app-defaults/GXditview':
Permission denied make[2]: *** [install_data] Error 1 make[2]: Leaving
directory `/usr/pkgmk/work/groff/src/groff-1.19.2/src/devices/xditview' make
[1]: *** [src/devices/xditview] Error 2 make[1]: Leaving directory
`/usr/pkgmk/work/groff/src/groff-1.19.2' make: *** [install] Error 2
=======> ERROR: Building `/usr/pkgmk/package/groff#1.19.2-1.pkg.tar.gz' failed,
keeping workdirectory for inspection. =======> Leaving pretendroot environment

-- Packages where update failed
groff
----
And procps.
----
ldconfig
make: ldconfig: Command not found
make: *** [ldconfig] Error 127
=======> ERROR: Building `/usr/pkgmk/package/procps#3.2.6-1.pkg.tar.gz' failed,
keeping workdirectory for inspection. =======> Leaving pretendroot environment

-- Packages where update failed
procps
----
Patches to make them compile cleanly(procps from errata repo,groff from
Han's repo) are attached.

Thank you for all your hard work,and if just made some noise,I am truly sorry.

Pedja
-- 
 I'm no hero. I just like to hit people in the head.





-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: groff.diff
URL: <http://lists.crux.nu/pipermail/crux-devel/attachments/20051116/2c225848/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: procps.diff
URL: <http://lists.crux.nu/pipermail/crux-devel/attachments/20051116/2c225848/attachment-0001.ksh>


More information about the crux-devel mailing list