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

Bug#805270: marked as done (opam's integration with fish shell broken)



Your message dated Tue, 22 Dec 2015 11:34:22 +0000
with message-id <E1aBLCw-0006nf-5P@franck.debian.org>
and subject line Bug#805270: fixed in opam 1.2.2-4
has caused the Debian Bug report #805270,
regarding opam's integration with fish shell broken
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
805270: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805270
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: opam
Version: 1.2.2-3+b1
Severity: normal
Tags: upstream

Dear Maintainer,

If you let 'opam init' modify config.fish when running the fish shell
it will break $PATH etc. See below for steps to reproduce.


This has already been reported and fixed upstream, see:
https://github.com/ocaml/opam/issues/2244
https://github.com/ocaml/opam/issues/2165

The latter issue contains the relevant patches.


Steps to reproduce:

> fish
> opam init
[...]
Do you want OPAM to modify ~/.config/fish/config.fish and ~/.ocamlinit
(default is 'no', use 'f' to name a file other than ~/.config/fish/config.fish)
[N/y/f] y
> fish  # Start a new fish shell
fish: Unknown command 'uname'
/usr/share/fish/functions/__fish_pwd.fish (line 1): uname
                                                    ^
in command substitution
	called on line -1 of file /usr/share/fish/functions/__fish_pwd.fish

from sourcing file /usr/share/fish/functions/__fish_pwd.fish
	called on standard input

in command substitution
	called on standard input

in command substitution
	called on standard input

switch: Expected exactly one argument, got 0

/usr/share/fish/functions/__fish_pwd.fish (line 1): switch (uname)
                                                           ^
from sourcing file /usr/share/fish/functions/__fish_pwd.fish
	called on standard input

in command substitution
	called on standard input

in command substitution
	called on standard input

fish: Unknown command '__fish_pwd'
fish: echo $_ " "; __fish_pwd
                   ^
in command substitution
	called on standard input

/usr/share/fish/functions/type.fish (line 1): seq (count $argv)
                                              ^
in command substitution
	called on line 2 of file /usr/share/fish/functions/type.fish

in function “type”
	called on standard input
	with parameter list “-q -p command-not-found”

in function “__fish_command_not_found_setup”
	called on line 6 of file /usr/share/fish/functions/fish_prompt.fish
	with parameter list “hostname”

in event handler: handler for generic event “fish_command_not_found”

/usr/share/fish/functions/type.fish (line 1): seq (count $argv)
                                              ^
in command substitution
	called on line 2 of file /usr/share/fish/functions/type.fish

in function “type”
	called on standard input
	with parameter list “-p -q pkgfile”

in function “__fish_command_not_found_setup”
	called on line 6 of file /usr/share/fish/functions/fish_prompt.fish
	with parameter list “hostname”

in event handler: handler for generic event “fish_command_not_found”

fish: Unknown command 'hostname'
/usr/share/fish/functions/fish_prompt.fish (line 1): hostname|cut -d . -f 1
                                                     ^
in command substitution
	called on line 4 of file /usr/share/fish/functions/fish_prompt.fish

in function “fish_prompt”
	called on standard input

in command substitution
	called on standard input

fish: Unknown command 'uname'
/usr/share/fish/functions/prompt_pwd.fish (line 1): uname
                                                    ^
in command substitution
	called on line -1 of file /usr/share/fish/functions/prompt_pwd.fish

from sourcing file /usr/share/fish/functions/prompt_pwd.fish
	called on line 6 of file /usr/share/fish/functions/fish_prompt.fish

in command substitution
	called on line 4 of file /usr/share/fish/functions/fish_prompt.fish

in command substitution
	called on line 4 of file /usr/share/fish/functions/fish_prompt.fish

in function “fish_prompt”
	called on standard input

in command substitution
	called on standard input

switch: Expected exactly one argument, got 0

/usr/share/fish/functions/prompt_pwd.fish (line 3): switch (uname)
                                                           ^
from sourcing file /usr/share/fish/functions/prompt_pwd.fish
	called on line 6 of file /usr/share/fish/functions/fish_prompt.fish

in command substitution
	called on line 4 of file /usr/share/fish/functions/fish_prompt.fish

in command substitution
	called on line 4 of file /usr/share/fish/functions/fish_prompt.fish

in function “fish_prompt”
	called on standard input

in command substitution
	called on standard input

fish: Unknown command 'sed'
/usr/share/fish/functions/prompt_pwd.fish (line 2): 	echo $PWD | sed -e "s|^$realhome|~|" $args_pre -e 's-\([^/.]\)[^/]*/-\1/-g' $args_post
                                                    	            ^
in function “prompt_pwd”
	called on line 6 of file /usr/share/fish/functions/fish_prompt.fish

in command substitution
	called on line 4 of file /usr/share/fish/functions/fish_prompt.fish

in function “fish_prompt”
	called on standard input

in command substitution
	called on standard input

fish: Unknown command '__fish_pwd'
fish: echo $_ " "; __fish_pwd
                   ^
in command substitution
	called on standard input

fish: Unknown command '__fish_pwd'
fish: echo $_ " "; __fish_pwd
                   ^
in command substitution
	called on standard input

fish: Unknown command 'seq'
in command substitution
	called on line 2 of file /usr/share/fish/functions/type.fish

in function “type”
	called on line 28 of file /usr/share/fish/functions/help.fish
	with parameter list “-q ”

in function “help”
	called on standard input

fish: Unknown command 'seq'
in command substitution
	called on line 2 of file /usr/share/fish/functions/type.fish

in function “type”
	called on line 39 of file /usr/share/fish/functions/help.fish
	with parameter list “-q -f htmlview”

in function “help”
	called on standard input

fish: Unknown command 'seq'
in command substitution
	called on line 2 of file /usr/share/fish/functions/type.fish

in function “type”
	called on line 39 of file /usr/share/fish/functions/help.fish
	with parameter list “-q -f www-browser”

in function “help”
	called on standard input

fish: Unknown command 'seq'
in command substitution
	called on line 2 of file /usr/share/fish/functions/type.fish

in function “type”
	called on line 39 of file /usr/share/fish/functions/help.fish
	with parameter list “-q -f links”

in function “help”
	called on standard input

fish: Unknown command 'seq'
in command substitution
	called on line 2 of file /usr/share/fish/functions/type.fish

in function “type”
	called on line 39 of file /usr/share/fish/functions/help.fish
	with parameter list “-q -f elinks”

in function “help”
	called on standard input

fish: Unknown command 'seq'
in command substitution
	called on line 2 of file /usr/share/fish/functions/type.fish

in function “type”
	called on line 39 of file /usr/share/fish/functions/help.fish
	with parameter list “-q -f lynx”

in function “help”
	called on standard input

fish: Unknown command 'seq'
in command substitution
	called on line 2 of file /usr/share/fish/functions/type.fish

in function “type”
	called on line 39 of file /usr/share/fish/functions/help.fish
	with parameter list “-q -f w3m”

in function “help”
	called on standard input

fish: Unknown command 'seq'
in command substitution
	called on line 2 of file /usr/share/fish/functions/type.fish

in function “type”
	called on line 58 of file /usr/share/fish/functions/help.fish
	with parameter list “-q cygstart”

in function “help”
	called on standard input

fish: Unknown command 'seq'
in command substitution
	called on line 2 of file /usr/share/fish/functions/type.fish

in function “type”
	called on line 61 of file /usr/share/fish/functions/help.fish
	with parameter list “-q xdg-open”

in function “help”
	called on standard input

fish: Unknown command 'uname'
in command substitution
	called on line 1 of file /usr/share/fish/functions/help.fish

in function “help”
	called on standard input

test: Missing argument at index 2
fish: Unknown command 'which'
/usr/share/fish/functions/_.fish (line 1): which gettext ^/dev/null
                                           ^
in command substitution
	called on line -1 of file /usr/share/fish/functions/_.fish

from sourcing file /usr/share/fish/functions/_.fish
	called on line 3 of file /usr/share/fish/functions/help.fish

in command substitution
	called on line 1 of file /usr/share/fish/functions/help.fish

in command substitution
	called on line 1 of file /usr/share/fish/functions/help.fish

in function “help”
	called on standard input

fish: Unknown command 'sed'
/usr/share/fish/functions/prompt_pwd.fish (line 2): 	echo $PWD | sed -e "s|^$realhome|~|" $args_pre -e 's-\([^/.]\)[^/]*/-\1/-g' $args_post
                                                    	            ^
in function “prompt_pwd”
	called on line 6 of file /usr/share/fish/functions/fish_prompt.fish

in command substitution
	called on line 4 of file /usr/share/fish/functions/fish_prompt.fish

in function “fish_prompt”
	called on standard input

in command substitution
	called on standard input

fish: Unknown command '__fish_pwd'
fish: echo $_ " "; __fish_pwd
                   ^
in command substitution
	called on standard input

fish: Unknown command '__fish_pwd'
fish: echo $_ " "; __fish_pwd
                   ^
in command substitution
	called on standard input

fish: Unknown command 'ls'
/usr/share/fish/functions/ls.fish (line 5): if command ls --version 1>/dev/null 2>/dev/null
                                                       ^
from sourcing file /usr/share/fish/functions/ls.fish
	called on standard input

in command substitution
	called on standard input

fish: Unknown command 'ls'
/usr/share/fish/functions/ls.fish (line 31): 	if command ls -G / 1>/dev/null 2>/dev/null
                                             	           ^
from sourcing file /usr/share/fish/functions/ls.fish
	called on standard input

in command substitution
	called on standard input

fish: Unknown command 'ls'
fish: Unknown command 'sed'
/usr/share/fish/functions/prompt_pwd.fish (line 2): 	echo $PWD | sed -e "s|^$realhome|~|" $args_pre -e 's-\([^/.]\)[^/]*/-\1/-g' $args_post
                                                    	            ^
in function “prompt_pwd”
	called on line 6 of file /usr/share/fish/functions/fish_prompt.fish

in command substitution
	called on line 4 of file /usr/share/fish/functions/fish_prompt.fish

in function “fish_prompt”
	called on standard input

in command substitution
	called on standard input

fish: Unknown command '__fish_pwd'
fish: echo $_ " "; __fish_pwd
                   ^
in command substitution
	called on standard input



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages opam depends on:
ii  build-essential  12.1
ii  curl             7.45.0-1+b1
ii  libbz2-1.0       1.0.6-8
ii  libc6            2.19-22
ii  opam-docs        1.2.2-3
ii  tar              1.28-2.1
ii  unzip            6.0-20
ii  wget             1.16.3-3
ii  zlib1g           1:1.2.8.dfsg-2+b1

Versions of packages opam recommends:
ii  aspcud     1:1.9.1-2
ii  darcs      2.10.1-4
ii  git        1:2.6.2-1
ii  mercurial  3.6-1
ii  ocaml      4.02.3-5
ii  rsync      3.1.1-3

opam suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: opam
Source-Version: 1.2.2-4

