Bug 210633 - net/librdkafka build fails in poudriere
Summary: net/librdkafka build fails in poudriere
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-27 17:13 UTC by Sergey Akhmatov
Modified: 2016-06-27 19:22 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (xnasx)


Attachments
Poudriere buildlog (37.32 KB, text/x-log)
2016-06-27 17:13 UTC, Sergey Akhmatov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Akhmatov 2016-06-27 17:13:25 UTC
Created attachment 171878 [details]
Poudriere buildlog

Port is unbuildable in poudriere and on clean system.

The reason is python script lds-gen.py with hardcoded shebang run during build 
#!/usr/bin/env python

/usr/local/bin/python symlink is installed by meta-port lang/python, while net/librdkafka installs default-version port as a dependency, e.g. lang/python27, which contains /usr/local/bin/python2.7

/usr/local/bin/python is not installed as dependency
lds-gen.py can't run

Generating linker script librdkafka.lds from rdkafka.h
env: python: No such file or directory
1 warning generated.
gmake[3]: *** [Makefile:51: librdkafka.lds] Error 127

Full poudriere log attached.
Comment 1 Victor Yagofarov 2016-06-27 18:15:12 UTC
Sorry, I don't have time to maintain this port. Can somebody reassign maintainer?
Comment 2 commit-hook freebsd_committer 2016-06-27 19:22:15 UTC
A commit references this bug:

Author: amdmi3
Date: Mon Jun 27 19:22:08 UTC 2016
New revision: 417676
URL: https://svnweb.freebsd.org/changeset/ports/417676

Log:
  - Fix build by using correct python path
  - Reset maintainer by his own request
  - Add LICENSE_FILE
  - Add missing USES=ssl
  - Simplify and silence stripping

  PR:             210633
  Reported by:	sergey@akhmatov.ru

Changes:
  head/net/librdkafka/Makefile