← Back to team overview

launchpad-users team mailing list archive

Re: Makefile issue

 

Hello List,

maybe anyone can help me to fix that issue?

Greetings Sascha
-------- Original-Nachricht --------
*Betreff: *Re: Makefile issue
*Von: *Sascha Manns <Sascha.Manns@xxxxxxx>
*An: *ubuntu-motu@xxxxxxxxxxxxxxxx
*Datum: *22.11.2014 14:27
Hello list,


-------- Original-Nachricht --------
*Betreff: *Re: Makefile issue
*Von: *Sascha Manns <Sascha.Manns@xxxxxxx>
*An: *Andreas Moog <andreas.moog@xxxxxxxxxxxx>, ubuntu-motu@xxxxxxxxxxxxxxxx
*Datum: *10.11.2014 18:47
Hello list,

-------- Original-Nachricht --------
*Betreff: *Re: Makefile issue
*Von: *Andreas Moog <andreas.moog@xxxxxxxxxxxx>
*An: *ubuntu-motu@xxxxxxxxxxxxxxxx
*Datum: *10.11.2014 18:02
I didn't have a deeper look, but from the log:

/usr/bin/install -c -m 644 ./etc/fop/fop-daps.xml '/build/buildd/daps-1.9.25/debian/tmp/etc/daps/fop'

This installs to [...]/etc/daps/fop/

/usr/bin/install: cannot stat './etc/fop/fop-daps.xml': No such file or directory

This misses the /daps/ part of the file location.

I found out some things.
The upstream project uses
lsb_release -i | egrep -iqv "(fedora|redhat|suse)"
touch .firstbuild

for identify the distribution. After configure the Makefile sets:
FOP_CONFIG := etc/fop/fop-daps.xml
FOP_CONFIG_SRC := etc/fop/fop-daps.generic
#FOP_CONFIG_SRC := etc/fop/fop-daps.redhat
#FOP_CONFIG_SRC := etc/fop/fop-daps.suse

Later it uses
$(FOP_CONFIG): $(FOP_CONFIG_SRC) .firstbuild
	ln -sf $(notdir $<) $@

If I'm running make locally i'm getting:
if [ -L bin/daps ]; then rm -f bin/daps; fi
sed -e 's|@sysconfdir[@]|/etc|g' -e 's|@bindir[@]|/usr/bin|g' -e 's|@pkgdatadir[@]|/usr/share/daps|g' -e 's|@prefix[@]|/usr|g' -e 's|@PACKAGE_VERSION[@]|2.0~rc1|g' bin/daps.in > bin/daps
chmod +x bin/daps
if [ -L etc/config ]; then rm -f etc/config; fi
sed -e 's|@sysconfdir[@]|/etc|g' -e 's|@bindir[@]|/usr/bin|g' -e 's|@pkgdatadir[@]|/usr/share/daps|g' -e 's|@prefix[@]|/usr|g' -e 's|@PACKAGE_VERSION[@]|2.0~rc1|g' etc/config.in > etc/config
ln -sf fop-daps.generic etc/fop/fop-daps.xml
Created catalogs/for-catalog-daps.xml
make[1]: Leaving directory '/home/sascha/repos/bzr/daps/daps-test'

If i'm running the same stuff for utopic in Launchpad it makes
ln -sf .firstbuild etc/fop/fop-daps.xml
  /bin/mkdir -p '/build/buildd/daps-1.9.26/debian/tmp/etc/daps/fop'
  /usr/bin/install -c -m 644 ./etc/fop/fop-daps.xml '/build/buildd/daps-1.9.26/debian/tmp/etc/daps/fop'
/usr/bin/install: cannot stat './etc/fop/fop-daps.xml': No such file or directory
Makefile:779: recipe for target 'install-dist_fopconfDATA' failed

So it looks like the build server does the build in another way as my local maschine.
Maybe anyone knows what happend?
The project is https://code.launchpad.net/~sascha-manns-h/daps/trunk

Greetings
Sascha
--
Yours sincerly
Sascha Manns

Maifeldstraße 10
56727 Mayen
Phone: +49-1573-9242730
Email:Sascha.Manns@xxxxxxx

--
Yours sincerly
Sascha Manns

Maifeldstraße 10
56727 Mayen
Phone: +49-1573-9242730
Email: Sascha.Manns@xxxxxxx


Follow ups