Geoffroy,

This is strange that the files did not get deleted in your svn tree as it's 
clearly written in doc/Makefile.in that those files should be deleted.

1st of all, removing those 2 files for SVN is IMHO, the way to go as I've 
tested a make dist-gzip and rpmbuild -bb opkgc.spec with this dist file 
(missing the 2 html files) and the files are correctly built. So I see no 
reason to keep those files in the SVN repo as this is redundant with the xml 
version. Any reasons for that (build dep on other distro?)

For the explanation on why the files get deleted, here is the detail:

The make clean in trunk will trigger the recursive make clean and, in the doc 
dir, it will run:
rm -rf   opkgc-manual.html opkgc.1.html opkg.5.html opkgc.1 opkg.5 opkgc.1 
opkg.5  *~
Which is IMHO normal as those files can be generated from the xml 
version.(tested ok)

Looking closely to the make file let see that ONEHTMLDOC="yes" was used to 
generate the Makefiles in the svn.
Thus, the Makefile will include ONE_HTML_TARGET in ALL_TARGETS and make clean 
will clean the files....

So, in the svn tree, doing a make clean will erase the files, but if you make 
dist-gzip, untar the archive elsewhere and do a ./configure, then the files may 
or may not be deleted. it depends if the ONE_HTML_TARGET is set to yes by 
configure script. (did not test)

Relevant parts of the Makefile.in:
htmldocs = opkgc-manual
onehtmldocs = opkgc-manual.html opkgc.1.html opkg.5.html
CLEAN_FILES = $(manpages) $(EXTRA_CLEAN_FILES)
ALL_TARGETS=$(PDF_TARGETS) $(HTML_TARGETS) $(ONE_HTML_TARGETS) $(MAN_TARGETS)
ifeq ("@HTMLDOC@","yes")
HTML_TARGETS=$(htmldocs)
else
HTML_TARGETS=
endif
ifeq ("@ONEHTMLDOC@","yes")
ONE_HTML_TARGETS=$(onehtmldocs)
else
ONE_HTML_TARGETS=
endif

clean:
        rm -rf $(ALL_TARGETS) $(CLEAN_FILES) *~

Anyway, it's not dramatic, it's just that I discovered that doing a dist-gzip 
and trying to clean it, the clean: section  deleted the 2 html files but did 
not clean the generated.tar.gz file.

Cheers,

--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR

________________________________________
De : geoffroy.val...@free.fr [geoffroy.val...@free.fr]
Date d'envoi : vendredi 14 décembre 2012 00:37
À : oscar-devel@lists.sourceforge.net
Objet : Re: [Oscar-devel] opkgc: (make clean too clean?)

They are not deleted on my side (just tested) - SVN r9512

----- Mail original -----
De: "LAHAYE Olivier" <olivier.lah...@cea.fr>
À: oscar-devel@lists.sourceforge.net
Envoyé: Jeudi 13 Décembre 2012 13:56:08
Objet: [Oscar-devel] opkgc: (make clean too clean?)


Doing the tests, I've noticed that issuing a "make clean" in the 
pkgsrc/opkgc/trunk dir will result in 2 files deleted while they are in the svn 
tree:
- doc/opkgc.1.html
- doc/opkg.5.html

Should those file be removed from the svn tree (if they can be generated) or 
should the Makefile be fixed to avoid removing those 2 files?

Olivier.

--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR

________________________________________
De : LAHAYE Olivier
Date d'envoi : jeudi 13 décembre 2012 19:46
À : oscar-devel@lists.sourceforge.net
Objet : [PROVENANCE  INTERNET] [Oscar-devel] RE :  RE :  opkgc SPEC Clean fix.

Geoffroy,

Looking at your log, it looks like you are using your spec file which has a 
comment in the %file section which seems a bad idea:
cp: cannot stat `THIS': No such file or directory
cp: cannot stat `IS': No such file or directory
cp: cannot stat `SIMPLY': No such file or directory
cp: cannot stat `ALL': No such file or directory
cp: cannot stat `BROKEN': No such file or directory
cp: cannot stat `ON': No such file or directory
cp: cannot stat `CENTOS': No such file or directory
cp: cannot stat `6': No such file or directory

