:: Re: [DNG] create .deb packages with…
Góra strony
Delete this message
Reply to this message
Autor: aitor
Data:  
Dla: dng
Temat: Re: [DNG] create .deb packages with alien
Hi Ismael,

On 23/12/21 23:11, Ismael L. Donis Garcia wrote:
> Until recently I have created .deb packages with alienI don't know if
> when updating to chimaera it broke down because I haven't done it for
> a while
> Now I get the following error
> And I need to do it with alien since from the package I take a series
> of data that it generates automatically
> I really use trampoline alien as it is said in the place where I live,
> since in the end I create it with: dpkg-deb
> But cel created with alien took the md5sums file
> root@clt-iyc-03:/home/idonis/Documentos/ismael/sisconge/ver2/amd64
> <mailto:root@clt-iyc-03:/home/idonis/Documentos/ismael/sisconge/ver2/amd64>#
> alien --version=2.1 -k --fixperms sisconge_2.0.1_amd64.tar.gz
> Package build failed. Here's the log:
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
>    create-stamp debian/debhelper-build-stamp
>    dh_testroot
>    dh_prep
>    debian/rules override_dh_auto_install
> make[1]: se entra en el directorio
> '/home/idonis/Documentos/ismael/sisconge/ver2/amd64/sisconge_2.0.1_amd64-2.1'
> mkdir -p debian/sisconge-2.0.1-amd64
> # Copy the packages's files.
> find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \
>  sed -e s#'./'##g | \
>  xargs -0 -r -i cp -a ./{} debian/sisconge-2.0.1-amd64/{}
> make[1]: se sale del directorio
> '/home/idonis/Documentos/ismael/sisconge/ver2/amd64/sisconge_2.0.1_amd64-2.1'
>    dh_installdocs
>    dh_installchangelogs
>    dh_icons
>    dh_perl
>    dh_usrlocal
> dh_usrlocal: error: debian/sisconge-2.0.1-amd64/usr/local/bin/startaft
> is not a directory
> make: *** [debian/rules:7: binary] Error 25
> root@clt-iyc-03:/home/idonis/Documentos/ismael/sisconge/ver2/amd64
> <mailto:root@clt-iyc-03:/home/idonis/Documentos/ismael/sisconge/ver2/amd64>#
> I don't know if someone on this list can help me or tell me where to
> ask this question.
> I ask the question here since I use devuan


I never used alien, but maybe you should override dh_usrlocal. The path /usr/local/bin is for binaries built from sources,

whereas binaries provided by .deb packages go to /usr/bin. I don't know how to do this with alien.

HTH,

Aitor.