Discussion:
I don't know how to fix a "install: missing destination file operand after ..."
jcsl
2014-05-16 22:58:22 UTC
Permalink
Hi.

I'm trying to update the package FBReader but, it fails with a "install:
missing destination file operand after ..." error. I (think that I) know what
it means (a missing or misspelled filename), but I don't know how to fix it.
I'm not very used to build packages. You can see the log file at

https://build.opensuse.org/package/live_build_log/home:jcsl:test/fbreader/openSUSE_13.1/x86_64

Any help is welcome. Thanks in advance.

Greetings.
--
To unsubscribe, e-mail: opensuse-factory+***@opensuse.org
To contact the owner, e-mail: opensuse-factory+***@opensuse.org
Dmitriy Perlow
2014-05-17 07:57:31 UTC
Permalink
Post by jcsl
Hi.
missing destination file operand after ..." error. I (think that I) know what
it means (a missing or misspelled filename), but I don't know how to fix it.
I'm not very used to build packages. You can see the log file at
https://build.opensuse.org/package/live_build_log/home:jcsl:test/fbreader/openSUSE_13.1/x86_64
Any help is welcome. Thanks in advance.
Greetings.
Hello!

Please set destination directory to make to install files: `make install
DESTDIR=%{buildroot}` or `make INSTALL_ROOT=%{buildroot} install`. You
should check for the correct variable at makefile or documentation.
--
Best regards,
Dmitriy DA(P).DarkneSS Perlow @ Linux x64
--
To unsubscribe, e-mail: opensuse-factory+***@opensuse.org
To contact the owner, e-mail: opensuse-factory+***@opensuse.org
jcsl
2014-05-17 11:31:56 UTC
Permalink
Post by Dmitriy Perlow
Hello!
Please set destination directory to make to install files: `make install
DESTDIR=%{buildroot}` or `make INSTALL_ROOT=%{buildroot} install`. You
should check for the correct variable at makefile or documentation.
Hi.

The build fails when the line

make -C fbreader do_install DESTDIR=%{buildroot} TARGET_ARCH=desktop
UI_TYPE=dummy

of the spec file %install section is reached*. Is the fbreader/Makefile what I
have to check? If so, do I have to check the do_install part or something in
particular? Sorry, but I'm very lost with this, XD.

* There was a "%{_sbindir}" pasted by mistake in the cited line, but if fails
without it too.

Greetings.
--
To unsubscribe, e-mail: opensuse-factory+***@opensuse.org
To contact the owner, e-mail: opensuse-factory+***@opensuse.org
Dmitriy Perlow
2014-05-17 12:27:32 UTC
Permalink
El S=C3=A1bado, 17 de mayo de 2014 10:57:31 Dmitriy Perlow escribi=C3=B3=
Post by Dmitriy Perlow
Hello!
Please set destination directory to make to install files: `make inst=
all
Post by Dmitriy Perlow
DESTDIR=3D%{buildroot}` or `make INSTALL_ROOT=3D%{buildroot} install`=
. You
Post by Dmitriy Perlow
should check for the correct variable at makefile or documentation.
Hi.
The build fails when the line
make -C fbreader do_install DESTDIR=3D%{buildroot} TARGET_ARCH=3Dde=
sktop
UI_TYPE=3Ddummy
of the spec file %install section is reached*. Is the fbreader/Makefil=
e =
what I
have to check? If so, do I have to check the do_install part or =
something in
particular? Sorry, but I'm very lost with this, XD.
* There was a "%{_sbindir}" pasted by mistake in the cited line, but i=
f =
fails
without it too.
Greetings.
Install requires at least target and path to be executed, so try to catc=
h =

a line where one of arguments is missed.

-- =

Best regards,
Dmitriy DA(P).DarkneSS Perlow @ Linux x64
--
To unsubscribe, e-mail: opensuse-factory+***@opensuse.org
To contact the owner, e-mail: opensuse-factory+***@opensuse.org
jcsl
2014-05-17 17:30:16 UTC
Permalink
Install requires at least target and path to be executed, so try to catch
a line where one of arguments is missed.
Hi.

The problem seems to be the line

install -m644 %{SOURCE1}
%{buildroot}%{_datadir}/applications/FBReader.desktop

I've commented that line and it still fails, but I think that the problem now
is that I'm reusing the previous spec file because I don't know how to make
them from scratch and it may be quite obsolete (the version in the repository
is from 2010!). Anyway, I'll keep on trying to make it work. I'll use the spec
file from the Mageia repo to guide myself.

http://www.mirrorservice.org/sites/mageia.org/pub/mageia/distrib/cauldron/SRPMS/core/release/fbreader-0.99.4-3.mga4.src.rpm

Thank you very much for your time and help.

Greetings.
--
To unsubscribe, e-mail: opensuse-factory+***@opensuse.org
To contact the owner, e-mail: opensuse-factory+***@opensuse.org
Kyrill Detinov
2014-05-17 20:13:54 UTC
Permalink
Post by jcsl
I'm trying to update the package FBReader but, it fails with a
"install: missing destination file operand after ..." error.
Please, use the opensuse-packaging@ mailing list for this case.
--
WBR
Kyrill
Loading...