A common error in rpms spec file is to comment %macros. This is dangerous as 
often, macros are expanded on more than one line resulting on the 1st line 
still commented and the others not.
A safe rule is to never  comment %makeinstall or %configure or %doc. (just 
replace the % with #)
(I used to often fall in that trap ;-) and found the above solution)

For the files listed twice, it is wired...can you test my spec file?

Cheers,

--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR

________________________________________
De : geoffroy.val...@free.fr [geoffroy.val...@free.fr]
Date d'envoi : jeudi 13 décembre 2012 19:00
À : oscar-devel@lists.sourceforge.net
Objet : Re: [Oscar-devel] RE :  opkgc SPEC Clean fix.

Sure, here is what i get:

# rpmbuild -bb ./opkgc.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7H0PK7
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf opkgc-1.0.1
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/opkgc-1.0.1.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd opkgc-1.0.1
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.R5auIr
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd opkgc-1.0.1
+ touch NEWS
+ ./configure --prefix=/usr
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for rsync... yes
checking for a Python interpreter with version >= 2.3... python
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... 
${exec_prefix}/lib64/python2.6/site-packages
checking for xmlto... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/setup.py
config.status: creating doc/Makefile
config.status: creating conf/Makefile
config.status: creating templates/Makefile
+ /usr/bin/make
Making all in src
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/src'
python setup.py build
running build
running build_py
creating build
creating build/lib
creating build/lib/OpkgcLib
copying OpkgcLib/Rpm.py -> build/lib/OpkgcLib
copying OpkgcLib/Logger.py -> build/lib/OpkgcLib
copying OpkgcLib/Config.py -> build/lib/OpkgcLib
copying OpkgcLib/OpkgDescription.py -> build/lib/OpkgcLib
copying OpkgcLib/Deb.py -> build/lib/OpkgcLib
copying OpkgcLib/PkgDescription.py -> build/lib/OpkgcLib
copying OpkgcLib/Compiler.py -> build/lib/OpkgcLib
copying OpkgcLib/XmlTools.py -> build/lib/OpkgcLib
copying OpkgcLib/__init__.py -> build/lib/OpkgcLib
copying OpkgcLib/Tools.py -> build/lib/OpkgcLib
running build_scripts
creating build/scripts-2.6
copying and adjusting opkgc -> build/scripts-2.6
changing mode of build/scripts-2.6/opkgc from 644 to 755
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/src'
Making all in conf
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/conf'
m4 -D_pkgdatadir_=/usr/share/opkgc opkgc.conf.in > opkgc.conf
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/conf'
Making all in templates
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/templates'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/templates'
Making all in doc
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/doc'
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AJld4Q
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd opkgc-1.0.1
+ rm -rf /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64
+ /usr/bin/make install DESTDIR=/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64
Making install in src
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/src'
python setup.py build
running build
running build_py
running build_scripts
python setup.py install -f --prefix=/usr 
--root=/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64
running install
running build
running build_py
running build_scripts
running install_lib
creating /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64
creating /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr
creating /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib
creating /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6
creating 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages
creating 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/Rpm.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/Logger.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/Config.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/OpkgDescription.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/Deb.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/PkgDescription.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/Compiler.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/XmlTools.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/__init__.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/Tools.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/Rpm.py
 to Rpm.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/Logger.py
 to Logger.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/Config.py
 to Config.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/OpkgDescription.py
 to OpkgDescription.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/Deb.py
 to Deb.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/PkgDescription.py
 to PkgDescription.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/Compiler.py
 to Compiler.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/XmlTools.py
 to XmlTools.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/__init__.py
 to __init__.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/Tools.py
 to Tools.pyc
running install_scripts
creating /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/bin
copying build/scripts-2.6/opkgc -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/bin
changing mode of /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/bin/opkgc to 
755
running install_egg_info
Writing 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/opkgc-1.0.1-py2.6.egg-info
/bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -c opkg-convert 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/bin
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/src'
Making install in conf
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/conf'
if test ! -e "/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/etc/opkgc.conf"; 
then \
          /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 opkgc.conf 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/etc/opkgc.conf; \
        fi
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/conf'
Making install in templates
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/templates'
for t in debian rpm; do \
          /bin/mkdir -p 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/opkgc/tmpl/$t; \
          rsync -av --exclude '.svn' --exclude '*~' $t 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/opkgc/tmpl; \
        done
