Re: [gentoo-user] Several packages failing to build
On Monday, May 14, 2018 12:20:01 PM CDT Elijah Mark Anderson wrote: > I'm having an issue with about a dozen packages not upgrading. I'd really > appreciate some help getting them to build and install. I'm getting the > feeling that the problems are somehow related, but really not sure. > > First up: dev-libs/appstream-0.11.5::gentoo > Anyone know what's going on here? This package is blocking at least 5 other > packages from upgrading, and I find the information in the logs only > slightly more helpful than WIndows "Something went wrong" errors. > -- > Elijah Mark Anderson > m...@kd0bpv.name > -- > 「塵も積もれば山となる。」 > "Even dust, when piled up, becomes a mountain" - Ancient Japanese proverb After remembering that I was running emerge with MAKEOPTS="-j9", I was finally able to find the actual error messages. It appears that /usr/include/boost/ spirit/home/qi.hpp went missing, probably during the recent move from my mechanical drive to my solid state drives. Re-emerged dev-libs/boost, and that solved the rest of the failing packages! -- Elijah Mark Anderson m...@kd0bpv.name -- 「塵も積もれば山となる。」 "Even dust, when piled up, becomes a mountain" - Ancient Japanese proverb signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Several packages failing to build
On Tuesday, May 15, 2018 5:40:02 AM CDT David Haller wrote: > Hello, > > On Mon, 14 May 2018, Elijah Mark Anderson wrote: > >in the build log. I had forgotten that I was running emerge with > >MAKEOPTS="- j9", which means that errors are not always at the bottom of > >the log. When I remembered it, I searched the log for "error[: ]", and > >bingo! Here's the relevant entry: > > > >[39/106] /usr/bin/python3.5 /usr/lib/python-exec/python3.5/meson --internal > >msgfmthelper ../appstream-APPSTREAM_0_11_5/data/ > >org.freedesktop.appstream.cli.metainfo.xml data/ > >org.freedesktop.appstream.cli.metainfo.xml xml /var/tmp/portage/dev-libs/ > >appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/po --datadirs=/var/tmp/ > >portage/dev-libs/appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/data/ > >FAILED: data/org.freedesktop.appstream.cli.metainfo.xml > >/usr/bin/python3.5 /usr/lib/python-exec/python3.5/meson --internal > >msgfmthelper ../appstream-APPSTREAM_0_11_5/data/ > >org.freedesktop.appstream.cli.metainfo.xml data/ > >org.freedesktop.appstream.cli.metainfo.xml xml /var/tmp/portage/dev-libs/ > >appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/po --datadirs=/var/tmp/ > >portage/dev-libs/appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/data/ > >msgfmt: error while opening > >"/var/tmp/portage/dev-libs/appstream-0.11.5/work/ > >appstream-APPSTREAM_0_11_5/po/zh_TW.po/nja.po/npt_BR.po/n...@latin.po/ncs.p > >o/ > >ngd.po/nfi.po/nid.po/nlt.po/nen_GB.po/nzh_CN.po/nuk.po/nckb.po/nar.po/nnl. > >po/ > >nru.po/nko.po/nda.po/nsr.po/nfr.po/nhu.po/npt.po/nit.po/nsv.po/nca.po/nes. > >po/ nde.po/nsl.po/noc.po/ngl.po/npl.po/ntr.po/nsk.po/neu.po" for reading: > >Not a directory > > > >Looks like you were right after all, as > >https://bugs.gentoo.org/640916#c7 is indeed a pretty dang close > >match. Looks like a bug in the package itself. I'll mask this > >version, as #c13 claims this is fixed in 0.11.8. Hopefully that'll be > >in the tree soon(TM). > > In the meantime, put the attached patch into > /etc/portage/patches/dev-libs/appstream-0.11.5/ > e.g. as appstream-0.11.5-po_meson_build.patch > > We've got a rare case of "over-escaping" in the meson.build for once, > as meson seems to replace '\\' even in commands by '/', so we end up > with '/n' instead of '\n', i.e. "find -printf '%f/n'" instead of > the correct "find -printf '%f\n'". The single '\n' get replaced by > meson by an actual linebreak, so that works too. > > Upstream has fixed it in .8 by putting that stuff into an extra script > see > https://github.com/ximion/appstream/blob/master/contrib/meson/update-lingua > s.sh > > HTH, > -dnh > > -- > > > Vollmonde erscheinen Periodisch alle 28 Tage. > > erst jetzt wird mir die Bedeutung des "blutroten Mondes" richtig bewußt. > [Harald Stowasser und Cheatah in dag°] Awesome! Thanks, David! -- Elijah Mark Anderson m...@kd0bpv.name -- 「塵も積もれば山となる。」 "Even dust, when piled up, becomes a mountain" - Ancient Japanese proverb signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Several packages failing to build
Hello, On Mon, 14 May 2018, Elijah Mark Anderson wrote: >in the build log. I had forgotten that I was running emerge with MAKEOPTS="- >j9", which means that errors are not always at the bottom of the log. When I >remembered it, I searched the log for "error[: ]", and bingo! Here's the >relevant entry: > >[39/106] /usr/bin/python3.5 /usr/lib/python-exec/python3.5/meson --internal >msgfmthelper ../appstream-APPSTREAM_0_11_5/data/ >org.freedesktop.appstream.cli.metainfo.xml data/ >org.freedesktop.appstream.cli.metainfo.xml xml /var/tmp/portage/dev-libs/ >appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/po --datadirs=/var/tmp/ >portage/dev-libs/appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/data/ >FAILED: data/org.freedesktop.appstream.cli.metainfo.xml >/usr/bin/python3.5 /usr/lib/python-exec/python3.5/meson --internal >msgfmthelper ../appstream-APPSTREAM_0_11_5/data/ >org.freedesktop.appstream.cli.metainfo.xml data/ >org.freedesktop.appstream.cli.metainfo.xml xml /var/tmp/portage/dev-libs/ >appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/po --datadirs=/var/tmp/ >portage/dev-libs/appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/data/ >msgfmt: error while opening "/var/tmp/portage/dev-libs/appstream-0.11.5/work/ >appstream-APPSTREAM_0_11_5/po/zh_TW.po/nja.po/npt_BR.po/n...@latin.po/ncs.po/ >ngd.po/nfi.po/nid.po/nlt.po/nen_GB.po/nzh_CN.po/nuk.po/nckb.po/nar.po/nnl.po/ >nru.po/nko.po/nda.po/nsr.po/nfr.po/nhu.po/npt.po/nit.po/nsv.po/nca.po/nes.po/ >nde.po/nsl.po/noc.po/ngl.po/npl.po/ntr.po/nsk.po/neu.po" for reading: Not a >directory > >Looks like you were right after all, as >https://bugs.gentoo.org/640916#c7 is indeed a pretty dang close >match. Looks like a bug in the package itself. I'll mask this >version, as #c13 claims this is fixed in 0.11.8. Hopefully that'll be >in the tree soon(TM). In the meantime, put the attached patch into /etc/portage/patches/dev-libs/appstream-0.11.5/ e.g. as appstream-0.11.5-po_meson_build.patch We've got a rare case of "over-escaping" in the meson.build for once, as meson seems to replace '\\' even in commands by '/', so we end up with '/n' instead of '\n', i.e. "find -printf '%f/n'" instead of the correct "find -printf '%f\n'". The single '\n' get replaced by meson by an actual linebreak, so that works too. Upstream has fixed it in .8 by putting that stuff into an extra script see https://github.com/ximion/appstream/blob/master/contrib/meson/update-linguas.sh HTH, -dnh -- > Vollmonde erscheinen Periodisch alle 28 Tage. erst jetzt wird mir die Bedeutung des "blutroten Mondes" richtig bewußt. [Harald Stowasser und Cheatah in dag°] diff -urN -x '*~' a/po/meson.build b/po/meson.build --- a/po/meson.build 2017-09-04 18:09:52.0 +0200 +++ b/po/meson.build 2018-05-15 12:24:42.0 +0200 @@ -21,7 +21,7 @@ 'find ' + meson.current_source_dir() + ' -type f' + ' -iname "*.po"' + -' -printf \'%f\\n\'' + +' -printf \'%f\n\'' + ' | grep -oP \'.*(?=[.])\' | sort' + ' > ' + join_paths(meson.current_source_dir(), 'LINGUAS') ]
Re: [gentoo-user] Several packages failing to build
On Monday, May 14, 2018 4:53:09 PM CDT Mick wrote: > On Monday, 14 May 2018 21:07:17 BST Elijah Mark Anderson wrote: > > On Monday, May 14, 2018 12:58:13 PM CDT Mick wrote: > > > On Monday, 14 May 2018 18:20:01 BST Elijah Mark Anderson wrote: > > > > I'm having an issue with about a dozen packages not upgrading. I'd > > > > really > > > > appreciate some help getting them to build and install. I'm getting > > > > the > > > > feeling that the problems are somehow related, but really not sure. > > > > > > > > First up: dev-libs/appstream-0.11.5::gentoo > > > > Anyone know what's going on here? This package is blocking at least 5 > > > > other > > > > packages from upgrading, and I find the information in the logs only > > > > slightly more helpful than WIndows "Something went wrong" errors. > > > > > > It's worth checking in BGO to see if your problems with ~amd64 packages > > > are > > > already reported and if any patches/fixes/workarounds have been posted. > > > In > > > this case have a look here, I think it is the same problem you have > > > experienced: > > > > > > https://bugs.gentoo.org/640916 > > > > > > -- > > > Regards, > > > Mick > > > > I did come across that. I don't believe it is the same problem. For them, > > the problem is during the install phase. Mine is occurring in compile > > phase. > > Fair enough, I did not dig into it at any depth. Without knowing the real > cause of this failure and if nothing else resolves it, I would try to > rebuild gettext & perhaps libxml2: > > emerge -1aDv sys-devel/gettext dev-libs/libxml2 > > then try emerging dev-libs/appstream once more. Running ~arch involves more > troubleshooting and experimenting than I have time at present, hence I > stick with stable where I can. > > -- > Regards, > Mick I tried as you suggested, to no avail. But, I *finally* found the actual error in the build log. I had forgotten that I was running emerge with MAKEOPTS="- j9", which means that errors are not always at the bottom of the log. When I remembered it, I searched the log for "error[: ]", and bingo! Here's the relevant entry: [39/106] /usr/bin/python3.5 /usr/lib/python-exec/python3.5/meson --internal msgfmthelper ../appstream-APPSTREAM_0_11_5/data/ org.freedesktop.appstream.cli.metainfo.xml data/ org.freedesktop.appstream.cli.metainfo.xml xml /var/tmp/portage/dev-libs/ appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/po --datadirs=/var/tmp/ portage/dev-libs/appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/data/ FAILED: data/org.freedesktop.appstream.cli.metainfo.xml /usr/bin/python3.5 /usr/lib/python-exec/python3.5/meson --internal msgfmthelper ../appstream-APPSTREAM_0_11_5/data/ org.freedesktop.appstream.cli.metainfo.xml data/ org.freedesktop.appstream.cli.metainfo.xml xml /var/tmp/portage/dev-libs/ appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/po --datadirs=/var/tmp/ portage/dev-libs/appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/data/ msgfmt: error while opening "/var/tmp/portage/dev-libs/appstream-0.11.5/work/ appstream-APPSTREAM_0_11_5/po/zh_TW.po/nja.po/npt_BR.po/n...@latin.po/ncs.po/ ngd.po/nfi.po/nid.po/nlt.po/nen_GB.po/nzh_CN.po/nuk.po/nckb.po/nar.po/nnl.po/ nru.po/nko.po/nda.po/nsr.po/nfr.po/nhu.po/npt.po/nit.po/nsv.po/nca.po/nes.po/ nde.po/nsl.po/noc.po/ngl.po/npl.po/ntr.po/nsk.po/neu.po" for reading: Not a directory Looks like you were right after all, as https://bugs.gentoo.org/640916#c7 is indeed a pretty dang close match. Looks like a bug in the package itself. I'll mask this version, as #c13 claims this is fixed in 0.11.8. Hopefully that'll be in the tree soon™. -- Elijah Mark Anderson m...@kd0bpv.name -- 「塵も積もれば山となる。」 "Even dust, when piled up, becomes a mountain" - Ancient Japanese proverb signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Several packages failing to build
On Monday, 14 May 2018 21:07:17 BST Elijah Mark Anderson wrote: > On Monday, May 14, 2018 12:58:13 PM CDT Mick wrote: > > On Monday, 14 May 2018 18:20:01 BST Elijah Mark Anderson wrote: > > > I'm having an issue with about a dozen packages not upgrading. I'd > > > really > > > appreciate some help getting them to build and install. I'm getting the > > > feeling that the problems are somehow related, but really not sure. > > > > > > First up: dev-libs/appstream-0.11.5::gentoo > > > Anyone know what's going on here? This package is blocking at least 5 > > > other > > > packages from upgrading, and I find the information in the logs only > > > slightly more helpful than WIndows "Something went wrong" errors. > > > > It's worth checking in BGO to see if your problems with ~amd64 packages > > are > > already reported and if any patches/fixes/workarounds have been posted. > > In > > this case have a look here, I think it is the same problem you have > > experienced: > > > > https://bugs.gentoo.org/640916 > > > > -- > > Regards, > > Mick > > I did come across that. I don't believe it is the same problem. For them, > the problem is during the install phase. Mine is occurring in compile > phase. Fair enough, I did not dig into it at any depth. Without knowing the real cause of this failure and if nothing else resolves it, I would try to rebuild gettext & perhaps libxml2: emerge -1aDv sys-devel/gettext dev-libs/libxml2 then try emerging dev-libs/appstream once more. Running ~arch involves more troubleshooting and experimenting than I have time at present, hence I stick with stable where I can. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Several packages failing to build
On Monday, May 14, 2018 12:58:13 PM CDT Mick wrote: > On Monday, 14 May 2018 18:20:01 BST Elijah Mark Anderson wrote: > > I'm having an issue with about a dozen packages not upgrading. I'd really > > appreciate some help getting them to build and install. I'm getting the > > feeling that the problems are somehow related, but really not sure. > > > > First up: dev-libs/appstream-0.11.5::gentoo > > Anyone know what's going on here? This package is blocking at least 5 > > other > > packages from upgrading, and I find the information in the logs only > > slightly more helpful than WIndows "Something went wrong" errors. > > It's worth checking in BGO to see if your problems with ~amd64 packages are > already reported and if any patches/fixes/workarounds have been posted. In > this case have a look here, I think it is the same problem you have > experienced: > > https://bugs.gentoo.org/640916 > > -- > Regards, > Mick I did come across that. I don't believe it is the same problem. For them, the problem is during the install phase. Mine is occurring in compile phase. -- Elijah Mark Anderson m...@kd0bpv.name -- 「塵も積もれば山となる。」 "Even dust, when piled up, becomes a mountain" - Ancient Japanese proverb signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Several packages failing to build
On Monday, 14 May 2018 18:20:01 BST Elijah Mark Anderson wrote: > I'm having an issue with about a dozen packages not upgrading. I'd really > appreciate some help getting them to build and install. I'm getting the > feeling that the problems are somehow related, but really not sure. > > First up: dev-libs/appstream-0.11.5::gentoo > Anyone know what's going on here? This package is blocking at least 5 other > packages from upgrading, and I find the information in the logs only > slightly more helpful than WIndows "Something went wrong" errors. It's worth checking in BGO to see if your problems with ~amd64 packages are already reported and if any patches/fixes/workarounds have been posted. In this case have a look here, I think it is the same problem you have experienced: https://bugs.gentoo.org/640916 -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Several packages failing to build
I'm having an issue with about a dozen packages not upgrading. I'd really appreciate some help getting them to build and install. I'm getting the feeling that the problems are somehow related, but really not sure. First up: dev-libs/appstream-0.11.5::gentoo Anyone know what's going on here? This package is blocking at least 5 other packages from upgrading, and I find the information in the logs only slightly more helpful than WIndows "Something went wrong" errors. -- Elijah Mark Anderson m...@kd0bpv.name -- 「塵も積もれば山となる。」 "Even dust, when piled up, becomes a mountain" - Ancient Japanese proverb[32;01m * [39;49;00mPackage:dev-libs/appstream-0.11.5 [32;01m * [39;49;00mRepository: gentoo [32;01m * [39;49;00mMaintainer: k...@gentoo.org [32;01m * [39;49;00mUSE:abi_x86_64 amd64 elibc_glibc kernel_linux qt5 userland_GNU [32;01m * [39;49;00mFEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking appstream-0.11.5.tar.gz to /var/tmp/portage/dev-libs/appstream-0.11.5/work >>> Source unpacked in /var/tmp/portage/dev-libs/appstream-0.11.5/work >>> Preparing source in /var/tmp/portage/dev-libs/appstream-0.11.5/work/appstream-APPSTREAM_0_11_5 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/appstream-0.11.5/work/appstream-APPSTREAM_0_11_5 ... meson --buildtype plain --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload -Denable-docs=false -Denable-maintainer=false -Denable-stemming=true -Denable-vapi=false -Denable-apt-support=false -Denable-apidocs=false -Denable-qt=true /var/tmp/portage/dev-libs/appstream-0.11.5/work/appstream-APPSTREAM_0_11_5 /var/tmp/portage/dev-libs/appstream-0.11.5/work/appstream-0.11.5-build [1mThe Meson build system[0m Version: 0.46.0 Source dir: [1m/var/tmp/portage/dev-libs/appstream-0.11.5/work/appstream-APPSTREAM_0_11_5[0m Build dir: [1m/var/tmp/portage/dev-libs/appstream-0.11.5/work/appstream-0.11.5-build[0m Build type: [1mnative build[0m Project name: [1mAppStream[0m Native C compiler: [1mx86_64-pc-linux-gnu-gcc[0m (gcc 7.3.0 "x86_64-pc-linux-gnu-gcc (Gentoo 7.3.0-r1 p1.1) 7.3.0") Appending CFLAGS from environment: '-march=native -O2 -pipe' Appending LDFLAGS from environment: '-Wl,-O1 -Wl,--as-needed' Build machine cpu family: [1mx86_64[0m Build machine cpu: [1mx86_64[0m Configuring [1mconfig.h[0m using configuration Found pkg-config: [1m/usr/bin/x86_64-pc-linux-gnu-pkg-config[0m (0.29.2) Native dependency [1mglib-2.0[0m found: [1;32mYES[0m 2.52.3 Native dependency [1mgobject-2.0[0m found: [1;32mYES[0m 2.52.3 Native dependency [1mgio-2.0[0m found: [1;32mYES[0m 2.52.3 Native dependency [1mgio-unix-2.0[0m found: [1;32mYES[0m 2.52.3 Native dependency [1mlibxml-2.0[0m found: [1;32mYES[0m 2.9.8 Native dependency [1myaml-0.1[0m found: [1;32mYES[0m 0.1.7 Library [1mstemmer[0m found: [1;32mYES[0m Has header "libstemmer.h": [1;32mYES[0m Native dependency [1mglib-2.0[0m found: [1;32mYES[0m 2.52.3 Native dependency [1mgobject-introspection-1.0[0m found: [1;32mYES[0m 1.52.1 Program [1mxsltproc[0m found: [1;32mYES[0m (/usr/bin/xsltproc) Native C++ compiler: [1mx86_64-pc-linux-gnu-g++[0m (gcc 7.3.0 "x86_64-pc-linux-gnu-g++ (Gentoo 7.3.0-r1 p1.1) 7.3.0") Appending CXXFLAGS from environment: '-march=native -O2 -pipe' Appending LDFLAGS from environment: '-Wl,-O1 -Wl,--as-needed' [1;33mWARNING:[0m rcc dependencies will not work reliably until this upstream issue is fixed: [1mhttps://bugreports.qt.io/browse/QTBUG-45460[0m Native dependency [1mQt5Core[0m found: [1;32mYES[0m 5.9.5 Qt5 native `pkg-config` dependency (modules: Core) found: [1;32mYES[0m Detecting Qt5 tools moc: [1;32mYES[0m (/usr/lib64/qt5/bin/moc, 5.9.5) uic: [1;32mYES[0m (/usr/lib64/qt5/bin/uic, 5.9.5) rcc: [1;32mYES[0m (/usr/lib64/qt5/bin/rcc, 5.9.5) lrelease: [1;32mYES[0m (/usr/lib64/qt5/bin/lrelease, 5.9.5) Native dependency [1mQt5Core[0m found: [1;32mYES[0m 5.9.5 Native dependency [1mQt5Test[0m found: [1;32mYES[0m 5.9.5 Qt5 native `pkg-config` dependency (modules: Core, Test) found: [1;32mYES[0m Configuring [1mtestpaths.h[0m using configuration Configuring [1mAppStreamQtConfig.cmake[0m using configuration Configuring [1mAppStreamQtConfigVersion.cmake[0m using configuration Build targets in project: [1m19[0m Found ninja-1.8.2 at /usr/bin/ninja >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/appstream-0.11.5/work/appstream-APPSTREAM_0_11_5 ... ninja -v -j9 -l0 -C /var/tmp/portage/dev-libs/appstream-0.11.5/work/appstream-0.11.5-build ninja: Entering directory `/var/tmp/portage/dev-libs/appstream-0.11.5/work/appstream-0.11.5-build' [1/106] glib-compile-resources ../appstream-APPSTREAM_0_11_5/src/appstream.gresource.xml --sourcedir ../appstream-APPSTREAM_0_11_5/src/../data --sourcedir ../appstream-APPSTREAM_0_11_5/src/ --c-name as --internal --generate --target src/as-resources.h [2/106]