Bug 211574 - [NEW PORT] devel/babeltrace: Tool and library to read, write and convert execution traces
Summary: [NEW PORT] devel/babeltrace: Tool and library to read, write and convert exec...
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: Pawel Pekala
URL:
Keywords: feature, needs-patch, needs-qa, patch
Depends on:
Blocks:
 
Reported: 2016-08-04 10:50 UTC by luca.pizzamiglio
Modified: 2016-08-10 20:01 UTC (History)
1 user (show)

See Also:


Attachments
The shar to add the port to devel (5.79 KB, text/plain)
2016-08-04 10:50 UTC, luca.pizzamiglio
luca.pizzamiglio: maintainer-approval+
Details
The new shar, fixing portlint claims (5.90 KB, text/plain)
2016-08-09 08:24 UTC, luca.pizzamiglio
luca.pizzamiglio: maintainer-approval+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description luca.pizzamiglio 2016-08-04 10:50:42 UTC
Created attachment 173275 [details]
The shar to add the port to devel

babeltrace provides libraries and tools to read/write/convert execution traces.
The main format expected to be converted to/from is the Common Trace Format (CTF).
this library could be used by gdb.

The attached shar creates the babeltrace directory. It should be executed under devel.

The new babeltrace port should be manually added to devel/Makefile.
Comment 1 Pawel Pekala freebsd_committer freebsd_triage 2016-08-05 20:39:25 UTC
===> Portlint output:
WARN: /usr/local/ports/devel/babeltrace/pkg-plist: [20]: installing shared libraries, please define USE_LDCONFIG as appropriate
WARN: /usr/local/ports/devel/babeltrace/pkg-plist: [21]: installing shared libraries, please define USE_LDCONFIG as appropriate
WARN: /usr/local/ports/devel/babeltrace/pkg-plist: [24]: installing shared libraries, please define USE_LDCONFIG as appropriate
WARN: /usr/local/ports/devel/babeltrace/pkg-plist: [25]: installing shared libraries, please define USE_LDCONFIG as appropriate
WARN: /usr/local/ports/devel/babeltrace/pkg-plist: [28]: installing shared libraries, please define USE_LDCONFIG as appropriate
WARN: /usr/local/ports/devel/babeltrace/pkg-plist: [29]: installing shared libraries, please define USE_LDCONFIG as appropriate
WARN: /usr/local/ports/devel/babeltrace/pkg-plist: [32]: installing shared libraries, please define USE_LDCONFIG as appropriate
WARN: /usr/local/ports/devel/babeltrace/pkg-plist: [33]: installing shared libraries, please define USE_LDCONFIG as appropriate
WARN: /usr/local/ports/devel/babeltrace/pkg-plist: [36]: installing shared libraries, please define USE_LDCONFIG as appropriate
WARN: /usr/local/ports/devel/babeltrace/pkg-plist: [37]: installing shared libraries, please define USE_LDCONFIG as appropriate
WARN: /usr/local/ports/devel/babeltrace/pkg-plist: [40]: installing shared libraries, please define USE_LDCONFIG as appropriate
WARN: /usr/local/ports/devel/babeltrace/pkg-plist: [41]: installing shared libraries, please define USE_LDCONFIG as appropriate
FATAL: /usr/local/ports/devel/babeltrace/pkg-plist: [43]: installing pkg-config files into lib/pkgconfig.  All pkg-config files must be installed into libdata/pkgconfig for them to be found by pkg-config.
FATAL: /usr/local/ports/devel/babeltrace/pkg-plist: [44]: installing pkg-config files into lib/pkgconfig.  All pkg-config files must be installed into libdata/pkgconfig for them to be found by pkg-config.
2 fatal errors and 12 warnings found.
Comment 2 luca.pizzamiglio 2016-08-06 12:15:08 UTC
That's quite strange. I mean, probably pkgconfig files are installed in the wrong place and I've to fix that (now I'm no holiday, but I'll fix it in a couple of days).

What strange is, is portlint -A tell me that everything is fine.

Are you running portlint inside poudriere? How can I reproduce the same error?

Thanks!
Comment 3 luca.pizzamiglio 2016-08-09 08:24:04 UTC
Created attachment 173442 [details]
The new shar, fixing portlint claims

The attached shar fixes FATAL and WARNINGS issues found by portlint.
pkgconfig files are now installed in the right path and USE_LDCONFIG is set accordingly.
Comment 4 Pawel Pekala freebsd_committer freebsd_triage 2016-08-10 19:46:13 UTC
(In reply to luca.pizzamiglio from comment #2)

I use portlint -abt, but portlint -A shows the same errors.

portlint version 2.17.4
Comment 5 commit-hook freebsd_committer freebsd_triage 2016-08-10 20:00:41 UTC
A commit references this bug:

Author: pawel
Date: Wed Aug 10 20:00:36 UTC 2016
New revision: 420037
URL: https://svnweb.freebsd.org/changeset/ports/420037

Log:
  babeltrace provides trace read and write libraries, as well as a trace
  converter. A plugin can be created for any trace format to allow its conversion
  to/from another trace format.
  The main format expected to be converted to/from is the Common Trace
  Format (CTF). The latest version of the CTF specification can be found at
  git://git.efficios.com/ctf.git
  gitweb:     http://git.efficios.com/?p=ctf.git
  The CE Workgroup of the Linux Foundation, Ericsson, and EfficiOS have
  sponsored this work.

  WWW: http://www.efficios.com/babeltrace

  PR:		211574
  Submitted by:	luca.pizzamiglio@gmail.com

Changes:
  head/devel/Makefile
  head/devel/babeltrace/
  head/devel/babeltrace/Makefile
  head/devel/babeltrace/distinfo
  head/devel/babeltrace/files/
  head/devel/babeltrace/files/patch-include_babeltrace_compat_limits.h
  head/devel/babeltrace/pkg-descr
  head/devel/babeltrace/pkg-plist