[Bug 879879] Review Request: moodle-xs - A Course Management System

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=879879

--- Comment #3 from ben.harper@xxxxxxxxxxxxx ---
Here are the contents of /var/www/moodle/web from my previous tests:

#####################
$ ls
~/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/var/www/moodle/web/
admin   blog           course    files   help.php   lib      mnet   pix      
sso    userpix
auth    build-version  enrol     filter  index.php  local    mod    question 
tag    version.php
backup  calendar       error     grade   iplookup   login    my     rss      
theme
blocks  config.php     file.php  group   lang       message  notes  search   
user

# ls /var/lib/mock/fedora-17-i386-user/root/var/www/moodle/web/
admin   blog           course    files   help.php   lib      mnet   pix      
sso    userpix
auth    build-version  enrol     filter  index.php  local    mod    question 
tag    version.php
backup  calendar       error     grade   iplookup   login    my     rss      
theme
blocks  config.php     file.php  group   lang       message  notes  search   
user
#####################

Here is another test, issuing using 'rpmbuild -ba' command:

#####################
$ rpmbuild -ba SPECS/moodle-xs.spec 
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1NJTbG
+ umask 022
+ cd /home/user/879879/user/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/user/879879/user/BUILD
+ rm -rf moodle-xs-1.9.5.xs1.15.g7c6a865
+ /usr/bin/gzip -dc
/home/user/879879/user/SOURCES/moodle-xs-1.9.5.xs1.15.g7c6a865.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd moodle-xs-1.9.5.xs1.15.g7c6a865
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ find . -type f '!' -name '*.pl' -exec chmod a-x '{}' ';'
+ find . -name '*.cgi' -exec chmod a+x '{}' ';'
+ chmod a+x admin/process_email.php
+ chmod a+x mod/chat/chatd.php
+ chmod a+x mod/wiki/ewiki/fragments/mkhuge
+ rm search/.cvsignore
+ sed -i 's/\r//' lib/adodb/license.txt
+ sed -i 's/\r//' lib/adodb/readme.txt
+ sed -i 's/\r//' lib/adodb/session/adodb-sess.txt
+ sed -i 's/\r//' lib/mp3player/readme.txt
+ sed -i 's/\r//' lib/pclzip/gnu-lgpl.txt
+ sed -i 's/\r//' lib/pclzip/readme.txt
+ sed -i 's/\r//' mod/wiki/ewiki/README
+ sed -i 's/\r//' mod/wiki/ewiki/README.de
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UZhAAM
+ umask 022
+ cd /home/user/879879/user/BUILD
+ cd moodle-xs-1.9.5.xs1.15.g7c6a865
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm config-dist.php install.php COPYING.txt tags.txt filter/tex/mimetex.darwin
filter/tex/mimetex.exe filter/tex/mimetex.freebsd filter/tex/mimetex.linux
filter/tex/README.mimetex
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xzwJ2S
+ umask 022
+ cd /home/user/879879/user/BUILD
+ '['
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64
'!=' / ']'
+ rm -rf
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64
++ dirname
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64
+ mkdir -p /home/user/879879/user/BUILDROOT
+ mkdir
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64
+ cd moodle-xs-1.9.5.xs1.15.g7c6a865
+ LANG=C
+ export LANG
+ unset DISPLAY
+ mkdir -p
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/var/www/moodle/web
+ mkdir -p
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/var/lib/moodle
+ mkdir -p
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/var/log/moodle
+ mkdir -p
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/etc/moodle/conf.d
+ cp -a Makefile README.txt admin auth backup blocks blog build-version
calendar course enrol error file.php files filter grade group help.php
index.php install iplookup lang lib local login message mnet mod my notes pix
question rpm rss search sso tag theme user userpix version.php
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/var/www/moodle/web
+ rm
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/var/www/moodle/web/README.txt
+ rm -fr
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/var/www/moodle/web/install
+ install -p -D -m 0644 rpm/moodle.conf
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/etc/httpd/conf.d/moodle.conf
+ install -p -D -m 0644 rpm/moodle-config.php
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/var/www/moodle/web/config.php
+ install -p -D -m 0644 rpm/moodle.cron
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/etc/cron.d/moodle
+ install -p -D -m 0644 rpm/moodle.logrotate
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/etc/logrotate.d/moodle
+ install -p -D -m 0755 rpm/moodle-cron
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/usr/sbin/moodle-cron
+ install -p -D -m 0755 rpm/moodle.init
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/etc/rc.d/init.d/moodle
+ rm -fr
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/var/www/moodle/web/rpm
+ rm
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/var/www/moodle/web/Makefile
+ find
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64
-name '*.mimetex-*' -exec rm '{}' ';'
+ find
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64
-size 0 -name '*.sql' -exec rm '{}' ';'
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id
/home/user/879879/user/BUILD/moodle-xs-1.9.5.xs1.15.g7c6a865
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.noarch
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gS8qg3
+ umask 022
+ cd /home/user/879879/user/BUILD
+ cd moodle-xs-1.9.5.xs1.15.g7c6a865
+
DOCDIR=/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/usr/share/doc/moodle-xs-1.9.5.xs1.15.g7c6a865
+ export DOCDIR
+ /usr/bin/mkdir -p
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/usr/share/doc/moodle-xs-1.9.5.xs1.15.g7c6a865
+ cp -pr README.txt
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/usr/share/doc/moodle-xs-1.9.5.xs1.15.g7c6a865
+ exit 0
warning: File listed twice: /var/www/moodle/web/config.php
Provides: config(moodle-xs) = 1.9.5.xs1.15.g7c6a865-1.0.2.fc17 moodle-xs =
1.9.0 perl(AlgParser) perl(AlgParserWithImplicitExpand) perl(Expr)
perl(ExprWithImplicitExpand)
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <=
4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh /sbin/chkconfig pwgen
Requires(preun): /bin/sh /sbin/chkconfig /sbin/service
Requires: /bin/bash /bin/sh /usr/bin/perl /usr/bin/php perl(HTML::Entities)
Conflicts: moodle <= 2.5.0
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/home/user/879879/user/BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64
Wrote:
/home/user/879879/user/SRPMS/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.src.rpm
Wrote:
/home/user/879879/user/RPMS/noarch/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Qhomhw
+ umask 022
+ cd /home/user/879879/user/BUILD
+ cd moodle-xs-1.9.5.xs1.15.g7c6a865
+ exit 0

$ ls
BUILDROOT/moodle-xs-1.9.5.xs1.15.g7c6a865-1.0.2.fc17.x86_64/var/www/moodle/web/
admin   blog           course    files   help.php   lib      mnet   pix      
sso    userpix
auth    build-version  enrol     filter  index.php  local    mod    question 
tag    version.php
backup  calendar       error     grade   iplookup   login    my     rss      
theme
blocks  config.php     file.php  group   lang       message  notes  search   
user
#####################

Looking over the output from the fedora-review, it appears that the
/var/www/moodle/web/ directory is getting created, because it is noticing from
empty files within that directory:

moodle-xs.noarch: E: zero-length
/var/www/moodle/web/theme/chameleon/temp_user_styles.css


Are you not seeing the /var/www/moodle/web/ directory within your BUILDROOT?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]