pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

2 problems with misc/calibre



I built misc/calibre and found 2 problems; I could fix the first one.

- misc/podofo depends "optionally" on lua, but apparently the configure
  script detects it anyway, even if its buildlink3.mk is not included.
  Then the build fails. So I added
  .include "../../lang/lua/buildlink3.mk"
  to pkgsrc/print/podofo/Makefile

- After that, misc/calibre proper started building, but when making the
  package it failed like this:

####### Building extension fontconfig #######

####### Building extension msdes #######

####### Building extension cPalmdoc #######

####### Building extension podofo #######

####### Building extension pictureflow #######

*
* Running gui
*

        Compiling form 
/pkg_comp/obj/pkgsrc/misc/calibre/default/calibre/src/calibre/gui2/main.ui
Traceback (most recent call last):
  File "setup.py", line 99, in <module>
    sys.exit(main())
  File "setup.py", line 85, in main
    command.run_all(opts)
  File "/pkg_comp/obj/pkgsrc/misc/calibre/default/calibre/setup/__init__.py", 
line 158, in run_all
    self.run_cmd(self, opts)
  File "/pkg_comp/obj/pkgsrc/misc/calibre/default/calibre/setup/__init__.py", 
line 151, in run_cmd
    self.run_cmd(scmd, opts)
  File "/pkg_comp/obj/pkgsrc/misc/calibre/default/calibre/setup/__init__.py", 
line 154, in run_cmd
    cmd.run(opts)
  File "/pkg_comp/obj/pkgsrc/misc/calibre/default/calibre/setup/gui.py", line 
36, in run
    self.build_forms()
  File "/pkg_comp/obj/pkgsrc/misc/calibre/default/calibre/setup/gui.py", line 
60, in build_forms
    build_forms(self.SRC, info=self.info)
  File 
"/pkg_comp/obj/pkgsrc/misc/calibre/default/calibre/src/calibre/gui2/__init__.py",
 line 597, in build_forms
    open(compiled_form, 'wb').write(dat)
IOError: [Errno 13] Permission denied: 
'/pkg_comp/obj/pkgsrc/misc/calibre/default/calibre/src/calibre/gui2/main_ui.py'
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/calibre
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/calibre
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/calibre
isc/calibre/default/calibre/src/calibre/gui2/main_ui.py                       <
-rw-r--r--  1 root  wheel  21246 Oct 11  2009 
/pkg_comp/obj/pkgsrc/misc/calibre/default/calibre/src/calibre/gui2/main_ui.py
pkg_comp:default.conf#

Running a GUI while making a package? Whoever thought of that? Anyway, I
don't immediately see how/if that is the actual failure. The traceback
seems to suggest writing to some file which fails, but it the build runs
as root inside the chroot so that doesn't make immediate sense either.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert    -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl      -- Cetero censeo "authored" delendum esse.


Home | Main Index | Thread Index | Old Index