Opened 10 years ago

Closed 10 years ago

#3430 closed defect (fixed)

vim ipkg package cant be configured during a make world

Reported by: christoph@… Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: vim Cc:


A Kamikaze "make world" stops with "error 2" on the vim IPKG package. It seems that there is a problem with in the postinst define section in the Makefile, because when I delete the complete postinst section I was able to create a working image and I also used vim while the system was running.

IPKG_TMP=/home/cfluegel/devel/kamikaze/tmp/ipkg IPKG_INSTROOT=/home/cfluegel/devel/kamikaze/build_dir/i386/root-x86 IPKG_CONF_DIR=/home/cfluegel/devel/kamikaze/staging_dir/i386/etc IPKG_OFFLINE_ROOT=/home/cfluegel/devel/kamikaze/build_dir/i386/root-x86 /home/cfluegel/devel/kamikaze/scripts/ipkg -force-defaults -force-depends install /home/cfluegel/devel/kamikaze/bin/packages/i386/vim_7.1-2_i386.ipk
Unpacking vim...Done.
Configuring vim...ln: creating symbolic link `/usr/share/vim/vimrc': File exists
make[3]: *** [/home/cfluegel/devel/kamikaze/build_dir/i386/root-x86/usr/lib/ipkg/info/vim.list] Error 1
make[3]: Leaving directory `/home/cfluegel/devel/kamikaze/feeds/packages/utils/vim'
make[2]: *** [package/feeds/packages/vim/install] Error 2
make[2]: Leaving directory `/home/cfluegel/devel/kamikaze'
make[1]: *** [/home/cfluegel/devel/kamikaze/staging_dir/i386/stamp/.package_install] Error 2
make[1]: Leaving directory `/home/cfluegel/devel/kamikaze'
make: *** [world] Error 2

I've checked out the trunk yesterday evening and the packages nearly to the same time.
Revision: 11102
Revision: 11075

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by christoph@…

I use a debian/testing as host system and compile the trunk version as non-root user.

During the Make process, make can't link a vimrc to /usr/share/vim/vimrc because that file exists and I (my user) don't have the rights to change/delete/create there a new link.

I tested some more, and as soon as I delete both "define Package/vim(-full)/postinst" sections I was able to create a package for my alix. I don't know the intentions behind the postinst sections, so I don't know if i cause an other problem by deleting those sections.

comment:2 Changed 10 years ago by blogic

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.