New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #24146 (closed defect: worksforme)

Opened 5 years ago

Last modified 5 years ago

Gettext fails to build

Reported by: martijn@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: gettext

Description

--->  Fetching gettext
--->  Attempting to fetch gettext-0.17.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/gettext
--->  Verifying checksum(s) for gettext
--->  Extracting gettext
--->  Applying patches to gettext
--->  Configuring gettext
--->  Configuring gettext for architecture i386
--->  Configuring gettext for architecture ppc
--->  Building gettext
--->  Building gettext for architecture i386
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/work/gettext-0.17-i386" && /usr/bin/make -j2 all " returned error 2
Command output: 	      -e 's|@''HAVE_DECL_STRNLEN''@|0|g' \
	      -e 's|@''HAVE_STRPBRK''@|1|g' \
	      -e 's|@''HAVE_STRSEP''@|1|g' \
	      -e 's|@''HAVE_STRCASESTR''@|1|g' \
	      -e 's|@''HAVE_DECL_STRTOK_R''@|1|g' \
	      -e 's|@''HAVE_DECL_STRERROR''@|1|g' \
	      -e 's|@''REPLACE_STRERROR''@|0|g' \
	      -e '/definition of GL_LINK_WARNING/r ../../build-aux/link-warning.h' \
	      < ./string.in.h; \
	} > string.h-t
mv stdlib.h-t stdlib.h
../../build-aux/install-sh -c -d sys
mv string.h-t string.h
../../build-aux/install-sh -c -d sys
rm -f sys/stat.h-t sys/stat.h
mkdir: sys: File exists
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
	  sed -e 's/@''INCLUDE_NEXT''@/include_next/g' \
	      -e 's|@''NEXT_SYS_STAT_H''@|<sys/stat.h>|g' \
	      -e 's|@''HAVE_IO_H''@|0|g' \
	      -e 's|@''HAVE_LSTAT''@|1|g' \
	      -e 's|@''HAVE_DECL_MKDIR''@|1|g' \
	      < ./sys_stat.in.h; \
	} > sys/stat.h-t
make[3]: *** [sys/time.h] Error 1
make[3]: *** Waiting for unfinished jobs....
mv sys/stat.h-t sys/stat.h
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Error: The following dependencies failed to build: atk gettext glib2 autoconf help2man p5-locale-gettext perl5 perl5.8 m4 automake libtool pkgconfig gtk-doc docbook-xml docbook-xml-4.1.2 xmlcatmgr docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl gnome-doc-utils iso-codes libxslt libxml2 zlib p5-xml-parser py26-libxml2 python26 bzip2 db46 gdbm openssl readline sqlite3 tk tcl rarian getopt intltool gnome-common p5-getopt-long p5-pathtools p5-scalar-list-utils gtk2 cairo fontconfig freetype libpixman libpng jasper jpeg pango shared-mime-info tiff libglade2 py25-cairo py25-numpy atlas gcc43 gmp mpfr gzip fftw-3 py25-nose py25-setuptools python25 py25-gobject
Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

Attachments

gettext.txt.bz2 (1.4 KB) - added by martijn@… 5 years ago.

Change History

comment:1 Changed 5 years ago by jmr@…

  • Keywords gettext removed
  • Priority changed from High to Normal
  • Owner changed from macports-tickets@… to ryandesign@…

Please remember to cc the maintainer. As per the ticket guidelines, the High priority is reserved for the use of MacPorts team members.

comment:2 Changed 5 years ago by ryandesign@…

Hm, gettext always builds fine for me. Now, I see you're building universal, and parallel, which should both be fine too, except that when you build parallel it means the real error may be way back in the log, and MacPorts only shows us the last couple dozen lines unless we tell it we want more. So clean gettext and try again with the debug switch and turning off parallel building, so we can see what's really going on:

sudo port clean gettext
sudo port -d install gettext +universal build.jobs=1 2>&1 | tee ~/Desktop/gettext.txt
bzip2 ~/Desktop/gettext.txt

Then attach gettext.txt.bz2 from your desktop to this ticket and I'll have a look at it.

comment:3 Changed 5 years ago by ryandesign@…

Once you attach the file, add a comment saying you did so, so I'll know to come back and check.

Changed 5 years ago by martijn@…

comment:4 Changed 5 years ago by martijn@…

File attached as requested. Thanks for looking into it.

comment:5 Changed 5 years ago by ryandesign@…

Well there's nothing in there. It says gettext is already installed.

comment:6 Changed 5 years ago by martijn@…

Ok. I'll try it once more with the debug switch on. Thanks!

comment:7 Changed 5 years ago by ryandesign@…

Is there still anything we need to do here? Your original report was that gettext wouldn't build, but the debug log you attached showed gettext properly installed. In the absence of further information, I will close this ticket as invalid.

comment:8 Changed 5 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to worksforme
Note: See TracTickets for help on using tickets.