Bug 210633

Summary: net/librdkafka build fails in poudriere
Product: Ports & Packages Reporter: Sergey Akhmatov <sergey>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Some People CC: xnasx
Priority: --- Flags: bugzilla: maintainer-feedback? (xnasx)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Poudriere buildlog none

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 freebsd_triage 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