From: Michael Snyder <msnyder@vmware.com>
To: Tom Tromey <tromey@redhat.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: FYI: make python install directory
Date: Thu, 19 Aug 2010 18:11:00 -0000 [thread overview]
Message-ID: <4C6D73B1.7040903@vmware.com> (raw)
In-Reply-To: <4C6D71ED.2020206@vmware.com>
Michael Snyder wrote:
> Tom Tromey wrote:
>> I'm checking this in on the trunk and the 7.2 branch.
>>
>> PR 11900 says that gdb's breaks help with Python 2.4.
>> This happens because the gdb module's __path__ points to a directory
>> which does not exist.
>>
>> This patch fixes the problem by arranging to make the appropriate
>> directory at install time.
>>
>> Joel, I'm afraid your patches in this area will need a small update.
>> Or you can just back this out when those go in -- it doesn't matter at
>> all to me. I went with this very minimal patch just because it seems
>> important to fix for 7.2.
>
> This seems to generate a new build error for me:
>
> mkdir cannot create /usr/share/gdb Permission denied
Err, with more context:
/bin/sh ./../mkinstalldirs
/build/mts/release/bora-289896/rhel52-64/gdb-7.1.90/buildroot/rpmtmp/TMP/gdb-root/usr/share
cats=""; for cat in $cats; do \
lang=`basename $cat | sed 's/\.gmo$//'`; \
if [ -f $cat ]; then :; \
elif [ -f ./$cat ]; then cat=./$cat; \
else continue; \
fi; \
dir=/usr/share/locale/$lang/LC_MESSAGES; \
echo /bin/sh ./../mkinstalldirs
/build/mts/release/bora-289896/rhel52-64/gdb-7.1.90/buildroot/rpmtmp/TMP/gdb-root$dir;
\
/bin/sh ./../mkinstalldirs
/build/mts/release/bora-289896/rhel52-64/gdb-7.1.90/buildroot/rpmtmp/TMP/gdb-root$dir
|| exit 1; \
echo /usr/bin/install -c -m 644 $cat
/build/mts/release/bora-289896/rhel52-64/gdb-7.1.90/buildroot/rpmtmp/TMP/gdb-root$dir/gdb.mo;
\
/usr/bin/install -c -m 644 $cat
/build/mts/release/bora-289896/rhel52-64/gdb-7.1.90/buildroot/rpmtmp/TMP/gdb-root$dir/gdb.mo;
\
done
transformed_name=`t='s&^&&'; \
echo gdbtui | sed -e "$t"` ; \
if test "x$transformed_name" = x; then \
transformed_name=gdbtui ; \
else \
true ; \
fi ; \
/bin/sh ./../mkinstalldirs
/build/mts/release/bora-289896/rhel52-64/gdb-7.1.90/buildroot/rpmtmp/TMP/gdb-root/usr/bin
; \
/usr/bin/install -c gdbtui \
/build/mts/release/bora-289896/rhel52-64/gdb-7.1.90/buildroot/rpmtmp/TMP/gdb-root/usr/bin/$transformed_name
; \
/bin/sh ./../mkinstalldirs \
/build/mts/release/bora-289896/rhel52-64/gdb-7.1.90/buildroot/rpmtmp/TMP/gdb-root/usr/share/man/man1
; \
/usr/bin/install -c -m 644 ./gdb.1 \
/build/mts/release/bora-289896/rhel52-64/gdb-7.1.90/buildroot/rpmtmp/TMP/gdb-root/usr/share/man/man1/$transformed_name.1
mkdir -p --
/build/mts/release/bora-289896/rhel52-64/gdb-7.1.90/buildroot/rpmtmp/TMP/gdb-root/usr/bin
mkdir -p --
/build/mts/release/bora-289896/rhel52-64/gdb-7.1.90/buildroot/rpmtmp/TMP/gdb-root/usr/share/man/man1
/bin/sh ./../mkinstalldirs /usr/share/gdb/python/gdb
mkdir -p -- /usr/share/gdb/python/gdb
mkdir: cannot create directory `/usr/share/gdb': Permission denied
make[3]: *** [install-python] Error 1
make[3]: Leaving directory
`/build/mts/release/bora-289896/rhel52-64/gdb-7.1.90/buildroot/rpmtmp/BUILD/gdb-7.1.90.20100802/gdb'
make[2]: *** [install-gdb] Error 2
make[2]: Leaving directory
`/build/mts/release/bora-289896/rhel52-64/gdb-7.1.90/buildroot/rpmtmp/BUILD/gdb-7.1.90.20100802'
make[1]: *** [install] Error 2
make[1]: Leaving directory
`/build/mts/release/bora-289896/rhel52-64/gdb-7.1.90/buildroot/rpmtmp/BUILD/gdb-7.1.90.20100802'
error: Bad exit status from
/build/mts/release/bora-289896/rhel52-64/gdb-7.1.90/buildroot/rpmtmp/TMP/rpm-tmp.3052
(%install)
RPM build errors:
Bad exit status from
/build/mts/release/bora-289896/rhel52-64/gdb-7.1.90/buildroot/rpmtmp/TMP/rpm-tmp.3052
(%install)
next prev parent reply other threads:[~2010-08-19 18:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-18 22:55 Tom Tromey
2010-08-19 18:03 ` Michael Snyder
2010-08-19 18:11 ` Michael Snyder [this message]
2010-08-19 18:26 ` Joel Brobecker
2010-08-19 18:39 ` Daniel Jacobowitz
2010-08-19 18:38 ` Tom Tromey
2010-08-23 18:27 ` Michael Snyder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C6D73B1.7040903@vmware.com \
--to=msnyder@vmware.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).