[
https://issues.apache.org/jira/browse/BIGTOP-1169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055936#comment-14055936
]
Guodong Wang commented on BIGTOP-1169:
--------------------------------------
I found these log in the error message
{noformat}
/home/gordon/bigtop/build/hue/rpm/BUILDROOT/hue-3.6.0-1.el6.x86_64/usr/lib/hue/apps/logs/syncdb.log:[09/Jul/2014
02:11:15 ] appmanager DEBUG Old-style static directory:
/home/gordon/bigtop/build/hue/rpm/BUILDROOT/hue-3.6.0-1.el6.x86_64/usr/lib/hue/apps/zookeeper/static
/home/gordon/bigtop/build/hue/rpm/BUILDROOT/hue-3.6.0-1.el6.x86_64/usr/lib/hue/apps/logs/migrate.log:[09/Jul/2014
02:11:16 ] appmanager DEBUG Old-style static directory:
/home/gordon/bigtop/build/hue/rpm/BUILDROOT/hue-3.6.0-1.el6.x86_64/usr/lib/hue/desktop/core/static
/home/gordon/bigtop/build/hue/rpm/BUILDROOT/hue-3.6.0-1.el6.x86_64/usr/lib/hue/apps/logs/migrate.log:[09/Jul/2014
02:11:16 ] appmanager DEBUG Old-style static directory:
/home/gordon/bigtop/build/hue/rpm/BUILDROOT/hue-3.6.0-1.el6.x86_64/usr/lib/hue/desktop/libs/indexer/static
{noformat}
Bigtop add migrate/syncdb log to rpm package, then, check_root script fails,
because these log file contains BUILD_ROOT string.
A possible work around is that excludes the file under /usr/lib/hue/apps/logs.
But I am wondering why Hue does the DB sync and migration when building.
Normally, DB migration should be done when the app starts at the first time. No
need to init DB during compiling time.
> Hue rpm build fails
> -------------------
>
> Key: BIGTOP-1169
> URL: https://issues.apache.org/jira/browse/BIGTOP-1169
> Project: Bigtop
> Issue Type: Bug
> Components: RPM
> Reporter: Mikhail Antonov
>
> Error is:
> Found
> '/projects/apache/bigtop/build/hue/rpm/BUILDROOT/hue-2.5.1-1.fc19.x86_64' in
> installed files; aborting
> error: Bad exit status from /var/tmp/rpm-tmp.T9MSVV (%install)
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.T9MSVV (%install)
> make: *** [/projects/apache/bigtop/build/hue//.rpm] Error 1
--
This message was sent by Atlassian JIRA
(v6.2#6252)