{"action":"opened","issue":{"url":"https://api.github.com/repos/JuliaLang/BinDeps.jl/issues/180","labels_url":"https://api.github.com/repos/JuliaLang/BinDeps.jl/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/BinDeps.jl/issues/180/comments","events_url":"https://api.github.com/repos/JuliaLang/BinDeps.jl/issues/180/events","html_url":"https://github.com/JuliaLang/BinDeps.jl/issues/180","id":108477246,"number":180,"title":"BinDeps.debug(\"MyPackage\") seems to clear deps/deps.jl","user":{"login":"lobingera","id":5199059,"avatar_url":"https://avatars.githubusercontent.com/u/5199059?v=3","gravatar_id":"","url":"https://api.github.com/users/lobingera","html_url":"https://github.com/lobingera","followers_url":"https://api.github.com/users/lobingera/followers","following_url":"https://api.github.com/users/lobingera/following{/other_user}","gists_url":"https://api.github.com/users/lobingera/gists{/gist_id}","starred_url":"https://api.github.com/users/lobingera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lobingera/subscriptions","organizations_url":"https://api.github.com/users/lobingera/orgs","repos_url":"https://api.github.com/users/lobingera/repos","events_url":"https://api.github.com/users/lobingera/events{/privacy}","received_events_url":"https://api.github.com/users/lobingera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-26T15:58:56Z","updated_at":"2015-09-26T15:58:56Z","closed_at":null,"body":"I'm trying to debug my travis setup (https://github.com/lobingera/Rsvg.jl) and did not really get what goes wrong here, until i ran BinDeps.debug locally (this is part of the travis script, i copied from Gtk.jl) and recognized, this overwrites the deps/deps.jl. Like this:\r\n```\r\nlobi@orange4:~/juliarepo$ ../julia04/julia \r\n               _\r\n   _       _ _(_)_     |  A fresh approach to technical computing\r\n  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org\r\n   _ _   _| |_  __ _   |  Type \"?help\" for help.\r\n  | | | | | | |/ _` |  |\r\n  | | |_| | | | (_| |  |  Version 0.4.0-rc2 (2015-09-18 17:51 UTC)\r\n _/ |\\__'_|_|_|\\__'_|  |  \r\n|__/                   |  x86_64-linux-gnu\r\n\r\njulia> Pkg.build(\"Rsvg\")\r\nINFO: Building Cairo\r\nINFO: Building Gtk\r\nINFO: Building Rsvg\r\n\r\nshell> cat ~/.julia/v0.4/Rsvg/deps/deps.jl\r\n# This is an auto-generated file; do not edit\r\n\r\n# Pre-hooks\r\n\r\n# Macro to load a library\r\nmacro checked_lib(libname, path)\r\n    ((VERSION >= v\"0.4.0-dev+3844\" ? Base.Libdl.dlopen_e : Base.dlopen_e)(path) == C_NULL) && error(\"Unable to load \\n\\n$libname ($path)\\n\\nPlease re-run Pkg.build(package), and restart Julia.\")\r\n    quote const $(esc(libname)) = $path end\r\nend\r\n\r\n# Load dependencies\r\n@checked_lib librsvg \"/usr/lib/x86_64-linux-gnu/librsvg-2.so.2\"\r\n\r\n# Load-hooks\r\n\r\n\r\njulia> using BinDeps\r\n\r\njulia> BinDeps.debug(\"Rsvg\")\r\nINFO: Reading build script...\r\nThe package declares 1 dependencies.\r\n - Library \"rsvg\"\r\n    - Satisfied by:\r\n      - BinDeps.AptGet package librsvg2-2 at /usr/lib/x86_64-linux-gnu/librsvg-2.so.2\r\n    - Providers:\r\n      - BinDeps.AptGet package librsvg2-2\r\n\r\nshell> cat ~/.julia/v0.4/Rsvg/deps/deps.jl\r\n# This is an auto-generated file; do not edit\r\n\r\n# Pre-hooks\r\n\r\n# Macro to load a library\r\nmacro checked_lib(libname, path)\r\n    ((VERSION >= v\"0.4.0-dev+3844\" ? Base.Libdl.dlopen_e : Base.dlopen_e)(path) == C_NULL) && error(\"Unable to load \\n\\n$libname ($path)\\n\\nPlease re-run Pkg.build(package), and restart Julia.\")\r\n    quote const $(esc(libname)) = $path end\r\nend\r\n\r\n# Load dependencies\r\n\r\n# Load-hooks\r\n\r\njulia> using Rsvg\r\nINFO: Recompiling stale cache file /home/lobi/.julia/lib/v0.4/Cairo.ji for module Cairo.\r\nINFO: Recompiling stale cache file /home/lobi/.julia/lib/v0.4/Gtk.ji for module Gtk.\r\n\r\n** (julia:6743): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-MHaEEdBn6n: Connection refused\r\nERROR: LoadError: UndefVarError: librsvg not defined\r\n in set_default_dpi at /home/lobi/.julia/v0.4/Rsvg/src/calls.jl:7\r\n in include at ./boot.jl:261\r\n in include_from_node1 at ./loading.jl:304\r\n in require at ./loading.jl:243\r\nwhile loading /home/lobi/.julia/v0.4/Rsvg/src/Rsvg.jl, in expression starting on line 14\r\n```\r\n\r\n"}}