Opened 2 weeks ago

Last modified 11 days ago

#66297 new defect

id3v2 @0.1.12: /bin/sh: nroff: command not found

Reported by: sptrakesh Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: ventura Cc:
Port: id3v2

Description

I was trying to install abcde, which depends on id3v2. Installation fails due to missing nroff. I tried to install heirloom-doctools, but that also fails.

:info:destroot make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_id3v2/id3v2/work/id3v2-0.1.12'
:info:destroot install -c -s id3v2 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_id3v2/id3v2/work/destroot/opt/local/bin/id3v2
:info:destroot nroff -man id3v2.1 > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_id3v2/id3v2/work/destroot/opt/local/share/man/man1/id3v2.1
:info:destroot /bin/sh: nroff: command not found
:info:destroot make: *** [install] Error 127
:info:destroot make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_id3v2/id3v2/work/id3v2-0.1.12'
:info:destroot Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_id3v2/id3v2/work/id3v2-0.1.12" && /usr/bin/make -w install PREFIX=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_id3v2/id3v2/work/destroot/opt/local DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_id3v2/id3v2/work/destroot 
:info:destroot Exit code: 2
:error:destroot Failed to destroot id3v2: command execution failed
:debug:destroot Error code: CHILDSTATUS 95087 2
:debug:destroot Backtrace: command execution failed
:debug:destroot     while executing
:debug:destroot "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:destroot     invoked from within
:debug:destroot "command_exec -callback portprogress::target_progress_callback destroot"
:debug:destroot     (procedure "portdestroot::destroot_main" line 2)
:debug:destroot     invoked from within
:debug:destroot "$procedure $targetname"
:error:destroot See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_id3v2/id3v2/main.log for details.
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_heirloom-doctools/heirloom-doctools/work/n-t-roff-heirloom-doctools-d525a42/stuff/bst'
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_heirloom-doctools/heirloom-doctools/work/n-t-roff-heirloom-doctools-d525a42/eqn/eqn.d'
:info:build /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -D_GNU_SOURCE   -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64  diacrit.o e.o eqnbox.o font.o fromto.o funny.o glob.o integral.o io.o lex.o lookup.o mark.o matrix.o move.o over.o paren.o pile.o shift.o size.o sqrt.o text.o version.o  -o eqn
:info:build Undefined symbols for architecture x86_64:
:info:build   "_yyval", referenced from:
:info:build       _eqnbox in eqnbox.o
:info:build       _setfont in font.o
:info:build       _font in font.o
:info:build       _fatbox in font.o
:info:build       _globfont in font.o
:info:build       _fromto in fromto.o
:info:build       _funny in funny.o
:info:build       ...
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[1]: *** [eqn] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_heirloom-doctools/heirloom-doctools/work/n-t-roff-heirloom-doctools-d525a42/eqn/eqn.d'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_heirloom-doctools/heirloom-doctools/work/n-t-roff-heirloom-doctools-d525a42'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_heirloom-doctools/heirloom-doctools/work/heirloom-doctools-191015" && /usr/bin/make -j1 -w ROOT=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_heirloom-doctools/heirloom-doctools/work/destroot PREFIX=/opt/local BINDIR=/opt/local/bin MANDIR=/opt/local/share/man LIBDIR=/opt/local/libexec/heirloom-doctools PUBDIR=/opt/local/share/heirloom-doctools/pub MACDIR=/opt/local/share/heirloom-doctools/tmac FNTDIR=/opt/local/share/heirloom-doctools/font TABDIR=/opt/local/share/heirloom-doctools/nterm HYPDIR=/opt/local/share/heirloom-doctools/hyphen REFDIR=/opt/local/share/heirloom-doctools/reftools 
:info:build Exit code: 2
:error:build Failed to build heirloom-doctools: command execution failed
:debug:build Error code: CHILDSTATUS 95620 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_heirloom-doctools/heirloom-doctools/main.log

Change History (3)

comment:1 Changed 2 weeks ago by ryandesign (Ryan Schmidt)

Keywords: ventura added
Summary: Unable to install id3v2 on Venturaid3v2 @0.1.12: /bin/sh: nroff: command not found

One problem per ticket, please.

comment:2 Changed 12 days ago by pidloop

Just a note to say I also would like to get nroff working. I am seeing the same error. Thanks.

comment:3 Changed 11 days ago by markmentovai (Mark Mentovai)

macOS 13 no longer bundles groff. nroff had been a script that emulates nroff by calling groff.

This can be fixed in the same manner as openldap at bcd011c764a4: add a build-time dependency on the groff port, conditionally on macOS ≥ 13.

Note: See TracTickets for help on using tickets.