Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447806 - =app-backup/bacula-5.2.12 build log not verbose
Summary: =app-backup/bacula-5.2.12 build log not verbose
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: verbose_build
  Show dependency tree
 
Reported: 2012-12-19 11:43 UTC by Vicente Olivert Riera (RETIRED)
Modified: 2012-12-21 06:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vicente Olivert Riera (RETIRED) gentoo-dev 2012-12-19 11:43:21 UTC
>>> Compiling source in /var/tmp/portage/app-backup/bacula-5.0.3-r3/work/bacula-5.0.3 ...
make -j1 

...

Compiling attr.c
Compiling base64.c
Compiling berrno.c
Compiling bsys.c
Compiling bget_msg.c

...and more

Bumping the ebuild to EAPI5 doesn't help. Adding V=1 to emake doesn't help.

You can fix it by adding this simple find+sed command at the end of src_prepare function:

find . -type f -name 'Makefile.in' -exec sed -i {} -e 's:$(NO_ECHO)::g' \;
Comment 1 Thomas Beierlein gentoo-dev 2012-12-20 11:58:23 UTC
Fixed version in tree. I hope I got all problems. Thanks for thorough test.

+  20 Dec 2012; Thomas Beierlein <tomjbe@gentoo.org> bacula-5.0.3-r3.ebuild:
+  Fix to respect CXX and CXXFLAGS (bug #447728 and 447730). Make build log
+  verbose (bug #447806). Fix problems with USE=static. Switch to EAPI=5 and
+  REQUIRED_USE. Thanks ago and peratu
+
Comment 2 Julian Ospald 2012-12-20 17:53:01 UTC
no, sed is not nice for this

do:


--- app-backup/bacula/bacula-5.2.12.ebuild
+++ app-backup/bacula/bacula-5.2.12.ebuild
@@ -211,6 +211,11 @@
 	fi
 }
 
+
+src_compile() {
+	emake NO_ECHO=""
+}
+
 src_install() {
 	emake DESTDIR="${D}" install
 	doicon scripts/bacula.png
Comment 3 Vicente Olivert Riera (RETIRED) gentoo-dev 2012-12-20 19:14:01 UTC
(In reply to comment #2)

Good point Julian :-)
Comment 4 Thomas Beierlein gentoo-dev 2012-12-21 06:45:47 UTC
(In reply to comment #2)
> no, sed is not nice for this
> 
You are right. That is much easier. Thanks for the hint.

And wrt 5.2.12: I was aware that it had to be fixed also. But lets go step by step...

Here it comes:

+  21 Dec 2012; Thomas Beierlein <tomjbe@gentoo.org> bacula-5.0.3-r3.ebuild,
+  bacula-5.2.12.ebuild:
+  Make build log verbose - simplified version (bug 447806). Thanks hasufell.
+