{"action":"opened","issue":{"url":"https://api.github.com/repos/openwrt/packages/issues/6915","repository_url":"https://api.github.com/repos/openwrt/packages","labels_url":"https://api.github.com/repos/openwrt/packages/issues/6915/labels{/name}","comments_url":"https://api.github.com/repos/openwrt/packages/issues/6915/comments","events_url":"https://api.github.com/repos/openwrt/packages/issues/6915/events","html_url":"https://github.com/openwrt/packages/issues/6915","id":355672995,"node_id":"MDU6SXNzdWUzNTU2NzI5OTU=","number":6915,"title":"perl modules dependencies","user":{"login":"lucize","id":6313831,"node_id":"MDQ6VXNlcjYzMTM4MzE=","avatar_url":"https://avatars2.githubusercontent.com/u/6313831?v=4","gravatar_id":"","url":"https://api.github.com/users/lucize","html_url":"https://github.com/lucize","followers_url":"https://api.github.com/users/lucize/followers","following_url":"https://api.github.com/users/lucize/following{/other_user}","gists_url":"https://api.github.com/users/lucize/gists{/gist_id}","starred_url":"https://api.github.com/users/lucize/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucize/subscriptions","organizations_url":"https://api.github.com/users/lucize/orgs","repos_url":"https://api.github.com/users/lucize/repos","events_url":"https://api.github.com/users/lucize/events{/privacy}","received_events_url":"https://api.github.com/users/lucize/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-30T16:59:10Z","updated_at":"2018-08-30T16:59:10Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"@pprindeville as I see you are doing active work on Perl, can you help me understand if I'm doing something wrong ?\r\n\r\nI would like to add some perl modules in hope I can add spamassassin or amavisd-new but some modules have dependencies on others\r\nan (non fatal build) example:\r\n\r\nNet::DNS \r\n\r\n`Warning: prerequisite Digest::HMAC 1.03 not found.`\r\n\r\nI have previously build the Digest::HMAC and added the host build options that I saw in other perl modules (perl-dbi, perl-inline..), if I manually copy the files in perl hostpkg folder then the warning disappears\r\n\r\n```\r\nHOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/Digest-HMAC-$(PKG_VERSION)\r\n\r\nHOST_BUILD_DEPENDS:=perl/host\r\n\r\ninclude $(INCLUDE_DIR)/package.mk\r\ninclude $(INCLUDE_DIR)/host-build.mk\r\ninclude ../perl/perlmod.mk\r\n[..]\r\ndefine Host/Configure\r\n        $(call perlmod/host/Configure,,)\r\n        endef\r\n\r\ndefine Host/Compile\r\n        $(call perlmod/host/Compile,,)\r\nendef\r\n\r\ndefine Host/Install\r\n        $(call perlmod/host/Install,$(1),)\r\nendef\r\n[..]\r\n$(eval $(call HostBuild))\r\n```\r\nthe HMAC*.pm is not copied into `staging_dir/hostpkg/usr/lib/perl5/5.28.0/Digest` where the Net::DNS seems to look for, neither in `staging_dir/target-[arch]_musl/usr/lib/perl5/5.28/Digest`where Net::DNS compile is **not** interested to look for\r\n\r\nis it normal for it to search in the hostpkg dir and not in the target-[arch] dir ?\r\ndo you think that perlmod.mk needs some corrections so at least the *.pm files get copied in the hostpkg dir  ? it seems that now, only perlbase modules are copied in hostpkg dir.\r\nhow could I debug why Host/[Configure/Compile/Install] does nothing ?"}}
{"actor":{"display_login":"lucize"}}