Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gettext-9999: needed by 'gettext.1.in'. Stop.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
shoober420
Apprentice
Apprentice


Joined: 22 May 2017
Posts: 223

PostPosted: Sun Jun 06, 2021 2:55 am    Post subject: gettext-9999: needed by 'gettext.1.in'. Stop. Reply with quote

I'm trying to build this gettext-9999 package here, but keep encountering this error.

Code:

make[2]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_32.x86/src'
Making all in po
make[2]: Entering directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_32.x86/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_32.x86/po'
Making all in man
make[2]: Entering directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_32.x86/man'
make[2]: *** No rule to make target '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/../.version', needed by 'gettext.1.in'.  Stop.
make[2]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_32.x86/man'
make[1]: *** [Makefile:1561: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_32.x86'
make: *** [Makefile:1468: all] Error 2


Is this my ebuild or a program bug?

ebuild:
https://github.com/shoober420/shoober420-overlay/blob/main/sys-devel/gettext/gettext-9999.ebuild

log:
https://savannah.gnu.org/bugs/download.php?file_id=51521
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1530
Location: South America

PostPosted: Sun Jun 06, 2021 6:46 pm    Post subject: Re: gettext-9999: needed by 'gettext.1.in'. Stop. Reply with quote

shoober420 wrote:
make[2]: *** No rule to make target '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/../.version', needed by 'gettext.1.in'. Stop.

There is a rule for making that file, it's in the top-level makefile (probably /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/Makefile):
Code:
$(top_srcdir)/.version:
   echo $(VERSION) > $@-t && mv $@-t $@

You'd have to study the build system to see when is that target supposed to be created. Looking at your build log, the rule's recipe does not seem to be executed. That might or might not be expected.

EDIT to add:
Code:

 * USE:        abi_x86_32 abi_x86_64 acl amd64 cxx elibc_glibc kernel_linux ncurses openmp userland_GNU
[...]
>>> Configuring source in /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
[...]
/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/configure [...]

shoober420 wrote:
ebuild:
https://github.com/shoober420/shoober420-overlay/blob/main/sys-devel/gettext/gettext-9999.ebuild

Code:
multilib_src_configure() {
# ...
   if ! multilib_is_native_abi ; then
      # for non-native ABIs, we build runtime only
      ECONF_SOURCE+=/gettext-runtime
   fi
# ...
}

Running the configure script of a subdirectory in the top-level build directory of the 32-bit build? This looks wrong.
Back to top
View user's profile Send private message
shoober420
Apprentice
Apprentice


Joined: 22 May 2017
Posts: 223

PostPosted: Sun Jun 06, 2021 10:05 pm    Post subject: Reply with quote

So I took the latest official gettext ebuild and did a few tweaks to get it to this point. That section of the ebuild was left unchanged from the original. According to the Gentoo wiki, Steam requires gettext 32bit (https://wiki.gentoo.org/wiki/Steam#USE_flags). I have the official stable gettext installed currently. Should i just disable 32bit? Steam still launches without 32bit gettext and is not listed on the required libs in the Arch Steam native runtime (https://archlinux.org/packages/multilib/x86_64/steam-native-runtime/).

If i try to just build the 64bit build, i get errors about the help2man docs. I tried to find build options for gettext but can’t find anything in the configure.ac to disable docs.
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1530
Location: South America

PostPosted: Mon Jun 07, 2021 1:27 am    Post subject: Reply with quote

It turns out that I was wrong. The trick from the ebuilds in Gentoo's repository works, i.e. running the configure script of subdirectory gettext-runtime. The result is that only the contents of that subdirectory get built in /var/tmp/portage/sys-devel/gettext-<version>/work/gettext-<version>-abi_x86_32.x86. That is, the top-level makefile in that build directory is actually the one created from gettext-runtime/Makefile.in, not the Makefile.in from the top-level source directory.

However, the makefile from gettext-runtime/man needs the .version file from the top-level source directory. The ebuilds that build from a release archive get away with this trick because that file is present in the release archive. It won't exist if you do a checkout from the Git repository. The top-level makefile contains the rule for creating it, but the 32-bit build does not generate and use that makefile, so the build fails. You can't use this trick for a -9999 ebuild.

shoober420 wrote:
If i try to just build the 64bit build, i get errors about the help2man docs.

Which errors?
Back to top
View user's profile Send private message
shoober420
Apprentice
Apprentice


Joined: 22 May 2017
Posts: 223

PostPosted: Tue Jun 08, 2021 9:19 am    Post subject: Reply with quote

Its all fine fren, this ebuild is very confusing. I really want to get the 32bit build working, since apparently wine depends on it according to the arch repos (https://archlinux.org/packages/multilib/x86_64/lib32-gettext/). This means Proton will depend on the 32bit version of gettext as well. Here is the log of the 64bit build.

So this build log is huge, and thers no way i can add an attachment here that i see. I'll show the last of the log.

Code:

Making install in intl-csharp
make[3]: Entering directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/intl-csharp'
make[4]: Entering directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/intl-csharp'
make[4]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p /var/tmp/portage/sys-devel/gettext-9999/image/usr/lib64
/bin/mkdir -p /var/tmp/portage/sys-devel/gettext-9999/image/usr/share/doc/gettext-9999/html/csharpdoc
/usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/intl-csharp/doc/index.html /var/tmp/portage/sys-devel/gettext-9999/image/usr/share/doc/gettext-9999/html/csharpdoc/index.html
/usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/intl-csharp/doc/namespaces.html /var/tmp/portage/sys-devel/gettext-9999/image/usr/share/doc/gettext-9999/html/csharpdoc/namespaces.html
/usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/intl-csharp/doc/begin.html /var/tmp/portage/sys-devel/gettext-9999/image/usr/share/doc/gettext-9999/html/csharpdoc/begin.html
/usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/intl-csharp/doc/GNU_Gettext.html /var/tmp/portage/sys-devel/gettext-9999/image/usr/share/doc/gettext-9999/html/csharpdoc/GNU_Gettext.html
/usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/intl-csharp/doc/GNU_Gettext_GettextResourceManager.html /var/tmp/portage/sys-devel/gettext-9999/image/usr/share/doc/gettext-9999/html/csharpdoc/GNU_Gettext_GettextResourceManager.html
/usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/intl-csharp/doc/GNU_Gettext_GettextResourceSet.html /var/tmp/portage/sys-devel/gettext-9999/image/usr/share/doc/gettext-9999/html/csharpdoc/GNU_Gettext_GettextResourceSet.html
make[4]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/intl-csharp'
make[3]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/intl-csharp'
Making install in gnulib-lib
make[3]: Entering directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/gnulib-lib'
make  install-recursive
make[4]: Entering directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/gnulib-lib'
make[5]: Entering directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/gnulib-lib'
make[6]: Entering directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/gnulib-lib'
make[6]: Nothing to be done for 'install-exec-am'.
make[6]: Nothing to be done for 'install-data-am'.
make[6]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/gnulib-lib'
make[5]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/gnulib-lib'
make[4]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/gnulib-lib'
make[3]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/gnulib-lib'
Making install in libasprintf
make[3]: Entering directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/libasprintf'
make  install-am
make[4]: Entering directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/libasprintf'
make[5]: Entering directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/libasprintf'
 /bin/mkdir -p '/var/tmp/portage/sys-devel/gettext-9999/image/usr/lib64'
 /bin/mkdir -p '/var/tmp/portage/sys-devel/gettext-9999/image/usr/share/doc/gettext-9999/html'
 /bin/mkdir -p '/var/tmp/portage/sys-devel/gettext-9999/image/usr/include'
 /bin/sh ./libtool   --mode=install /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c   libasprintf.la '/var/tmp/portage/sys-devel/gettext-9999/image/usr/lib64'
 /bin/mkdir -p '/var/tmp/portage/sys-devel/gettext-9999/image/usr/share/info'
 /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c -m 644 autosprintf.h '/var/tmp/portage/sys-devel/gettext-9999/image/usr/include'
 /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c -m 644 autosprintf_all.html '/var/tmp/portage/sys-devel/gettext-9999/image/usr/share/doc/gettext-9999/html'
 /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/libasprintf/autosprintf.info '/var/tmp/portage/sys-devel/gettext-9999/image/usr/share/info'
libtool: install: /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c .libs/libasprintf.so.0.0.0 /var/tmp/portage/sys-devel/gettext-9999/image/usr/lib64/libasprintf.so.0.0.0
libtool: install: (cd /var/tmp/portage/sys-devel/gettext-9999/image/usr/lib64 && { ln -s -f libasprintf.so.0.0.0 libasprintf.so.0 || { rm -f libasprintf.so.0 && ln -s libasprintf.so.0.0.0 libasprintf.so.0; }; })
libtool: install: (cd /var/tmp/portage/sys-devel/gettext-9999/image/usr/lib64 && { ln -s -f libasprintf.so.0.0.0 libasprintf.so || { rm -f libasprintf.so && ln -s libasprintf.so.0.0.0 libasprintf.so; }; })
 install-info --info-dir='/var/tmp/portage/sys-devel/gettext-9999/image/usr/share/info' '/var/tmp/portage/sys-devel/gettext-9999/image/usr/share/info/autosprintf.info'
libtool: install: /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c .libs/libasprintf.lai /var/tmp/portage/sys-devel/gettext-9999/image/usr/lib64/libasprintf.la
libtool: warning: remember to run 'libtool --finish /usr/lib64'
make[5]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/libasprintf'
make[4]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/libasprintf'
make[3]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/libasprintf'
Making install in src
make[3]: Entering directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/src'
make[4]: Entering directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/src'
make[4]: Nothing to be done for 'install-data-am'.
 /bin/mkdir -p '/var/tmp/portage/sys-devel/gettext-9999/image/usr/bin'
 /bin/mkdir -p '/var/tmp/portage/sys-devel/gettext-9999/image/usr/bin'
  /bin/sh ../libtool   --mode=install /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c gettext ngettext envsubst '/var/tmp/portage/sys-devel/gettext-9999/image/usr/bin'
 /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c gettext.sh '/var/tmp/portage/sys-devel/gettext-9999/image/usr/bin'
libtool: install: /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c gettext /var/tmp/portage/sys-devel/gettext-9999/image/usr/bin/gettext
libtool: install: /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c ngettext /var/tmp/portage/sys-devel/gettext-9999/image/usr/bin/ngettext
libtool: install: /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c envsubst /var/tmp/portage/sys-devel/gettext-9999/image/usr/bin/envsubst
make[4]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/src'
make[3]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/src'
Making install in po
make[3]: Entering directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/po'
if test "gettext-runtime" = "gettext-tools"; then \
  /bin/mkdir -p /var/tmp/portage/sys-devel/gettext-9999/image/usr/share/gettext/po; \
  for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do \
    /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/po/$file \
                    /var/tmp/portage/sys-devel/gettext-9999/image/usr/share/gettext/po/$file; \
  done; \
  for file in Makevars; do \
    rm -f /var/tmp/portage/sys-devel/gettext-9999/image/usr/share/gettext/po/$file; \
  done; \
else \
  : ; \
fi
make[3]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/po'
Making install in man
make[3]: Entering directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/man'
progname=`echo gettext.1.in | sed -e 's/\.in$//' -e 's/\.1$//'`; \
IN_HELP2MAN=1 /bin/sh x-to-1  "/usr/bin/perl" "/usr/bin/perl -w -- /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/help2man" \
  ../src/${progname} /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/${progname}.x gettext.1.in
progname=`echo ngettext.1.in | sed -e 's/\.in$//' -e 's/\.1$//'`; \
IN_HELP2MAN=1 /bin/sh x-to-1  "/usr/bin/perl" "/usr/bin/perl -w -- /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/help2man" \
  ../src/${progname} /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/${progname}.x ngettext.1.in
progname=`echo envsubst.1 | sed -e 's/\.in$//' -e 's/\.1$//'`; \
IN_HELP2MAN=1 /bin/sh x-to-1  "/usr/bin/perl" "/usr/bin/perl -w -- /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/help2man" \
  ../src/${progname} /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/${progname}.x envsubst.1
WARNING: The man page ngettext.1.in cannot be updated yet.
WARNING: The man page gettext.1.in cannot be updated yet.
srcdir=''; \
test -f ./gettext.1.in || srcdir=/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/; \
if test -f ${srcdir}gettext.1.in; then \
  sed -e 's|@''localedir''@|/usr/share/locale|g' ${srcdir}gettext.1.in > t-gettext.1 && \
  mv t-gettext.1 gettext.1; \
fi
srcdir=''; \
test -f ./ngettext.1.in || srcdir=/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/; \
if test -f ${srcdir}ngettext.1.in; then \
  sed -e 's|@''localedir''@|/usr/share/locale|g' ${srcdir}ngettext.1.in > t-ngettext.1 && \
  mv t-ngettext.1 ngettext.1; \
fi
WARNING: The man page envsubst.1 cannot be updated yet.
srcdir=''; \
progname=`echo gettext.1.html.in | sed -e 's/\.1\.html\.in$//'`; \
m=${progname}.1.in; \
test -f ./$m || srcdir=/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/; \
if test -f ${srcdir}$m; then groff -mandoc -Thtml ${srcdir}$m > t-gettext.1.html.in && sed -e 's/\&minus;/-/g' -e '/CreationDate:/d' < t-gettext.1.html.in > t2-gettext.1.html.in && mv t2-gettext.1.html.in gettext.1.html.in; rm -f t-gettext.1.html.in t2-gettext.1.html.in; fi
srcdir=''; \
progname=`echo ngettext.1.html.in | sed -e 's/\.1\.html\.in$//'`; \
m=${progname}.1.in; \
test -f ./$m || srcdir=/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/; \
if test -f ${srcdir}$m; then groff -mandoc -Thtml ${srcdir}$m > t-ngettext.1.html.in && sed -e 's/\&minus;/-/g' -e '/CreationDate:/d' < t-ngettext.1.html.in > t2-ngettext.1.html.in && mv t2-ngettext.1.html.in ngettext.1.html.in; rm -f t-ngettext.1.html.in t2-ngettext.1.html.in; fi
srcdir=''; \
progname=`echo envsubst.1.html | sed -e 's/\.1\.html$//'`; \
m=${progname}.1; \
test -f ./$m || srcdir=/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/; \
if test -f ${srcdir}$m; then groff -mandoc -Thtml ${srcdir}$m > t-envsubst.1.html && sed -e 's/\&minus;/-/g' -e '/CreationDate:/d' < t-envsubst.1.html > t2-envsubst.1.html && mv t2-envsubst.1.html envsubst.1.html; rm -f t-envsubst.1.html t2-envsubst.1.html; fi
srcdir=''; \
test -f ./ngettext.1.html.in || srcdir=/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/; \
if test -f ${srcdir}ngettext.1.html.in; then \
  sed -e 's|@''localedir''@|/usr/share/locale|g' ${srcdir}ngettext.1.html.in > t-ngettext.1.html && \
  mv t-ngettext.1.html ngettext.1.html; \
fi
srcdir=''; \
test -f ./gettext.1.html.in || srcdir=/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/; \
if test -f ${srcdir}gettext.1.html.in; then \
  sed -e 's|@''localedir''@|/usr/share/locale|g' ${srcdir}gettext.1.html.in > t-gettext.1.html && \
  mv t-gettext.1.html gettext.1.html; \
fi
make[4]: Entering directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/man'
make[4]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p /var/tmp/portage/sys-devel/gettext-9999/image/usr/share/doc/gettext-9999/html
progname=`echo gettext.1.in | sed -e 's/\.in$//' -e 's/\.1$//'`; \
IN_HELP2MAN=1 /bin/sh x-to-1  "/usr/bin/perl" "/usr/bin/perl -w -- /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/help2man" \
  ../src/${progname} /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/${progname}.x gettext.1.in
progname=`echo ngettext.1.in | sed -e 's/\.in$//' -e 's/\.1$//'`; \
IN_HELP2MAN=1 /bin/sh x-to-1  "/usr/bin/perl" "/usr/bin/perl -w -- /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/help2man" \
  ../src/${progname} /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/${progname}.x ngettext.1.in
for file in gettext.1.html ngettext.1.html envsubst.1.html gettext.3.html ngettext.3.html textdomain.3.html bindtextdomain.3.html bind_textdomain_codeset.3.html; do \
  if test -f $file; then dir=.; else dir=/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man; fi; \
  /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c -m 644 $dir/$file /var/tmp/portage/sys-devel/gettext-9999/image/usr/share/doc/gettext-9999/html/$file; \
done
progname=`echo envsubst.1 | sed -e 's/\.in$//' -e 's/\.1$//'`; \
IN_HELP2MAN=1 /bin/sh x-to-1  "/usr/bin/perl" "/usr/bin/perl -w -- /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/help2man" \
  ../src/${progname} /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/${progname}.x envsubst.1
/usr/bin/install: cannot stat '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/gettext.1.html': No such file or directory
install-xattr: failed to stat /var/tmp/portage/sys-devel/gettext-9999/image/usr/share/doc/gettext-9999/html/gettext.1.html: No such file or directory
/usr/bin/install: cannot stat '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/ngettext.1.html': No such file or directory
install-xattr: failed to stat /var/tmp/portage/sys-devel/gettext-9999/image/usr/share/doc/gettext-9999/html/ngettext.1.html: No such file or directory
/usr/bin/install: cannot stat '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/envsubst.1.html': No such file or directory
install-xattr: failed to stat /var/tmp/portage/sys-devel/gettext-9999/image/usr/share/doc/gettext-9999/html/envsubst.1.html: No such file or directory
WARNING: The man page envsubst.1 cannot be updated yet.
WARNING: The man page gettext.1.in cannot be updated yet.
srcdir=''; \
test -f ./gettext.1.in || srcdir=/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/; \
if test -f ${srcdir}gettext.1.in; then \
  sed -e 's|@''localedir''@|/usr/share/locale|g' ${srcdir}gettext.1.in > t-gettext.1 && \
  mv t-gettext.1 gettext.1; \
fi
WARNING: The man page ngettext.1.in cannot be updated yet.
srcdir=''; \
test -f ./ngettext.1.in || srcdir=/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/; \
if test -f ${srcdir}ngettext.1.in; then \
  sed -e 's|@''localedir''@|/usr/share/locale|g' ${srcdir}ngettext.1.in > t-ngettext.1 && \
  mv t-ngettext.1 ngettext.1; \
fi
 /bin/mkdir -p '/var/tmp/portage/sys-devel/gettext-9999/image/usr/share/man/man1'
 /bin/mkdir -p '/var/tmp/portage/sys-devel/gettext-9999/image/usr/share/man/man3'
 /bin/mkdir -p '/var/tmp/portage/sys-devel/gettext-9999/image/usr/share/man/man1'
 /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c -m 644 gettext.3 ngettext.3 textdomain.3 bindtextdomain.3 bind_textdomain_codeset.3 /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/dgettext.3 /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/dcgettext.3 /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/dngettext.3 /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/dcngettext.3 '/var/tmp/portage/sys-devel/gettext-9999/image/usr/share/man/man3'
 /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/gettext.1 /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/ngettext.1 /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/envsubst.1 '/var/tmp/portage/sys-devel/gettext-9999/image/usr/share/man/man1'
 /bin/mkdir -p '/var/tmp/portage/sys-devel/gettext-9999/image/usr/share/man/man3'
/usr/bin/install: cannot stat '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/gettext.1': No such file or directory
/usr/bin/install: cannot stat '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/ngettext.1': No such file or directory
/usr/bin/install: cannot stat '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/envsubst.1': No such file or directory
install-xattr: failed to stat /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/gettext.1: No such file or directory
make[4]: *** [Makefile:1450: install-man1] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/man'
make[3]: *** [Makefile:1658: install-am] Error 2
make[3]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/man'
make[2]: *** [Makefile:1561: install-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime'
make[1]: *** [Makefile:406: install-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64'
make: *** [Makefile:714: install] Error 2
 * ERROR: sys-devel/gettext-9999::localrepo failed (install phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-devel/gettext-9999::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/gettext-9999::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/gettext-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gettext-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64'
 * S: '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =gettext-9999


I can still provide the whole log if needed.
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1530
Location: South America

PostPosted: Tue Jun 08, 2021 4:47 pm    Post subject: Reply with quote

shoober420 wrote:
I really want to get the 32bit build working [...]
Then find a way to create the .version file that the 32-bit build needs. That's the price you pay for wanting to use a -9999 ebuild.

shoober420 wrote:
Here is the log of the 64bit build.
[...]
Code:
...
Making install in man
make[3]: Entering directory '/var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999-abi_x86_64.amd64/gettext-runtime/man'
progname=`echo gettext.1.in | sed -e 's/\.in$//' -e 's/\.1$//'`; \
IN_HELP2MAN=1 /bin/sh x-to-1  "/usr/bin/perl" "/usr/bin/perl -w -- /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/help2man" \
  ../src/${progname} /var/tmp/portage/sys-devel/gettext-9999/work/gettext-9999/gettext-runtime/man/${progname}.x gettext.1.in
...
 * ERROR: sys-devel/gettext-9999::localrepo failed (install phase):
...
Judging from this, it looks like the man pages are being built (or rebuilt) during the install phase, and that is making a mess. Find out why that's happening, the x-to-1 invocations should have happened in the compile phase and should not be repeated in the install phase.
Back to top
View user's profile Send private message
shoober420
Apprentice
Apprentice


Joined: 22 May 2017
Posts: 223

PostPosted: Tue Jun 08, 2021 6:24 pm    Post subject: Reply with quote

This one is a doozy. The project doesn’t have a build option to disable docs and man pages. I’ve come across build errors like this before, and simply disabled the docs. There’s no build options for gettext to disable docs and man pages unfortunately, so this requires a much more in depth solution. I might come back to this at another time.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum