pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: vim-share fails to compile on Darwin



Hi,

Let me check this tonight.

Regards,

On Mon, Jul 04, 2016 at 12:30:47PM +0200, Andreas Kusalananda Kähäri wrote:
> The vim-share port was updated to 7.4.1987 on Sunday, but this issue
> remains.
> 
> On Mon, Jun 27, 2016 at 01:37:20PM +0200, Andreas Kusalananda Kähäri wrote:
> > Additional info:  Does not fail on Linux with almost identical mk.conf
> > (only difference is Darwin uses system clang, while Linux uses system
> > gcc).
> > 
> > No modifications were made to mk.conf after bootstrapping, and the only
> > line in pkg_install.conf is "ACCEPTABLE_LICENSES= vim-license".
> > 
> > I'm running pkgsrc as unprivilegied user with pkgsrc prefix "$HOME/sw".
> > 
> > Bootstrapped with:
> > 
> > ./bootstrap --abi=64 --cwrappers --full \
> >     --compiler="$COMPILER" \
> >     --unprivileged \
> >     --prefer-pkgsrc=yes \
> >     --prefix="$HOME/sw" \
> >     --make-jobs=2
> > 
> > $COMPILER is 'gcc' on Linux, 'clang' on Darwin.
> > 
> > Regards,
> > 
> > On Sun, Jun 26, 2016 at 10:54:13PM +0200, Andreas Kusalananda Kähäri wrote:
> > > Hi,
> > > 
> > > I'm using pkgsrc on Darwin, and on a freshly bootstrapped machine I
> > > fail to compile the editors/vim-share package as part of installing
> > > editors/vim.
> > > 
> > > The build fails because a dash is missing in front of 'lm' when linking
> > > at the end.
> > > 
> > > 
> > > This is what happens:
> > > 
> > > 
> > > => Bootstrap dependency digest>=20010302: found digest-20160304
> > > ===> Skipping vulnerability checks.
> > > WARNING: No /Users/kk/sw/var/db/pkg/pkg-vulnerabilities file found.
> > > WARNING: To fix run: `/Users/kk/sw/sbin/pkg_admin -K /Users/kk/sw/var/db/pkg fetch-pkg-vulnerabilities'.
> > > => Checksum SHA1 OK for vim-7.4.1040.tar.bz2
> > > => Checksum RMD160 OK for vim-7.4.1040.tar.bz2
> > > => Checksum SHA512 OK for vim-7.4.1040.tar.bz2
> > > ===> Installing dependencies for vim-7.4.1040
> > > ==========================================================================
> > > The supported build options for vim are:
> > > 
> > > 	lua luajit perl python ruby
> > > 
> > > You can select which build options to use by setting PKG_DEFAULT_OPTIONS
> > > or the following variable.  Its current value is shown:
> > > 
> > > 	PKG_OPTIONS.vim (not defined)
> > > 
> > > ==========================================================================
> > > ==========================================================================
> > > The following variables will affect the build process of this package,
> > > vim-7.4.1040.  Their current value is shown below:
> > > 
> > >         * CURSES_DEFAULT = ncurses
> > > 
> > > Based on these variables, the following variables have been set:
> > > 
> > >         * CURSES_TYPE = ncurses
> > >         * TERMCAP_TYPE = curses
> > > 
> > > You may want to abort the process now with CTRL-C and change their value
> > > before continuing.  Be sure to run `/Users/kk/sw/bin/bmake clean' after
> > > the changes.
> > > ==========================================================================
> > > => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
> > > => Build dependency cwrappers>=20150314: found cwrappers-20160110nb1
> > > => Full dependency vim-share-7.4.1040{,nb*}: NOT found
> > > => Verifying reinstall for ../../editors/vim-share
> > > => Bootstrap dependency digest>=20010302: found digest-20160304
> > > ===> Skipping vulnerability checks.
> > > WARNING: No /Users/kk/sw/var/db/pkg/pkg-vulnerabilities file found.
> > > WARNING: To fix run: `/Users/kk/sw/sbin/pkg_admin -K /Users/kk/sw/var/db/pkg fetch-pkg-vulnerabilities'.
> > > ===> Building for vim-share-7.4.1040nb1
> > > clang -c -I. -Iproto -DHAVE_CONFIG_H   -I/Users/kk/sw/include/ncurses -DMACOS_X_UNIX  -I/Users/kk/sw/include/ncurses -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
> > >   clang   -L/Users/kk/sw/lib  -o vim objects/buffer.o  objects/blowfish.o  objects/charset.o  objects/crypt.o  objects/crypt_zip.o  objects/diff.o  objects/digraph.o  objects/edit.o  objects/eval.o  objects/ex_cmds.o  objects/ex_cmds2.o  objects/ex_docmd.o  objects/ex_eval.o  objects/ex_getln.o  objects/fileio.o  objects/fold.o  objects/getchar.o  objects/hardcopy.o  objects/hashtab.o    objects/if_cscope.o  objects/if_xcmdsrv.o  objects/mark.o  objects/memline.o  objects/menu.o  objects/message.o  objects/misc1.o  objects/misc2.o  objects/move.o  objects/mbyte.o  objects/normal.o  objects/ops.o  objects/option.o  objects/os_unix.o  objects/pathdef.o  objects/popupmnu.o  objects/quickfix.o  objects/regexp.o  objects/screen.o  objects/search.o  objects/sha256.o  objects/spell.o  objects/syntax.o    objects/tag.o  objects/term.o  objects/ui.o  objects/undo.o  objects/version.o  objects/window.o                  objects/os_macosx.o objects/os_mac_conv.o    objects/netbeans.o    objects/main.o  objects/memfile.o               lm -lncurses  -liconv -framework Cocoa                     
> > > clang: error: no such file or directory: 'lm'
> > > *** Error code 1
> > > 
> > > Stop.
> > > bmake: stopped in /Users/kk/pkgsrc/editors/vim-share/work/vim74/src
> > > *** Error code 1
> > > 
> > > Stop.
> > > bmake[2]: stopped in /Users/kk/pkgsrc/editors/vim-share
> > > *** Error code 1
> > > 
> > > Stop.
> > > bmake[1]: stopped in /Users/kk/pkgsrc/editors/vim-share
> > > *** Error code 1
> > > 
> > > Stop.
> > > bmake: stopped in /Users/kk/pkgsrc/editors/vim
> > 
> > 
> 
> 



-- 
Daniel Horecki
http://morr.pl http://linux.pl http://netbsd.pl http://netbsd.org
HAIL ERIS!
BOFH since 1999.


Home | Main Index | Thread Index | Old Index