Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 593550 - sed: can't read re2.pc.in: No such file or directory
Summary: sed: can't read re2.pc.in: No such file or directory
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-12 08:58 UTC by Zeno Davatz
Modified: 2016-09-15 09:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge_info.txt (emerge_info.txt,4.74 KB, text/plain)
2016-09-12 08:58 UTC, Zeno Davatz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zeno Davatz 2016-09-12 08:58:36 UTC
Created attachment 445520 [details]
emerge_info.txt

I am trying to install

re2 (Version 0.2016.05.01) 

but somehow I get the following error.


make -j9 DESTDIR=/var/tmp/portage/dev-libs/re2-0.2016.05.01/image/ prefix=/usr libdir=$(exec_prefix)/lib64 install 
mkdir -p /var/tmp/portage/dev-libs/re2-0.2016.05.01/image//usr/include/re2 /var/tmp/portage/dev-libs/re2-0.2016.05.01/image//usr/lib64/pkgconfig
install -m 644 re2/filtered_re2.h re2/re2.h re2/set.h re2/stringpiece.h re2/variadic_function.h  /var/tmp/portage/dev-libs/re2-0.2016.05.01/image//usr/include/re2
install obj/libre2.a /var/tmp/portage/dev-libs/re2-0.2016.05.01/image//usr/lib64/libre2.a
install obj/so/libre2.so /var/tmp/portage/dev-libs/re2-0.2016.05.01/image//usr/lib64/libre2.so.0.0.0
ln -sf libre2.so.0.0.0 /var/tmp/portage/dev-libs/re2-0.2016.05.01/image//usr/lib64/libre2.so.0
ln -sf libre2.so.0.0.0 /var/tmp/portage/dev-libs/re2-0.2016.05.01/image//usr/lib64/libre2.so
sed -e "s#@prefix@#/usr#" \
        -e "s#@includedir@#/usr/include#" \
        -e "s#@libdir@#/usr/lib64#" \
        re2.pc.in >/var/tmp/portage/dev-libs/re2-0.2016.05.01/image//usr/lib64/pkgconfig/re2.pc
sed: can't read re2.pc.in: No such file or directory

Is a file missing here?

Thank you for your Feedback.

Best
Zeno
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2016-09-12 09:05:10 UTC
Portage 2.2.26 (python 2.7.11-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.9.3, glibc-2.19, 4.7.0 x86_64)

Wrong distribution. Please seek support elsewhere.
Comment 2 Zeno Davatz 2016-09-12 09:05:57 UTC
Just test it on your machine please.
Comment 3 Zeno Davatz 2016-09-12 09:07:14 UTC
It is also listed here: https://github.com/google/re2/issues/115
Comment 4 Zeno Davatz 2016-09-12 19:58:53 UTC
Also see here: https://github.com/google/re2/issues/115#event-785916318
The ebuild includes a patch (https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/re2/files/0.2016.05.01-pkgconfig.patch) that modifies the Makefile and ostensibly renames re2.pc to re2.pc.in. I'm not sure why the latter isn't working, but it isn't something that I can fix, so filing a bug for Gentoo folks seems like the right thing to do here. They might also be happy to know that the Makefile now performs those additional substitutions.