Opened 2 years ago

Closed 23 months ago

#66492 closed defect (fixed)

mpir requires texinfo but is not a requirement....

Reported by: sck-nogas (Scott C. Kennedy) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: ventura Cc:
Port: mpir

Description

While building gnuradio, I got a failure in mpir... Digging in deeper, I discovered that it was failing due to a missing makeinfo.

--->  Fetching archive for mpir
--->  Attempting to fetch mpir-3.0.0_2.darwin_22.x86_64.tbz2 from https://packages.macports.org/mpir
--->  Attempting to fetch mpir-3.0.0_2.darwin_22.x86_64.tbz2 from http://mirror.fcix.net/macports/packages/mpir
--->  Attempting to fetch mpir-3.0.0_2.darwin_22.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/mpir
--->  Building mpir
Error: Failed to build mpir: command execution failed    
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mpir/mpir/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port gr-osmosdr failed


:info:build /bin/sh ../libtool  --tag=CXX   --mode=link /usr/bin/clang++  -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64  -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -o libcxx.la  isfuns.lo ismpf.lo ismpq.lo ismpz.lo ismpznw.lo osdoprnti.lo osfuns.lo osmpf.lo osmpq.lo osmpz.lo  
:info:build libtool: link: ar cq .libs/libcxx.a .libs/isfuns.o .libs/ismpf.o .libs/ismpq.o .libs/ismpz.o .libs/ismpznw.o .libs/osdoprnti.o .libs/osfuns.o .libs/osmpf.o .libs/osmpq.o .libs/osmpz.o 
:info:build libtool: link: ranlib .libs/libcxx.a
:info:build libtool: link: ( cd ".libs" && rm -f "libcxx.la" && ln -s "../libcxx.la" "libcxx.la" )
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mpir/mpir/work/wbhart-mpir-cdd444a/cxx'
:info:build Making all in tune
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mpir/mpir/work/wbhart-mpir-cdd444a/tune'
:info:build make[2]: Nothing to be done for `all'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mpir/mpir/work/wbhart-mpir-cdd444a/tune'
:info:build Making all in doc
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mpir/mpir/work/wbhart-mpir-cdd444a/doc'
:info:build restore=: && backupdir=".am$$" && \
:info:build 	am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
:info:build 	rm -rf $backupdir && mkdir $backupdir && \
:info:build 	if (/bin/sh '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mpir/mpir/work/mpir-3.0.0/missing' makeinfo --version) >/dev/null 2>&1; then \
:info:build 	  for f in mpir.info mpir.info-[0-9] mpir.info-[0-9][0-9] mpir.i[0-9] mpir.i[0-9][0-9]; do \
:info:build 	    if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
:info:build 	  done; \
:info:build 	else :; fi && \
:info:build 	cd "$am__cwd"; \
:info:build 	if /bin/sh '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mpir/mpir/work/mpir-3.0.0/missing' makeinfo   -I . \
:info:build 	 -o mpir.info mpir.texi; \
:info:build 	then \
:info:build 	  rc=0; \
:info:build 	  CDPATH="${ZSH_VERSION+.}:" && cd .; \
:info:build 	else \
:info:build 	  rc=$?; \
:info:build 	  CDPATH="${ZSH_VERSION+.}:" && cd . && \
:info:build 	  $restore $backupdir/* `echo "./mpir.info" | sed 's|[^/]*$||'`; \
:info:build 	fi; \
:info:build 	rm -rf $backupdir; exit $rc
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mpir/mpir/work/mpir-3.0.0/missing: line 81: makeinfo: command not found
:info:build WARNING: 'makeinfo' is missing on your system.
:info:build          You should only need it if you modified a '.texi' file, or
:info:build          any other file indirectly affecting the aspect of the manual.
:info:build          You might want to install the Texinfo package:
:info:build          <https://www.gnu.org/software/texinfo/>
:info:build          The spurious makeinfo call might also be the consequence of
:info:build          using a buggy 'make' (AIX, DU, IRIX), in which case you might
:info:build          want to install GNU make:
:info:build          <https://www.gnu.org/software/make/>
:info:build make[2]: *** [mpir.info] Error 127
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mpir/mpir/work/wbhart-mpir-cdd444a/doc'
:info:build make[1]: *** [all-recursive] 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_devel_mpir/mpir/work/wbhart-mpir-cdd444a'
: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_devel_mpir/mpir/work/wbhart-mpir-cdd444a'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mpir/mpir/work/mpir-3.0.0" && /usr/bin/make -j8 -w all 
:info:build Exit code: 2
:error:build Failed to build mpir: command execution failed
:debug:build Error code: CHILDSTATUS 52173 2

Once I installed texinfo, the compile worked.

Change History (2)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Keywords: ventura added
Owner: set to michaelld
Status: newassigned

comment:2 Changed 23 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

In 345a6f2d0a54e8f1e868829e069c467222c55139/macports-ports (master):

mpir: fix build on Ventura+

requires makeinfo, no longer supplied by system
closes: #66492

Note: See TracTickets for help on using tickets.