Bug 205323 - devel/p5-Parse-Pidl: p5-Parse-Pidl-4.3.1 is not fully compatible with net/samba4
Summary: devel/p5-Parse-Pidl: p5-Parse-Pidl-4.3.1 is not fully compatible with net/samba4
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Timur I. Bakeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-14 19:30 UTC by Dan Milgram
Modified: 2017-10-30 04:20 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Milgram 2015-12-14 19:30:01 UTC
After upgrading Samba and the p5-Parse-Pidl dependency running samba-tool commands resulted in errors like the following:

[root@dc1:/usr/home/danm] samba-tool dns help
Traceback (most recent call last):
 File "/usr/local/bin/samba-tool", line 33, in <module>
   from samba.netcmd.main import cmd_sambatool
 File "/usr/local/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 20, in <module>
   from samba import getopt as options
 File "/usr/local/lib/python2.7/site-packages/samba/getopt.py", line 30, in <module>
   from samba.hostconfig import Hostconfig
 File "/usr/local/lib/python2.7/site-packages/samba/hostconfig.py", line 20, in <module>
   from samdb import SamDB
 File "/usr/local/lib/python2.7/site-packages/samba/samdb.py", line 32, in <module>
   from samba.dcerpc import drsblobs, misc
ImportError: /usr/local/lib/python2.7/site-packages/samba/dcerpc/drsblobs.so: Undefined symbol "py_dcerpc_syntax_init_helper"
Exit 1

In order to fix with the samba port I have installed (samba4-4.0.26_2) I had to downgrade to p5-Parse-4.1.18.
Comment 1 Dron 2016-02-08 08:23:33 UTC
Also have same issue.
This affects at 4.0 and 4.1 versions of samba. 4.2 and 4.3 have no such error.
Comment 2 Dron 2016-02-08 08:58:14 UTC
I try to set 
SAMBA4_PORT = samba41
in make.conf
but p5-Parse-Pidl port fails to register with error:

pkg-static: Unable to access file /usr/ports/devel/p5-Parse-Pidl/work/stage/usr/local/lib/perl5/site_perl/Parse/Pidl/Samba3/Template.pm: No such file or directory
*** Error code 74

Stop.
make[2]: stopped in /usr/ports/devel/p5-Parse-Pidl
*** Error code 1


I read UPDATING and delete this port before try to compile 4.1, as Timur adviced.
Comment 3 Timur I. Bakeyev freebsd_committer freebsd_triage 2017-10-30 04:20:33 UTC
Separate devel/p5-Parse-Pidl turned out to be a hassle, so now bundled version is used