Bug 206006 - [NEW PORT] graphics/llpp: PDF pager
Summary: [NEW PORT] graphics/llpp: PDF pager
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: Kurt Jaeger
URL: http://repo.or.cz/llpp.git/
Keywords: feature, patch, patch-ready
Depends on:
Blocks:
 
Reported: 2016-01-07 16:07 UTC by Tobias Kortkamp
Modified: 2016-02-03 11:56 UTC (History)
1 user (show)

See Also:


Attachments
llpp.shar (9.83 KB, text/plain)
2016-01-07 16:07 UTC, Tobias Kortkamp
no flags Details
Poudriere testport log FreeBSD 10.2/amd64 (32.41 KB, text/x-log)
2016-01-07 16:09 UTC, Tobias Kortkamp
no flags Details
Poudriere testport log FreeBSD 10.2/amd64 (31.50 KB, text/x-log)
2016-01-07 16:10 UTC, Tobias Kortkamp
no flags Details
llpp.shar (9.84 KB, text/plain)
2016-01-07 19:10 UTC, Tobias Kortkamp
no flags Details
Poudriere testport log FreeBSD 10.2/amd64 (30.78 KB, text/x-log)
2016-01-07 19:12 UTC, Tobias Kortkamp
no flags Details
llpp.shar (9.84 KB, text/plain)
2016-01-12 20:38 UTC, Tobias Kortkamp
no flags Details
Poudriere testport log FreeBSD 10.2/amd64 (31.03 KB, text/x-log)
2016-01-12 20:40 UTC, Tobias Kortkamp
no flags Details
llpp.shar (9.86 KB, text/plain)
2016-02-03 08:58 UTC, Tobias Kortkamp
no flags Details
Poudriere testport log FreeBSD 9.3/amd64 (26.02 KB, text/x-log)
2016-02-03 09:00 UTC, Tobias Kortkamp
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Kortkamp freebsd_committer freebsd_triage 2016-01-07 16:07:26 UTC
Created attachment 165214 [details]
llpp.shar

llpp a graphical PDF viewer which aims to superficially resemble
less(1).

WWW: http://repo.or.cz/llpp.git/
Comment 1 Tobias Kortkamp freebsd_committer freebsd_triage 2016-01-07 16:09:26 UTC
Created attachment 165215 [details]
Poudriere testport log FreeBSD 10.2/amd64
Comment 2 Tobias Kortkamp freebsd_committer freebsd_triage 2016-01-07 16:10:43 UTC
Created attachment 165216 [details]
Poudriere testport log FreeBSD 10.2/amd64

whoops submitted wrong log
Comment 3 Tobias Kortkamp freebsd_committer freebsd_triage 2016-01-07 19:10:46 UTC
Created attachment 165227 [details]
llpp.shar

Update to use x11/xsel-conrad instead of x11/xsel
Comment 4 Tobias Kortkamp freebsd_committer freebsd_triage 2016-01-07 19:12:34 UTC
Created attachment 165228 [details]
Poudriere testport log FreeBSD 10.2/amd64
Comment 5 Tobias Kortkamp freebsd_committer freebsd_triage 2016-01-12 20:38:11 UTC
Created attachment 165456 [details]
llpp.shar

Update port to make use of bsd.ocaml.mk
Comment 6 Tobias Kortkamp freebsd_committer freebsd_triage 2016-01-12 20:40:45 UTC
Created attachment 165457 [details]
Poudriere testport log FreeBSD 10.2/amd64
Comment 7 Kurt Jaeger freebsd_committer freebsd_triage 2016-01-26 21:39:19 UTC
While building the dependencies on 11amd64, this happened in

/usr/bin/ld: BFD 2.17.50 [FreeBSD] 2007-07-03 internal error, aborting at /usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/reloc.c line 445 in unsigned int bfd_get_reloc_size(reloc_howto_type *)

cc: error: linker command failed with exit code 1 (use -v to see invocation)
File "caml_startup", line 1:
Error: Error during linking
Makefile:520: recipe for target 'ocamlc.opt' failed
Comment 8 Tobias Kortkamp freebsd_committer freebsd_triage 2016-01-26 21:50:20 UTC
That's interesting. I assume that OCaml is the dependency that failed to build? Though http://portsmon.freebsd.org/portoverview.py?category=lang&portname=ocaml&wildcard= says OCaml built find on FreeBSD 11.

Do you have a link to the build log?
Comment 9 Kurt Jaeger freebsd_committer freebsd_triage 2016-02-02 20:27:54 UTC
(In reply to Tobias Kortkamp from comment #8)

- still a problem on my loaded testbox (11amd64)
- OK if build in poudriere 11amd64.
- still a problem if build in poudriere 9.3amd64.

build log for 9.3:

http://people.freebsd.org/~pi/logs/graphics__llpp-93a-1454433416.txt
Comment 10 Tobias Kortkamp freebsd_committer freebsd_triage 2016-02-03 08:58:26 UTC
Created attachment 166489 [details]
llpp.shar

I was able to reproduce the build failure on 9.3/amd64.  I removed -Werror and added -Wno-variadic-macros from/to the compiler options.  The build now succeeds.
Comment 11 Tobias Kortkamp freebsd_committer freebsd_triage 2016-02-03 09:00:52 UTC
Created attachment 166490 [details]
Poudriere testport log FreeBSD 9.3/amd64
Comment 12 Kurt Jaeger freebsd_committer freebsd_triage 2016-02-03 11:47:43 UTC
Testbuilds are fine.
Comment 13 commit-hook freebsd_committer freebsd_triage 2016-02-03 11:53:31 UTC
A commit references this bug:

Author: pi
Date: Wed Feb  3 11:53:26 UTC 2016
New revision: 407951
URL: https://svnweb.freebsd.org/changeset/ports/407951

Log:
  New port: graphics/llpp

  llpp is a graphical PDF viewer which aims to superficially resemble
  less(1).

  WWW: http://repo.or.cz/llpp.git/

  PR:		206006
  Submitted by:	Tobias Kortkamp <t@tobik.me>

Changes:
  head/graphics/Makefile
  head/graphics/llpp/
  head/graphics/llpp/Makefile
  head/graphics/llpp/distinfo
  head/graphics/llpp/files/
  head/graphics/llpp/files/patch-build.sh
  head/graphics/llpp/files/patch-link.c
  head/graphics/llpp/files/patch-misc_completions_mkcomp.sh
  head/graphics/llpp/files/patch-misc_llppac
  head/graphics/llpp/pkg-descr
  head/graphics/llpp/pkg-message
  head/graphics/llpp/pkg-plist
Comment 14 Kurt Jaeger freebsd_committer freebsd_triage 2016-02-03 11:56:37 UTC
Committed, thanks!