[opensuse-factory] I don't know how to fix a "install: missing destination file operand after ..."
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/op... Any help is welcome. Thanks in advance. Greetings. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
jcsl
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/op...
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+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
El Sábado, 17 de mayo de 2014 10:57:31 Dmitriy Perlow escribió:
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+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
jcsl
El Sábado, 17 de mayo de 2014 10:57:31 Dmitriy Perlow escribió:
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.
Install requires at least target and path to be executed, so try to catch a line where one of arguments is missed. -- Best regards, Dmitriy DA(P).DarkneSS Perlow @ Linux x64 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
El Sábado, 17 de mayo de 2014 15:27:32 Dmitriy Perlow escribió:
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/SR... Thank you very much for your time and help. Greetings. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Dmitriy Perlow
-
jcsl
-
Kyrill Detinov