We believe that the bug you reported is fixed in the latest version of
opam, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 805270@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mehdi Dogguy <mehdi@debian.org> (supplier of updated opam package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 22 Dec 2015 12:17:38 +0100
Source: opam
Binary: opam opam-docs
Architecture: source amd64 all
Version: 1.2.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Mehdi Dogguy <mehdi@debian.org>
Description:
 opam       - package manager for OCaml
 opam-docs  - package manager for OCaml (documentation)
Closes: 805270
Changes:
 opam (1.2.2-4) unstable; urgency=medium
 .
   * Fix integration with fish shell (Closes: #805270)
Checksums-Sha1:
 9b143410be591cf569ff0ae1b5b3e92e61d21bd6 2343 opam_1.2.2-4.dsc
 cecc29328c9abb77fa212018a800e55b52b95aab 6720 opam_1.2.2-4.debian.tar.xz
 ece954eb10664facef215082e36ebb6101002ae2 658250 opam-dbgsym_1.2.2-4_amd64.deb
 e6eba52498c587a376eeff19edd4cb6caf2be7ae 319020 opam-docs_1.2.2-4_all.deb
 2d476c62dd497033afe3a111d43efdd5b0a1a920 1456554 opam_1.2.2-4_amd64.deb
Checksums-Sha256:
 5a8e1a743ed76e802f743a5f5bc351fd8489bdbdb6d6eec81ef1bc04a9fd11a3 2343 opam_1.2.2-4.dsc
 2ccfe32221c7131c3908677bdd82c9c7037b4282d7b11675cbf43fa720a576c5 6720 opam_1.2.2-4.debian.tar.xz
 ae33ef7ebcfd96e5613f0f9555a86941ba65515433817afdd4ea55de0631af71 658250 opam-dbgsym_1.2.2-4_amd64.deb
 6ecba3fffae68a289db63bd1c05df7a45e04d83c3c12584624b43db1c36b2382 319020 opam-docs_1.2.2-4_all.deb
 207794358d6c3505838b848ceb3d093be98b4dbd813ebb6c8693b2ab07f796d3 1456554 opam_1.2.2-4_amd64.deb
Files:
 75ce09e2b262494e79b6ddd040ac4c75 2343 ocaml optional opam_1.2.2-4.dsc
 f0e2db99c9f33d28fc83dba6fb992c56 6720 ocaml optional opam_1.2.2-4.debian.tar.xz
 4d99f49eb08625652c93e36327ec7a33 658250 debug extra opam-dbgsym_1.2.2-4_amd64.deb
 0036488dbdc878b3d5f6815b4dc9ab27 319020 doc optional opam-docs_1.2.2-4_all.deb
 01388b561023a11e24aeac2658c39dc1 1456554 ocaml optional opam_1.2.2-4_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWeTKYAAoJEDO+GgqMLtj/lO0P/21vQOMdEv845xVhrUScep39
y61kHGRyiCcrQ+se4uYJJco+1YKvBUxvjaidybHsuI23rI1anAj5wlligHcZhE9w
6b6wY8Ew2ncTgkmzRy+Gt6BhgGDoNLoYc0mpdeRzZxKvhQSVTuzP1RU47uA0CJOS
+/vSO/KP6MONhUL52IGh6sMNELnTBgiqGkkno8BF/VTFoiX7SzzFftpS4YRnqvdL
xEeBR6huRwaX3A7L4A0ux75jN5o3i+EnbEdbz7ZCQQYKIwtA9I3f8XSHnEFAqcHH
FptHdbgd+ioIyAs6H+gNDV2RAoX2FK2rM+zsNPy8TGZcnnJVYoPWqLeCZ2M6l/Th
XU5TbKSMY3hfTi8Mujk71hSLACgltOVnbeW+e1yaX698o9xZmStwie2tqKFuvixN
hfak2HSEoci8G/GXtUKhNc9wx+ZWRP3iekcIcAQ4BqkRGY6WhhkiUhFlhFhMKGmT
moyjp6mAZmrVwVX3vfuQgL218On98FsJfxIh59+Eya07o+1ywlFhI0hISRCIl1/1
97c85egF1adzpYUIx8ylynEkJZ+6YuwHcA2Ao4gMi3Jcb+F84S4APBCl0dJOaWek
22ca1bZR/wnfPT3dzOz4y9K3suXQN12HSBtxrT1w03szm+tg9/MtNQ0V4kc253w9
XiOTD0cPR2FtD75T1b9L
=xEek
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: