Bug 205927 - deskutils/calibre: installation failed
Summary: deskutils/calibre: installation failed
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Guido Falsi
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2016-01-05 17:33 UTC by Igor Pavlov
Modified: 2016-01-06 11:54 UTC (History)
0 users

See Also:
madpilot: maintainer-feedback+
madpilot: merge-quarterly+


Attachments
Build log (836.17 KB, application/octet-stream)
2016-01-05 19:35 UTC, Igor Pavlov
no flags Details
Proposed fix (1000 bytes, patch)
2016-01-05 21:20 UTC, Guido Falsi
no flags Details | Diff
Proposed fix (998 bytes, patch)
2016-01-05 21:31 UTC, Guido Falsi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Pavlov 2016-01-05 17:33:15 UTC
I've tried to install calibre with:

portmaster deskutils/calibre

And it's failed:

===>  Installing for calibre-2.46.0
===>  Checking if calibre already installed
===>   Registering installation for calibre-2.46.0
pkg-static: Unable to access file /usr/ports/deskutils/calibre/work/stage/usr/local/share/bash-completion/completions/calibre: No such file or directory
pkg-static: Unable to access file /usr/ports/deskutils/calibre/work/stage/usr/local/share/appdata/calibre-ebook-edit.appdata.xml: No such file or directory
pkg-static: Unable to access file /usr/ports/deskutils/calibre/work/stage/usr/local/share/appdata/calibre-ebook-viewer.appdata.xml: No such file or directory
pkg-static: Unable to access file /usr/ports/deskutils/calibre/work/stage/usr/local/share/appdata/calibre-gui.appdata.xml: No such file or directory
pkg-static: Unable to access file /usr/ports/deskutils/calibre/work/stage/usr/local/share/applications/calibre-ebook-edit.desktop: No such file or directory
pkg-static: Unable to access file /usr/ports/deskutils/calibre/work/stage/usr/local/share/applications/calibre-ebook-viewer.desktop: No such file or directory
pkg-static: Unable to access file /usr/ports/deskutils/calibre/work/stage/usr/local/share/applications/calibre-gui.desktop: No such file or directory
pkg-static: Unable to access file /usr/ports/deskutils/calibre/work/stage/usr/local/share/applications/calibre-lrfviewer.desktop: No such file or directory
pkg-static: Unable to access file /usr/ports/deskutils/calibre/work/stage/usr/local/share/mime/application/epub+zip.xml: No such file or directory
pkg-static: Unable to access file /usr/ports/deskutils/calibre/work/stage/usr/local/share/mime/application/x-kindle-application.xml: No such file or directory
pkg-static: Unable to access file /usr/ports/deskutils/calibre/work/stage/usr/local/share/mime/application/x-mobi8-ebook.xml: No such file or directory
pkg-static: Unable to access file /usr/ports/deskutils/calibre/work/stage/usr/local/share/mime/application/x-mobipocket-ebook.xml: No such file or directory
pkg-static: Unable to access file /usr/ports/deskutils/calibre/work/stage/usr/local/share/mime/application/x-mobipocket-subscription.xml: No such file or directory
pkg-static: Unable to access file /usr/ports/deskutils/calibre/work/stage/usr/local/share/mime/application/x-sony-bbeb.xml: No such file or directory
pkg-static: Unable to access file /usr/ports/deskutils/calibre/work/stage/usr/local/share/mime/application/x-topaz-ebook.xml: No such file or directory
pkg-static: Unable to access file /usr/ports/deskutils/calibre/work/stage/usr/local/share/mime/packages/calibre-mimetypes.xml: No such file or directory
pkg-static: Unable to access file /usr/ports/deskutils/calibre/work/stage/usr/local/share/mime/text/lrs.xml: No such file or directory
*** Error code 74

Stop.
make: stopped in /usr/ports/deskutils/calibre

===>>> Installation of calibre-2.46.0 (deskutils/calibre) failed
===>>> Aborting update


/usr/ports/deskutils/calibre/work/stage/usr/local/share # ls -la
drwxr-xr-x   19 root  wheel   19  5 янв 19:39 .
drwxr-xr-x   14 root  wheel   14  5 янв 19:39 ..
drwxr-xr-x    2 root  wheel    2  5 янв 19:39 aclocal
drwxr-xr-x    2 root  wheel    2  5 янв 19:39 applications
drwxr-xr-x   15 root  wheel   35 11 дек 06:41 calibre
drwxr-xr-x    2 root  wheel    2  5 янв 19:39 dict
drwxr-xr-x    3 root  wheel    3  5 янв 19:39 doc
drwxr-xr-x    3 root  wheel    3  5 янв 19:39 emacs
drwxr-xr-x    2 root  wheel    2  5 янв 19:39 examples
drwxr-xr-x    3 root  wheel    3  5 янв 19:39 icons
drwxr-xr-x    3 root  wheel    3  5 янв 19:39 java
drwxr-xr-x   90 root  wheel   90  5 янв 19:39 locale
drwxr-xr-x    3 root  wheel    3  5 янв 19:39 mime
drwxr-xr-x    2 root  wheel    2  5 янв 19:39 misc
drwxr-xr-x  152 root  wheel  152  5 янв 19:39 nls
drwxr-xr-x    2 root  wheel    2  5 янв 19:39 pixmaps
drwxr-xr-x    2 root  wheel    2  5 янв 19:39 sgml
drwxr-xr-x    2 root  wheel    2  5 янв 19:39 skel
drwxr-xr-x    2 root  wheel    2  5 янв 19:39 xml

There are no folders bash-completion and appdata.
applications and mime/packages folders are empty.
Comment 1 Guido Falsi freebsd_committer freebsd_triage 2016-01-05 17:55:34 UTC
Hi,

Can you send me the full build log? Maybe I can understand from there what's going wrong.

You can use script(1) to capture the full log file.

Thanks.
Comment 2 Igor Pavlov 2016-01-05 19:35:35 UTC
Created attachment 165114 [details]
Build log

I've attached the build log. It's quite long.
Comment 3 Guido Falsi freebsd_committer freebsd_triage 2016-01-05 21:20:18 UTC
Created attachment 165124 [details]
Proposed fix

The log was big, but contained the information I needed.

Looks like some RUN_DEPENDS really needed to be in BUILD_DEPENDS too. It's strange poudriere did not catch these.

Anyway, please test the attached patch, if it works I'll commit that.

Thanks in advance.
Comment 4 Guido Falsi freebsd_committer freebsd_triage 2016-01-05 21:31:15 UTC
Created attachment 165125 [details]
Proposed fix

Please ignore the previous patch, it contained a syntax error.

Use this one.
Comment 5 Igor Pavlov 2016-01-05 22:06:51 UTC
It seems to work. Thanks!
Comment 6 Kubilay Kocak freebsd_committer freebsd_triage 2016-01-06 05:50:09 UTC
@Guido has this patch been merged to quarterly yet, as I dont see a commit reference. If not, reset merge-quarterly to ? and set to + after commit :)
Comment 7 Guido Falsi freebsd_committer freebsd_triage 2016-01-06 10:42:07 UTC
Sorry, I'm going to commit this today. I clearly misunderstood the meaning of the flag.
Comment 8 commit-hook freebsd_committer freebsd_triage 2016-01-06 11:36:43 UTC
A commit references this bug:

Author: madpilot
Date: Wed Jan  6 11:36:38 UTC 2016
New revision: 405343
URL: https://svnweb.freebsd.org/changeset/ports/405343

Log:
  Add missing BUILD_DEPENDS.

  PR:		205927
  Submitted by:	Igor Pavlov <rabesc at bk.ru>
  MFH:		2016Q1

Changes:
  head/deskutils/calibre/Makefile
Comment 9 commit-hook freebsd_committer freebsd_triage 2016-01-06 11:53:48 UTC
A commit references this bug:

Author: madpilot
Date: Wed Jan  6 11:53:24 UTC 2016
New revision: 405345
URL: https://svnweb.freebsd.org/changeset/ports/405345

Log:
  MFH: r405343

  Add missing BUILD_DEPENDS.

  PR:		205927
  Submitted by:	Igor Pavlov <rabesc at bk.ru>

  Approved by:	portmgr (erwin)

Changes:
_U  branches/2016Q1/
  branches/2016Q1/deskutils/calibre/Makefile
Comment 10 Guido Falsi freebsd_committer freebsd_triage 2016-01-06 11:54:26 UTC
Commited and merged to quarterly! Thanks.