sending incremental file list
debian/
debian/README.debian.tmpl
debian/changelog.tmpl
debian/compat
debian/control.tmpl
debian/copyright.tmpl
debian/rules.in

sent 5126 bytes  received 130 bytes  10512.00 bytes/sec
total size is 4712  speedup is 0.90
sending incremental file list
rpm/
rpm/opkg.spec.tmpl

sent 2957 bytes  received 35 bytes  5984.00 bytes/sec
total size is 2850  speedup is 0.95
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/templates'
Making install in doc
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/doc'
for file in ; do \
          sect=`echo $file | sed 's/^.*\([0-9]\)/\1/'`; \
          inst=`echo $file | sed -e 's/^.*\///'`; \
          /bin/mkdir -p 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/man/man$section"; \
          /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 "$file" 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/man/man$sect/$inst"; \
        done
if test "" != ""; then \
          for t in ; do \
            /bin/mkdir -p 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc"; \
            /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 "$t" 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/$t"; \
          done; \
        fi
if test "" != ""; then \
          for t in ; do \
            /bin/mkdir -p 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc"; \
            /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 "$t" 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/$t"; \
          done; \
          /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 db.css 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/"; \
        fi
if test "" != ""; then \
          for t in ; do \
            /bin/mkdir -p 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/$t"; \
            ( cd $t; \
              /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 * 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/$t"; \
            ); \
            /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 db.css 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/"; \
          done; \
        fi
for t in opkg.xsd; do \
          /bin/mkdir -p 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/opkgc"; \
          /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 "$t" 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/opkgc/$t"; \
        done
/bin/mkdir -p 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/samples
rsync -avr --exclude '.svn' --exclude '*~' samples 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc
sending incremental file list
samples/
samples/config.xml
samples/configurator.html
samples/doc/
samples/doc/README
samples/scripts/
samples/scripts/a_script
samples/scripts/another_script
samples/scripts/api-post-install
samples/scripts/api-post-uninstall
samples/scripts/api-pre-install
samples/scripts/api-pre-uninstall
samples/scripts/client-post-install
samples/scripts/client-post-uninstall
samples/scripts/client-pre-install
samples/scripts/client-pre-uninstall
samples/scripts/server-post-install
samples/scripts/server-post-uninstall
samples/scripts/server-pre-install
samples/scripts/server-pre-uninstall
samples/testing/
samples/testing/test_root
samples/testing/test_user

sent 15169 bytes  received 389 bytes  31116.00 bytes/sec
total size is 13841  speedup is 0.89
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/doc'
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1'
make[2]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1'
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1'
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-static-archive
+ /usr/lib/rpm/brp-strip-comment-note
Processing files: opkgc-1.0.1-2.noarch
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.IdB2Th
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd opkgc-1.0.1
+ DOCDIR=/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
+ export DOCDIR
+ rm -rf /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
+ /bin/mkdir -p 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
+ cp -pr AUTHORS ChangeLog COPYING README INSTALL RELEASE AUTHORS COPYING 
ChangeLog INSTALL Makefile Makefile.am Makefile.in NEWS README aclocal.m4 conf 
config.guess config.log config.status config.sub configure configure.ac doc 
install-sh missing src templates THIS IS SIMPLY ALL BROKEN ON CENTOS 6 AUTHORS 
COPYING ChangeLog INSTALL Makefile Makefile.am Makefile.in NEWS README 
aclocal.m4 conf config.guess config.log config.status config.sub configure 
configure.ac doc install-sh missing src templates 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
cp: cannot stat `RELEASE': No such file or directory
cp: warning: source file `AUTHORS' specified more than once
cp: warning: source file `COPYING' specified more than once
cp: warning: source file `ChangeLog' specified more than once
cp: warning: source file `INSTALL' specified more than once
cp: warning: source file `README' specified more than once
cp: cannot stat `THIS': No such file or directory
cp: cannot stat `IS': No such file or directory
cp: cannot stat `SIMPLY': No such file or directory
cp: cannot stat `ALL': No such file or directory
cp: cannot stat `BROKEN': No such file or directory
cp: cannot stat `ON': No such file or directory
cp: cannot stat `CENTOS': No such file or directory
cp: cannot stat `6': No such file or directory
cp: warning: source file `AUTHORS' specified more than once
cp: warning: source file `COPYING' specified more than once
cp: warning: source file `ChangeLog' specified more than once
cp: warning: source file `INSTALL' specified more than once
cp: warning: source file `Makefile' specified more than once
cp: warning: source file `Makefile.am' specified more than once
cp: warning: source file `Makefile.in' specified more than once
cp: warning: source file `NEWS' specified more than once
cp: warning: source file `README' specified more than once
cp: warning: source file `aclocal.m4' specified more than once
cp: will not create hard link 
`/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1/conf' 
to directory 
`/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1/conf'
cp: warning: source file `config.guess' specified more than once
cp: warning: source file `config.log' specified more than once
cp: warning: source file `config.status' specified more than once
cp: warning: source file `config.sub' specified more than once
cp: warning: source file `configure' specified more than once
cp: warning: source file `configure.ac' specified more than once
cp: will not create hard link 
`/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1/doc' 
to directory 
`/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1/doc'
cp: warning: source file `install-sh' specified more than once
cp: warning: source file `missing' specified more than once
cp: will not create hard link 
`/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1/src' 
to directory 
`/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1/src'
cp: will not create hard link 
`/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1/templates'
 to directory 
`/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1/templates'
error: Bad exit status from /var/tmp/rpm-tmp.IdB2Th (%doc)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.IdB2Th (%doc)

