Bug 220204 - net-mgmt/netxms: fails to package
Summary: net-mgmt/netxms: fails to package
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-22 09:19 UTC by Peter Zuidema
Modified: 2018-01-10 18:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Zuidema 2017-06-22 09:19:04 UTC
I'm building netxms with PostgreSQL support but get the following error, looks like the sqlite library's are hardcoded somewhere.

-------------
===>  Installing for netxms-2.0.7
===>   netxms-2.0.7 depends on file: /usr/local/lib/libcrypto.so.9 - found
===>   netxms-2.0.7 depends on package: perl5>=5.26<5.27 - found
===>   netxms-2.0.7 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so)
===>   netxms-2.0.7 depends on shared library: libexpat.so - found (/usr/local/lib/libexpat.so)
===>   netxms-2.0.7 depends on shared library: libjansson.so - found (/usr/local/lib/libjansson.so)
===>   netxms-2.0.7 depends on shared library: libtre.so - found (/usr/local/lib/libtre.so)
===>   netxms-2.0.7 depends on shared library: libpq.so.5 - found (/usr/local/lib/libpq.so.5)
===>  Checking if netxms already installed
===>   Registering installation for netxms-2.0.7
pkg-static: Unable to access file /usr/ports/net-mgmt/netxms/work/stage/usr/local/lib/libnxsqlite.so:No such file or di                                                                   rectory
pkg-static: Unable to access file /usr/ports/net-mgmt/netxms/work/stage/usr/local/lib/libnxsqlite.so.2:No such file or                                                                    directory
pkg-static: Unable to access file /usr/ports/net-mgmt/netxms/work/stage/usr/local/lib/libnxsqlite.so.2.0.0:No such file                                                                    or directory
*** Error code 74

Stop.
make[1]: stopped in /usr/ports/net-mgmt/netxms
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/netxms
----------

silly work around from my end :

touch /usr/ports/net-mgmt/netxms/work/stage/usr/local/lib/libnxsqlite.so
touch /usr/ports/net-mgmt/netxms/work/stage/usr/local/lib/libnxsqlite.so.2
touch /usr/ports/net-mgmt/netxms/work/stage/usr/local/lib/libnxsqlite.so.2.0.0
make install
rm /usr/local/lib/libnxsqlite.so*
Comment 1 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2017-07-14 08:49:33 UTC
Can you please tell me which FreeBSD version ?
Comment 2 Peter Zuidema 2017-07-14 14:05:33 UTC
My version is FreeBSD 11.0-RELEASE-p1 #0 r306420
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-01-10 18:04:22 UTC
A commit references this bug:

Author: bofh
Date: Wed Jan 10 18:03:26 UTC 2018
New revision: 458668
URL: https://svnweb.freebsd.org/changeset/ports/458668

Log:
  net-mgmt/netxms: Update version 2.0.7=>2.2.2

  - Update MASTERSITES
  - Remove options SQLITE as it is default now [1]
  - Add option SSH

  PR:		220204 [1]
  Submitted by:	peter@icebear.net [1]

Changes:
  head/net-mgmt/netxms/Makefile
  head/net-mgmt/netxms/distinfo
  head/net-mgmt/netxms/pkg-plist