I added "arm" to KEYWORDS in net-proxy/squid/squid-2.6.16.ebuild, built digest and emerged squid. For me, it works fine on a Linksys NSLU2 (xscale armv5teb - big endian). root@NSLU2 ~ # emerge -vp squid These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-proxy/squid-2.6.16 USE="pam (-ipf-transparent) -ldap -logrotate (-nis) (-pf-transparent) -qos -samba -sasl (-selinux) -snmp -ssl -zero-penalty-hit" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB root@NSLU2 ~ # emerge --info Portage 2.1.2.12 (uclibc/arm, gcc-3.4.6, uclibc-0.9.28-r0, 2.6.16 armv5teb) ================================================================= System uname: 2.6.16 armv5teb XScale-IXP42x Family rev 1 (v5b) Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 23 Sep 2007 05:30:01 +0000 app-shells/bash: 3.2_p17 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="arm" CBUILD="armeb-softfloat-linux-uclibc" CFLAGS="-march=armv5t -Os" CHOST="armeb-softfloat-linux-uclibc" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=armv5t -Os" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes --timeout=500" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="arm cli cracklib dri jpeg midi mudflap ncurses openmp pam pcre readline reflection session spl uclibc xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY
Hi, does 3.0.8 work fine as well? Sorry for taking a bit, but we are a bit understaffed.
3.0.8 installs, but doesn't work. The squid process dies immediately after starting, before receiving any request from a client. In /var/log/messages is logged: Sep 12 14:45:47 NSLU2 squid[3535]: Squid Parent: child process 3538 started Sep 12 14:45:51 NSLU2 squid[3535]: Squid Parent: child process 3538 exited due to signal 11 Sep 12 14:45:54 NSLU2 squid[3535]: Squid Parent: child process 3543 started Sep 12 14:45:59 NSLU2 squid[3535]: Squid Parent: child process 3543 exited due to signal 11 Sep 12 14:46:02 NSLU2 squid[3535]: Squid Parent: child process 3546 started Sep 12 14:46:06 NSLU2 squid[3535]: Squid Parent: child process 3546 exited due to signal 11 Sep 12 14:46:09 NSLU2 squid[3535]: Squid Parent: child process 3549 started Sep 12 14:46:13 NSLU2 squid[3535]: Squid Parent: child process 3549 exited due to signal 11 Sep 12 14:46:16 NSLU2 squid[3535]: Squid Parent: child process 3552 started Sep 12 14:46:21 NSLU2 squid[3535]: Squid Parent: child process 3552 exited due to signal 11 Sep 12 14:46:21 NSLU2 squid[3535]: Exiting due to repeated, frequent failures root@NSLU2 ~ # emerge -vp squid These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-proxy/squid-3.0.8 USE="ssl -icap-client (-ipf-transparent) -ldap -logrotate (-nis) -pam (-pf-transparent) -qos -radius -samba -sasl (-selinux) -snmp -zero-penalty-hit" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB root@NSLU2 ~ # grep -v "^#" /etc/squid/squid.conf | grep -v "^$" acl manager proto cache_object acl localhost src 127.0.0.1/32 acl to_localhost dst 127.0.0.0/8 acl localnet src 10.0.0.0/8 # RFC1918 possible internal network acl localnet src 172.16.0.0/12 # RFC1918 possible internal network acl localnet src 192.168.0.0/16 # RFC1918 possible internal network acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl Safe_ports port 901 # SWAT acl purge method PURGE acl CONNECT method CONNECT http_access allow manager localhost http_access deny manager http_access allow purge localhost http_access deny purge http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access allow localnet http_access allow localhost http_access deny all icp_access allow localnet icp_access deny all htcp_access allow localnet htcp_access deny all http_port 3128 transparent hierarchy_stoplist cgi-bin ? access_log /var/log/squid/access.log squid debug_options ALL,9 refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern (cgi-bin|\?) 0 0% 0 refresh_pattern . 0 20% 4320 icp_port 3130 forwarded_for off coredump_dir /var/cache/squid root@NSLU2 ~ # emerge --info Portage 2.1.4.4 (uclibc/arm, gcc-3.4.6, uclibc-0.9.28.3-r3, 2.6.21.7 armv5teb) ================================================================= System uname: 2.6.21.7 armv5teb XScale-IXP42x Family rev 2 (v5b) Timestamp of tree: Thu, 11 Sep 2008 02:45:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.17-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="arm" CBUILD="armeb-softfloat-linux-uclibc" CFLAGS="-march=armv5t -Os" CHOST="armeb-softfloat-linux-uclibc" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=armv5t -Os" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes --timeout=500" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.1.2/gentoo-portage" USE="arm cli cracklib crypt dbus dri jpeg midi mudflap ncurses openmp pcre perl python readline reflection session spl ssl tcpd uclibc xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Yikes... Does 2.7.4-r1 work? Thanks
2.7.4-r1 works well, as far as I can see. If anyone is interested in investigating the crash in 3.0.8, I offer root access to my NSLUG for gentoo developers for some weeks. Of course the box may be used for other development purpose, too. Just send me an email.
Okay, i'll mark that version ~arm meanwhile, and mark -arm 3.0.8 until i or someone else investigates the crash. Thanks for testing
For the record: i've tried 3.0.9 with the following emerge --info and works fine, as far as i can tell: Generated Sat, 04 Oct 2008 11:14:02 GMT by coral (squid/3.0.STABLE9) Portage 2.1.4.4 (default/linux/arm/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25 armv4l) ================================================================= System uname: 2.6.25 armv4l StrongARM-110 rev 4 (v4l) Timestamp of tree: Sat, 04 Oct 2008 07:00:02 +0000 distcc 2.18.3 armv4l-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="arm" CBUILD="armv4l-unknown-linux-gnu" This is little endian, of course, so a lot of things could be the problem :/ And besides i'm using glibc.
On my NSLU2 net-proxy/squid-3.0.9 segfaults as well as 3.0.8. root@NSLU2 ~ # emerge -vp squid These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-proxy/squid-3.0.9 USE="ssl -icap-client (-ipf-transparent) -ldap -logrotate -mysql (-nis) -pam (-pf-transparent) -postgres -qos -radius -samba -sasl (-selinux) -snmp -sqlite -zero-penalty-hit" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB root@NSLU2 ~ # /etc/init.d/squid start * Starting squid ... [ ok ] root@NSLU2 ~ # grep squid /var/log/messages Oct 5 12:32:25 NSLU2 squid[30840]: Squid Parent: child process 30843 started Oct 5 12:32:26 NSLU2 squid[30840]: Squid Parent: child process 30843 exited due to signal 11 Oct 5 12:32:29 NSLU2 squid[30840]: Squid Parent: child process 30848 started Oct 5 12:32:30 NSLU2 squid[30840]: Squid Parent: child process 30848 exited due to signal 11 Oct 5 12:32:33 NSLU2 squid[30840]: Squid Parent: child process 30851 started Oct 5 12:32:34 NSLU2 squid[30840]: Squid Parent: child process 30851 exited due to signal 11 Oct 5 12:32:37 NSLU2 squid[30840]: Squid Parent: child process 30859 started Oct 5 12:32:38 NSLU2 squid[30840]: Squid Parent: child process 30859 exited due to signal 11 Oct 5 12:32:41 NSLU2 squid[30840]: Squid Parent: child process 30862 started Oct 5 12:32:43 NSLU2 squid[30840]: Squid Parent: child process 30862 exited due to signal 11 Oct 5 12:32:43 NSLU2 squid[30840]: Exiting due to repeated, frequent failures
Also WFM with squid-3.0.10 on this system: Portage 2.1.6.4 (default/linux/arm/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 armv5tel) ================================================================= System uname: Linux-2.6.27-gentoo-r7-armv5tel-Feroceon_rev_0_-v5l-with-glibc2.4 Timestamp of tree: Thu, 01 Jan 2009 16:00:16 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="arm" CBUILD="armv5tel-softfloat-linux-gnueabi" CFLAGS="-Os -pipe -march=armv5te -mtune=arm926ej-s" CHOST="armv5tel-softfloat-linux-gnueabi" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-Os -pipe -march=armv5te -mtune=arm926ej-s" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.dei.uc.pt/pub/linux/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://darkstar.ist.utl.pt/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--prune-empty-dirs" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://boobie.gentoo.org/gentoo-portage" USE="arm berkdb bzip2 ccache cli cracklib crypt fortran gdbm gpm iconv isdnlog midi mudflap ncurses nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage sis tdfx trident vga voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY Adding embedded to cc in case its an uclibc issue
I've restored the ~arm keyword on >=squid-3, but masked it on the uclibc profile.
Reassign
I do not think it is still valid