Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657050 - net-proxy/squidguard-1.5_beta-r2 fails test: make: *** [Makefile:<snip>: test] Error 2
Summary: net-proxy/squidguard-1.5_beta-r2 fails test: make: *** [Makefile:<snip>: test...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-06-01 16:01 UTC by Toralf Förster
Modified: 2025-01-16 15:07 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.32 KB, text/plain)
2018-06-01 16:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,134.34 KB, text/plain)
2018-06-01 16:01 UTC, Toralf Förster
Details
environment (environment,110.93 KB, text/plain)
2018-06-01 16:01 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.75 KB, application/x-bzip)
2018-06-01 16:01 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,16.62 KB, application/x-bzip)
2018-06-01 16:01 UTC, Toralf Förster
Details
net-proxy:squidguard-1.5_beta-r2:20180601-112231.log (net-proxy:squidguard-1.5_beta-r2:20180601-112231.log,14.04 KB, text/plain)
2018-06-01 16:02 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.35 KB, application/x-bzip)
2018-06-01 16:02 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-06-01 16:01:44 UTC
make[1]: *** [Makefile:39: test1] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-proxy/squidguard-1.5_beta-r2/work/squidGuard-1.5-beta/test'
make: *** [Makefile:40: test] Error 2
 * ERROR: net-proxy/squidguard-1.5_beta-r2::gentoo failed (test phase):
 *   Make test failed. See above for details.
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome_test_20180527-110136

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv net-proxy/squidguard
[ebuild  N    ] net-proxy/squidguard-1.5_beta-r2  USE="ldap" 

!!! The following installed packages are masked:
- app-crypt/openpgp-keys-gentoo-mirror-20180528::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Michał Górny <mgorny@gentoo.org> (30 May 2018)
# Gentoo repository mirrors are now running on Gentoo Infastructure,
# and the key used to sign commits is appropriately part of the regular
# keyring (>=app-crypt/openpgp-keys-gentoo-release-20180530).  Please
# upgrade this keyring, and remove the custom sync-openpgp-key-path from
# your repos.conf to make Portage use the release keys.
# Removal in 30 days.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 1 Toralf Förster gentoo-dev 2018-06-01 16:01:47 UTC
Created attachment 534386 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-06-01 16:01:50 UTC
Created attachment 534388 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-06-01 16:01:53 UTC
Created attachment 534390 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-06-01 16:01:56 UTC
Created attachment 534392 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-06-01 16:01:58 UTC
Created attachment 534394 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-06-01 16:02:01 UTC
Created attachment 534396 [details]
net-proxy:squidguard-1.5_beta-r2:20180601-112231.log
Comment 7 Toralf Förster gentoo-dev 2018-06-01 16:02:04 UTC
Created attachment 534398 [details]
temp.tbz2
Comment 8 Agostino Sarubbo gentoo-dev 2022-02-13 09:53:49 UTC
Update summary. [something] is used when something refers to an overlay
Comment 9 NHO 2025-01-16 13:29:04 UTC
bug is obsolete, squidguard-1.5 is off the tree
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-16 14:00:29 UTC
Seems like it was trying to write to the system dir:
```
 13085 total
Running test1 with 1005 requests..2018-06-01 13:22:48 [12672] ../src/squidGuard: can't write to logfile /var/log/squidGuard/squidGuard.log
2018-06-01 13:22:48 [12672] INFO: New setting: logdir: /var/tmp/portage/net-proxy/squidguard-1.5_beta-r2/work/squidGuard-1.5-beta/test
2018-06-01 13:22:48 [12672] INFO: New setting: dbhome: /var/tmp/portage/net-proxy/squidguard-1.5_beta-r2/work/squidGuard-1.5-beta/test
.Done
Checking number of output lines..
make[1]: *** [Makefile:39: test1] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-proxy/squidguard-1.5_beta-r2/work/squidGuard-1.5-beta/test'
make: *** [Makefile:40: test] Error 2
 * ERROR: net-proxy/squidguard-1.5_beta-r2::gentoo failed (test phase):
```

You're sure it got fixed?
Comment 11 NHO 2025-01-16 14:51:30 UTC
No, it didn't get fixed. Bug is live, but with 1.6
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-16 14:53:46 UTC
(In reply to NHO from comment #11)
> No, it didn't get fixed. Bug is live, but with 1.6

Please check in future :)
Comment 13 NHO 2025-01-16 15:07:58 UTC
I am not sure how to fix it. main.c sets default log directory from compiled-in parameters, then reads config, then re-sets it to directory in config.
We pass that compiled-in directory in ebuild, as `--with-sg-logdir=/var/log/squidGuard`