----- Mail original -----
De: "LAHAYE Olivier" <olivier.lah...@cea.fr>
À: oscar-devel@lists.sourceforge.net
Envoyé: Jeudi 13 Décembre 2012 11:45:14
Objet: [Oscar-devel] RE :  opkgc SPEC Clean fix.

Geoffroy,

Thanks a lot for your support, :-)

Can you tell me the problem you are encountering, maybe I can help.

Cheers,

Olivier.
--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR

________________________________________
De : geoffroy.val...@free.fr [geoffroy.val...@free.fr]
Date d'envoi : jeudi 13 décembre 2012 17:02
À : oscar-devel@lists.sourceforge.net
Cc: LAHAYE Olivier
Objet : Re: [Oscar-devel] opkgc SPEC Clean fix.

Despite what you claim, i can assure you that it does not work on my CentOS 6.3 
system (basic, minimal CentOS 6.3 configuration). Otherwise, i will not have 
spent the time commented out the faulty part of the spec file.

I will try to test the attached spec file, meanwhile, if you have write access 
to SVN, feel free to check in.


----- Mail original -----
De: "LAHAYE Olivier" <olivier.lah...@cea.fr>
À: oscar-devel@lists.sourceforge.net
Cc: valle...@ornl.gov
Envoyé: Jeudi 13 Décembre 2012 09:15:16
Objet: [Oscar-devel] opkgc SPEC Clean fix.




Geoffroy,

I've seen that you worked on opkgc spec file by removing man pages.
On CentOS-6.3" it realy works despite your comment. (same for de %doc section).

Anyway, here is a full fix of all issues in the spec file

1/ Manage the the manuals using wildcars so it works even on latest mandriva 
linux that compress those man using xz.
2/ Fixed the configure.ac by commenting the AC_CANONICAL_TARGET
According to this link https://bugzilla.redhat.com/show_bug.cgi?id=204177
noarch package should not set this otherwise, when the %configure macro will 
define
"--target noarch", configure script will fail with: "Invalid configuration 
`noarch-redhat-linux-gnu'"

3/ Fixed the spec file to:
a/ use macros for make and smp flags
b/ use macro for configure

c/ man are ok even on modern distro like Mandriva wich compress mans with .xz
d/ %doc section cleaned and re-enabled.

You were right about autogen.sh which is not in the tarball. Though we must 
keep in mind that in the future, il we want to rebuild the package on a distro 
that has an incompatible autotools, the configure script may fail. maybe the 
"autoreconf" is the way to go?

All above tested using make dist-gzip and building the rpm by hand to cross 
check that everything is ok.

Cheers,

Olivier.


--
Olivier LAHAYE
CEA DRT/LIST/DCSI/DIR

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to