I suggest that fink be enhanced to do what some other systems have been doing lately: package up all the info for a bug report and send it to the right place (after the user has a chance to look it over and say OK).

The above functionality would replace the stdout dump of do-it-yourself "Please submit a full bug report" instructions exemplified below, which occurred as the first thing I tried to do after a clean install of fink 029.9 on my 10.6.1 system with Xcode 3.2.1.

Sat 20:09:46 yost /Users/yost
0 232 Z% fink selfupdate
Password:

fink needs you to choose a SelfUpdateMethod.

(1)     cvs
(2)     Stick to point releases
(3)     rsync

Choose an update method [3] 3
/usr/bin/find /sw/fink -name CVS -type d -print0 | xargs -0 /bin/rm -rf
fink is setting your default update method to rsync
rsync -az -q rsync://distfiles.master.finkmirrors.net/finkinfo//TIMESTAMP /sw/fink/TIMESTAMP.tmp
I will now run the rsync command to retrieve the latest package descriptions.
rsync -rtz --delete-after --delete -q --include='10.4/' --include='10.4/stable/' --include='10.4/stable/main/' --include='10.4/stable/main/finkinfo/' --include='10.4/stable/main/finkinfo/*/' --include='10.4/stable/main/finkinfo/*' --include='10.4/stable/main/finkinfo/**/*' --include='10.4/' --include='10.4/stable/' --include='10.4/stable/crypto/' --include='10.4/stable/crypto/finkinfo/' --include='10.4/stable/crypto/finkinfo/*/' --include='10.4/stable/crypto/finkinfo/*' --include='10.4/stable/crypto/finkinfo/**/*' --include='VERSION' --include='DISTRIBUTION' --include='README' --exclude='**' 'rsync://distfiles.master.finkmirrors.net/finkinfo' '/sw/fink/'
Scanning package description files..........
Information about 2987 packages read in 9 seconds.
No packages to install.

The core packages have been updated. You should now update the other packages using commands like 'fink update-all'.

Sat 20:13:17 yost /Users/yost
1 237 Z% sudo fink install gcc44 gcc44-shlibs
Information about 2987 packages read in 0 seconds.
The following 2 packages will be installed or updated:
 gcc44 gcc44-shlibs
The following 19 additional packages will be installed:
autoconf cloog cloog-shlibs expat1 expat1-shlibs gettext-tools gmp gmp-shlibs libgettextpo2-shlibs libgmpxx-shlibs libmpfr1 libmpfr1-shlibs libtool14 libtool14-shlibs m4 ppl ppl-shlibs texi2html texinfo
Do you want to continue? [Y/n] y
...
/sw/src/fink.build/gcc44-4.4.1-1000/darwin_objdir/./prev-gcc/xgcc -B/sw/src/fink.build/gcc44-4.4.1-1000/darwin_objdir/./prev-gcc/ -B/sw/lib/gcc4.4/i686-apple-darwin10/bin/ -c -g -O2 -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.4.1/gcc -I../../gcc-4.4.1/gcc/. -I../../gcc-4.4.1/gcc/../include -I../../gcc-4.4.1/gcc/../libcpp/include -I/sw/include -I../../gcc-4.4.1/gcc/../libdecnumber -I../../gcc-4.4.1/gcc/../libdecnumber/dpd -I../libdecnumber -I/sw/include -I/sw/include -DCLOOG_PPL_BACKEND -I/sw/include ../../gcc-4.4.1/gcc/dbxout.c -o dbxout.o
../../gcc-4.4.1/gcc/dbxout.c: In function 'dbxout_begin_simple_stabs':
../../gcc-4.4.1/gcc/dbxout.c:584: internal compiler error: in ggc_set_mark, at ggc-page.c:1319
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [dbxout.o] Error 1
make[3]: *** Waiting for unfinished jobs....
rm gfortran.pod
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2
### execution of /var/tmp/tmp.4.FE0nw5 failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-gcc44-4.4.1-1000
(Reading database ... 7041 files and directories currently installed.)
Removing fink-buildlock-gcc44-4.4.1-1000 ...
Updating the list of locally available binary packages.
Scanning dists/stable/main/binary-darwin-i386
New package: dists/stable/main/binary-darwin-i386/base/expat1-shlibs_2.0.1-1_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/base/expat1_2.0.1-1_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/base/gettext-tools_0.14.5-4_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/base/libgettextpo2-dev_0.14.5-4_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/base/libgettextpo2-shlibs_0.14.5-4_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/devel/autoconf2.5_2.63-2_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/devel/autoconf_2.63-2_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/devel/cloog-shlibs_0.15.7-1_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/devel/cloog_0.15.7-1_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/devel/libtool14-shlibs_1.5.26-2_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/devel/libtool14_1.5.26-2_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/devel/m4_1.4.13-1_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/devel/ppl-shlibs_0.10.2-1_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/devel/ppl_0.10.2-1_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/libs/gmp-shlibs_4.3.1-1000_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/libs/gmp_4.3.1-1000_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/libs/libgmpxx-shlibs_4.3.1-1000_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/libs/libmpfr1-shlibs_2.4.1-1_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/libs/libmpfr1_2.4.1-1_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/text/texi2html_1.64-16_darwin-i386.deb New package: dists/stable/main/binary-darwin-i386/text/texinfo_4.11-1002_darwin-i386.deb
Failed: phase compiling: gcc44-4.4.1-1000 failed

