Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#25158 closed defect (duplicate)

help2man fails to build

Reported by: ksnive@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: help2man

Description (last modified by ryandesign (Ryan Carsten Schmidt))

--->  Building help2man
DEBUG: Executing org.macports.build (help2man)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/help2man-1.38.2" && /usr/bin/make -j2 all'
/usr/bin/gcc-4.2  -o bindtextdomain.so -fPIC -bundle -L/opt/local/lib -arch x86_64 bindtextdomain.c -lintl 
bindtextdomain.c: In function 'setup':
bindtextdomain.c:42: error: 'RTLD_NEXT' undeclared (first use in this function)
bindtextdomain.c:42: error: (Each undeclared identifier is reported only once
bindtextdomain.c:42: error: for each function it appears in.)
make: *** [bindtextdomain.so] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/help2man-1.38.2" && /usr/bin/make -j2 all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/help2man-1.38.2" && /usr/bin/make -j2 all " returned error 2
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for help2man): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: The following dependencies failed to build: glib2 autoconf help2man m4 automake libtool pkgconfig zlib lzmautils slang2 libpng pcre bzip2 readline
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (3)

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

Description: modified (diff)
Port: help2man added
Resolution: duplicate
Status: newclosed

Please remember to preview and use WikiFormatting, and to fill in the Port field.

This is a duplicate of #12336. You have a file in /usr/local that is causing this build to file. The file is /usr/local/include/dlfcn.h. Move or remove it (and ideally everything else in /usr/local), clean help2man, and try again.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Cc Me!

comment:3 in reply to:  1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

causing this build to file

Typo: causing this build to fail

Note: See TracTickets for help on using tickets.