#12336 closed defect (invalid)
BUG: Staging into destroot fails for help2man — at Version 6
Reported by: | joefidler@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | help2man |
Description (last modified by mf2k (Frank Schima))
Help2man is used by KDE , gimp and several others. Thanks for your help, Joe.
snowie:~ joe$ sudo port install help2man Password: ---> Staging help2man into destroot Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/help2man-1.36.4" && make install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot " returned error 2 Command output: ./mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/bin ./mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/lib ./mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/share/man/man1 ./mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/share/info /usr/bin/install -c help2man /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/bin /usr/bin/install -c -m 644 ./help2man.1 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/share/man/man1 /usr/bin/install -c -m 644 ./help2man.info \ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/share/info/help2man.info if test -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/share/info/dir; \ then \ /usr/bin/install-info --info-dir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/share/info \ ./help2man.info; \ fi /usr/bin/gcc-4.0 -o hacklocaledir.so -fPIC -bundle hacklocaledir.c hacklocaledir.c: In function '__open': hacklocaledir.c:44: error: 'RTLD_NEXT' undeclared (first use in this function) hacklocaledir.c:44: error: (Each undeclared identifier is reported only once hacklocaledir.c:44: error: for each function it appears in.) hacklocaledir.c: At top level: hacklocaledir.c:113: warning: alias definitions not supported in Mach-O; ignored make: *** [hacklocaledir.so] Error 1 Error: Status 1 encountered during processing. snowie:~ joe$
Change History (6)
comment:1 Changed 17 years ago by joefidler@…
comment:2 Changed 17 years ago by joefidler@…
Just worked around the issue. Took the (very) long way and upgraded to GCC 4.2. After changing the help2man makefile option CC to use GCC-MP-4.2 -it worked and I was able to activate the help2man port and get opter applications installed. I was previously using the Apple GCC 4.01.
Hope this helps, Joe.
comment:3 Changed 17 years ago by nox@…
Priority: | Blocker → High |
---|---|
Summary: | Staging into destroot fails for help2man → BUG: Staging into destroot fails for help2man |
Version: | 1.5.0 |
comment:4 follow-up: 5 Changed 17 years ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I'm unable to reproduce this on either ppc Tiger or x86 Leopard. Marking worksforme, but feel free to reopen if you're still having this problem.
comment:5 Changed 16 years ago by gknauth (Geoffrey Knauth)
I'm getting the original error reported:
hacklocaledir.c:44: error: 'RTLD_NEXT' undeclared (first use in this function)
comment:6 Changed 16 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | help2man removed |
Port: | help2man added |
Priority: | High → Normal |
Note: See
TracTickets for help on using
tickets.
Downloaded from http://ftp.gnu.org/gnu/help2man/. Make for standalone package, gives same error and I suspect there is a problem with help2man. Can help2man be dropped? See Changeset 26905.
snowie:~/dev/help2man-1.36.4 joe$ make perl help2man.PL Extracting help2man (with variable substitutions) gcc -o hacklocaledir.so -fPIC -shared hacklocaledir.c powerpc-apple-darwin8-gcc-4.0.1: unrecognized option '-shared' hacklocaledir.c: In function 'open': hacklocaledir.c:44: error: 'RTLD_NEXT' undeclared (first use in this function) hacklocaledir.c:44: error: (Each undeclared identifier is reported only once hacklocaledir.c:44: error: for each function it appears in.) hacklocaledir.c: At top level: hacklocaledir.c:113: warning: alias definitions not supported in Mach-O; ignored make: * [hacklocaledir.so] Error 1 snowie:~/dev/help2man-1.36.4 joe$