[MacPorts] #25158: help2man fails to build

MacPorts noreply at macports.org
Sun Jun 6 22:05:58 PDT 2010


#25158: help2man fails to build
-------------------------------+--------------------------------------------
  Reporter:  ksnive@…          |       Owner:  macports-tickets@…                   
      Type:  defect            |      Status:  closed                               
  Priority:  Normal            |   Milestone:                                       
 Component:  ports             |     Version:  1.8.2                                
Resolution:  duplicate         |    Keywords:                                       
      Port:  help2man          |  
-------------------------------+--------------------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
  * resolution:  => duplicate
  * port:  => help2man


Old description:

> --->  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>

New description:

 {{{
 --->  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>
 }}}

--

Comment:

 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.

-- 
Ticket URL: <http://trac.macports.org/ticket/25158#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list