Before reporting any errors, please run "fink selfupdate" and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:

        None <fink-devel@lists.sourceforge.net>

Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.

Sat 21:09:05 yost /Users/yost
2 238 Z% fink selfupdate
Password:
rsync -az -q rsync://distfiles.master.finkmirrors.net/finkinfo//TIMESTAMP /sw/fink/TIMESTAMP.tmp
I will now run the rsync command to retrieve the latest package descriptions.
rsync -rtz --delete-after --delete -q --include='10.4/' --include='10.4/stable/' --include='10.4/stable/main/' --include='10.4/stable/main/finkinfo/' --include='10.4/stable/main/finkinfo/*/' --include='10.4/stable/main/finkinfo/*' --include='10.4/stable/main/finkinfo/**/*' --include='10.4/' --include='10.4/stable/' --include='10.4/stable/crypto/' --include='10.4/stable/crypto/finkinfo/' --include='10.4/stable/crypto/finkinfo/*/' --include='10.4/stable/crypto/finkinfo/*' --include='10.4/stable/crypto/finkinfo/**/*' --include='VERSION' --include='DISTRIBUTION' --include='README' --exclude='**' 'rsync://distfiles.master.finkmirrors.net/finkinfo' '/sw/fink/'
Scanning package description files..........
Information about 2987 packages read in 1 seconds.
No packages to install.

The core packages have been updated. You should now update the other packages using commands like 'fink update-all'.

Sun 12:18:13 yost /Users/yost
0 239 Z% fink update-all
Information about 2987 packages read in 0 seconds.
No packages to install.
Sun 12:19:00 yost /Users/yost
0 240 Z% sudo fink install gcc44
Information about 2987 packages read in 0 seconds.
The following package will be installed or updated:
 gcc44
The following additional package will be installed:
 gcc44-shlibs
Do you want to continue? [Y/n] y
Setting runtime build-lock...
...
/sw/src/fink.build/gcc44-4.4.1-1000/darwin_objdir/./prev-gcc/xgcc -B/sw/src/fink.build/gcc44-4.4.1-1000/darwin_objdir/./prev-gcc/ -B/sw/lib/gcc4.4/i686-apple-darwin10/bin/ -c -g -O2 -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.4.1/gcc -I../../gcc-4.4.1/gcc/. -I../../gcc-4.4.1/gcc/../include -I../../gcc-4.4.1/gcc/../libcpp/include -I/sw/include -I../../gcc-4.4.1/gcc/../libdecnumber -I../../gcc-4.4.1/gcc/../libdecnumber/dpd -I../libdecnumber -I/sw/include -I/sw/include -DCLOOG_PPL_BACKEND -I/sw/include insn-recog.c -o insn-recog.o
../../gcc-4.4.1/gcc/config/i386/sync.md: In function 'recog_35':
../../gcc-4.4.1/gcc/config/i386/sync.md:30: internal compiler error: in df_reg_chain_mark, at df-scan.c:4277
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [insn-recog.o] Error 1
make[3]: *** Waiting for unfinished jobs....
rm gfortran.pod
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2
### execution of /var/tmp/tmp.1.JQ1amf failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-gcc44-4.4.1-1000
(Reading database ... 7041 files and directories currently installed.)
Removing fink-buildlock-gcc44-4.4.1-1000 ...
Failed: phase compiling: gcc44-4.4.1-1000 failed

Before reporting any errors, please run "fink selfupdate" and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:

        None <fink-devel@lists.sourceforge.net>

Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.


Sun 12:33:54 yost /Users/yost
2 243 Z% fink --version
Package manager version: 0.29.9
Distribution version: selfupdate-rsync Sun Oct 11 12:18:12 2009, 10.6, i386

Copyright (c) 2001 Christoph Pfisterer
Copyright (c) 2001-2009 The Fink Package Manager Team
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
Sun 14:57:09 yost /Users/yost
0 245 Z% which gcc
/usr/bin/gcc
Sun 14:57:26 yost /Users/yost
0 246 Z% gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Sun 14:57:28 yost /Users/yost
0 247 Z%
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to