Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 476002 - net-proxy/oops : does not respect CXX
Summary: net-proxy/oops : does not respect CXX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2013-07-06 22:15 UTC by Agostino Sarubbo
Modified: 2013-12-15 20:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---
dastergon: Bugday+


Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-07-06 22:15:07 UTC
You receive this bug because this package does not respect my system's CXX (x86_64-pc-linux-gnu-g++) and calls directly /usr/bin/g++(or similar)
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can;
2)inherit toolchain-funcs and use tc-export CXX
3)inherit toolchain-funcs and use emake CXX="$(tc-getCXX)"

From the build log:

g++ -march=native -O2 -g0 -pipe -D_REENTRANT -DLINUX -DWITH_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D__USE_LARGEFILE64 -D__USE_FILE_OFFSET64 -I/usr/include -export-dynamic 
-fPIC -DHAVE_CONFIG_H -shared  gigabase_db_api.cpp   -lpthread -lfl -lpam  -lcrypt -ldl -lpcreposix -L/usr/lib -ldb -o
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-12-15 20:27:28 UTC
+  15 Dec 2013; Tom Wijsman <>
+  +files/oops-1.5.24-respect-flags.patch, +oops-1.5.24_pre20050503-r5.ebuild:
+  Revision bump. Respect LDFLAGS, LD and CXX; fixes bugs #476000, #476002 and
+  #476004. Thanks to dlan for contributing patches. Use /run instead of
+  /var/run; fixes bug #451794. EAPI 5.

Thank you for your report.