Opened 9 years ago

Last modified 8 years ago

#50324 new defect

ldns build fails - missing man pages?

Reported by: Polyergic (Shad Sterling) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: ldns

Description

After upgrading to El Capitan, while restoring previous ports, ldns does not build. As near as I can tell, the relevant log messages are these:

:info:destroot ./install-sh: doc/man/man3/* does not exist.
:info:destroot gnumake: *** [install-manpages] Error 1

In case it's related, this is after applying the workaround for #50040.

Attachments (3)

main.log (7.7 KB) - added by Polyergic (Shad Sterling) 9 years ago.
main.2.log (44.9 KB) - added by Polyergic (Shad Sterling) 9 years ago.
After cleaning
main_3.log (43.9 KB) - added by skoro.ru@… 9 years ago.
from OS X 10.5.8

Download all attachments as: .zip

Change History (8)

Changed 9 years ago by Polyergic (Shad Sterling)

Attachment: main.log added

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: marius.rieder@… removed
Owner: changed from macports-tickets@… to marius.rieder@…

This was not a clean build attempt. Please clean ldns, then try again.

comment:2 Changed 9 years ago by Polyergic (Shad Sterling)

Makes no difference.

Changed 9 years ago by Polyergic (Shad Sterling)

Attachment: main.2.log added

After cleaning

comment:3 Changed 9 years ago by danielluke (Daniel J. Luke)

%more doc/ldns_manpages 
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at ./doc/doxyparse.pl line 276.

My path has perl 5.22.1 in it (from perlbrew), so that's what is running the doc/doxyparse.pl script.

Changing the script to use the system provided /usr/bin/perl (5.18.2 on 10.11.3) fixes the build. Modifying doc/doxyparse.pl to remove the defined() in line 276 also fixes the issue (and is backwards compatible with the system's perl 5.18).

I would recommend we patch doxyparse.pl to remove the defined() on line 276 and submit the patch back upstream as well.

Changed 9 years ago by skoro.ru@…

Attachment: main_3.log added

from OS X 10.5.8

comment:4 Changed 9 years ago by skoro.ru@…

OS X 10.5.8 PPC / ldns @1.6.16

I also see the same issue as OP, at "---> Staging ldns into destroot", after a normal sudo port selfupdate, sudo port upgrade outdated process. Port cleaned and process repeated with the same results.

:info:destroot ./install-sh: doc/man/man3/* does not exist.
:info:destroot gnumake: *** [install-manpages] Error 1
:error:destroot org.macports.destroot for port ldns returned: command execution failed

comment:5 Changed 8 years ago by mf2k (Frank Schima)

Owner: changed from marius.rieder@… to macports-tickets@…

See #51973.

Note: See TracTickets for help on using tickets.