fetch does not like -fstack-protector?

Tomaz Borstnar tomaz.borstnar at over.net
Sun Mar 7 06:00:19 PST 2004


Hello!

	Noticed this problem very early when playing with -fstack-protector on 
dfly - seems like fetch does not like -fstack-protector so sometimes 
transfers fail. Interesting is that FreeBSD (both 4.x and 5.x) does not 
seem to be affected by this.

# pwd
/usr/ports/sysutils/portupgrade
# find /usr/ports/distfiles -delete
find: -delete: /usr/ports/distfiles: relative path potentially not safe
# rm /usr/ports/distfiles/*
rm: No match.
# pwd
/usr/ports/sysutils/portupgrade
# make
===>  Vulnerability check disabled
>> pkgtools-20040208.tar.bz2 doesn't seem to exist in 
/usr/ports/distfiles/.
>> Attempting to fetch from ftp://ftp.iDaemons.org/pub/distfiles/.
fetch: ftp://ftp.iDaemons.org/pub/distfiles/pkgtools-20040208.tar.bz2: 
Unknown FTP error
>> Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/knu/.
Receiving pkgtools-20040208.tar.bz2 (98338 bytes): 0%
0 bytes transferred in 0.0 seconds (0.00 Bps)
fetch: pkgtools-20040208.tar.bz2 appears to be truncated: -1/98338 bytes
>> Attempting to fetch from 
ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/knu/.
Receiving pkgtools-20040208.tar.bz2 (98338 bytes): 100%
98338 bytes transferred in 0.5 seconds (176.34 kBps)
===>  Extracting for portupgrade-20040208
>> Checksum OK for pkgtools-20040208.tar.bz2.
===>   portupgrade-20040208 depends on file: /usr/local/bin/ruby18 - not 
found
===>    Verifying install for /usr/local/bin/ruby18 in 
/usr/ports/lang/ruby18
===>  Vulnerability check disabled
>> ruby-1.8.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/ruby.
>> Attempting to fetch from ftp://ftp.iij.ad.jp/pub/lang/ruby/1.8/.
Receiving ruby-1.8.1.tar.gz (2671875 bytes): 0%
0 bytes transferred in 0.0 seconds (0.00 Bps)
fetch: ruby-1.8.1.tar.gz appears to be truncated: -1/2671875 bytes
>> Attempting to fetch from http://www.ibiblio.org/pub/languages/ruby/1.8/.
fetch: ruby-1.8.1.tar.gz: local modification time does not match remote
>> Attempting to fetch from ftp://xyz.lcs.mit.edu/pub/ruby/1.8/.
fetch: ruby-1.8.1.tar.gz: local modification time does not match remote
>> Attempting to fetch from ftp://www.t.ring.gr.jp/pub/lang/ruby/1.8/.

Or another...
FreeBSD machine in same segment...
machine# cd /usr/ports/databases/ruby-bdb1
machine# make fetch
===>  Vulnerability check disabled
>> bdb1-0.2.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/ruby.
>> Attempting to fetch from ftp://moulon.inra.fr/pub/ruby/.
Receiving bdb1-0.2.2.tar.gz (73016 bytes): 100%
73016 bytes transferred in 0.3 seconds (273.09 kBps)
dfly machine running sources as of yesterday (built with CPUTYPE=p3 and 
CCVER=gcc3 and CFLAGS=-O2 -pipe -funroll-loops -fstack-protector)
# make install
===>  Installing for portupgrade-20040208
===>   portupgrade-20040208 depends on file: 
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd4/bdb1.so - not found
===>    Verifying install for 
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd4/bdb1.so in 
/usr/ports/databases/ruby-bdb1
===>  Vulnerability check disabled
>> bdb1-0.2.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/ruby.
>> Attempting to fetch from ftp://moulon.inra.fr/pub/ruby/.
fetch: ftp://moulon.inra.fr/pub/ruby/bdb1-0.2.2.tar.gz: Unknown FTP error
>> Attempting to fetch from ftp://ftp.iDaemons.org/pub/distfiles/ruby/.
fetch: ftp://ftp.iDaemons.org/pub/distfiles/ruby/bdb1-0.2.2.tar.gz: 
Unknown FTP error
>> Couldn't fetch it - please try to retrieve this
>> port manually into /usr/ports/distfiles/ruby and try again.
*** Error code 1

Tomaž





More information about the Kernel mailing list