{"action":"created","issue":{"url":"https://api.github.com/repos/dslackw/slpkg/issues/12","labels_url":"https://api.github.com/repos/dslackw/slpkg/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/dslackw/slpkg/issues/12/comments","events_url":"https://api.github.com/repos/dslackw/slpkg/issues/12/events","html_url":"https://github.com/dslackw/slpkg/issues/12","id":55499364,"number":12,"title":"slpkg fails with modified OUTPUT.","user":{"login":"websafe","id":412013,"avatar_url":"https://avatars.githubusercontent.com/u/412013?v=3","gravatar_id":"","url":"https://api.github.com/users/websafe","html_url":"https://github.com/websafe","followers_url":"https://api.github.com/users/websafe/followers","following_url":"https://api.github.com/users/websafe/following{/other_user}","gists_url":"https://api.github.com/users/websafe/gists{/gist_id}","starred_url":"https://api.github.com/users/websafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/websafe/subscriptions","organizations_url":"https://api.github.com/users/websafe/orgs","repos_url":"https://api.github.com/users/websafe/repos","events_url":"https://api.github.com/users/websafe/events{/privacy}","received_events_url":"https://api.github.com/users/websafe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-26T15:59:46Z","updated_at":"2015-01-27T07:02:55Z","closed_at":null,"body":"I was trying to modify the default `OUTPUT` used in SBo slackbuilds:\r\n\r\n~~~~ shell\r\nremovepkg flashplayer-plugin\r\nmkdir /tmp/test\r\nexport OUTPUT=/tmp/test\r\nslpkg -s sbo flashplayer-plugin\r\n~~~~\r\n\r\nResult:\r\n~~~~\r\nRemoving package /var/log/packages/flashplayer-plugin-11.2.202.425-x86_64-1_SBo...\r\nRemoving files:\r\n  --> Deleting symlink /usr/share/pixmaps/flash-player-properties.png\r\n  --> Deleting /usr/bin/flash-player-properties\r\n  --> Deleting /usr/doc/flashplayer-plugin-11.2.202.425/flashplayer-plugin.SlackBuild\r\n  --> Deleting /usr/doc/flashplayer-plugin-11.2.202.425/readme.txt\r\n  --> Deleting /usr/lib64/kde4/kcm_adobe_flash_player.so\r\n  --> Deleting /usr/lib64/mozilla/plugins/libflashplayer.so\r\n  --> Deleting /usr/share/applications/flash-player-properties.desktop\r\n  --> Deleting /usr/share/icons/hicolor/16x16/apps/flash-player-properties.png\r\n  --> Deleting /usr/share/icons/hicolor/22x22/apps/flash-player-properties.png\r\n  --> Deleting /usr/share/icons/hicolor/24x24/apps/flash-player-properties.png\r\n  --> Deleting /usr/share/icons/hicolor/32x32/apps/flash-player-properties.png\r\n  --> Deleting /usr/share/icons/hicolor/48x48/apps/flash-player-properties.png\r\n  --> Deleting /usr/share/kde4/services/kcm_adobe_flash_player.desktop\r\n  --> Deleting empty directory /usr/doc/flashplayer-plugin-11.2.202.425/\r\n\r\nReading package lists ...Done\r\nResolving dependencies ...Done\r\n\r\nThe following packages will be automatically installed or upgraded\r\nwith new version:\r\n\r\n+==============================================================================\r\n| Package                              Version          Arch         Repository\r\n+==============================================================================\r\nInstalling:\r\n flashplayer-plugin                    11.2.202.438     x86_64       SBo\r\n\r\nInstalling summary\r\n===============================================================================\r\nTotal 1 package.\r\n1 package will be installed, 0 allready installed and 0 package\r\nwill be upgraded.\r\n\r\nWould you like to continue [Y/n]? \r\n[ Download ] --> flashplayer-plugin.tar.gz\r\n\r\n--2015-01-26 12:00:26--  http://slackbuilds.org/slackbuilds/14.1/multimedia/flashplayer-plugin.tar.gz\r\nResolving slackbuilds.org (slackbuilds.org)... 208.94.238.115\r\nConnecting to slackbuilds.org (slackbuilds.org)|208.94.238.115|:80... connected.\r\nHTTP request sent, awaiting response... 416 Requested Range Not Satisfiable\r\n\r\n    The file is already fully retrieved; nothing to do.\r\n\r\n\r\n[ Download ] --> install_flash_player_11_linux.x86_64.tar.gz\r\n\r\n--2015-01-26 12:00:27--  https://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.438/install_flash_player_11_linux.x86_64.tar.gz\r\nResolving fpdownload.macromedia.com (fpdownload.macromedia.com)... 23.59.98.70\r\nConnecting to fpdownload.macromedia.com (fpdownload.macromedia.com)|23.59.98.70|:443... connected.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 7240645 (6.9M) [application/x-gzip]\r\nServer file no newer than local file '/tmp/slpkg/build/install_flash_player_11_linux.x86_64.tar.gz' -- not retrieving.\r\n\r\n+==============================================================================\r\n| MD5SUM check for install_flash_player_11_linux.x86_64.tar.gz [ PASSED ]\r\n+==============================================================================\r\n\r\n\r\nSlackware package maker, version 3.14159.\r\n\r\nSearching for symbolic links:\r\nusr/share/pixmaps/flash-player-properties.png -> ../icons/hicolor/48x48/apps/flash-player-properties.png\r\n\r\nMaking symbolic link creation script:\r\n( cd usr/share/pixmaps ; rm -rf flash-player-properties.png )\r\n( cd usr/share/pixmaps ; ln -sf ../icons/hicolor/48x48/apps/flash-player-properties.png flash-player-properties.png )\r\n\r\nUnless your existing installation script already contains the code\r\nto create these links, you should append these lines to your existing\r\ninstall script. Now's your chance. :^)\r\n\r\nWould you like to add this stuff to the existing install script and\r\nremove the symbolic links ([y]es, [n]o)? y\r\n\r\n\r\nRemoving symbolic links:\r\nremoved './usr/share/pixmaps/flash-player-properties.png'\r\n\r\nUpdating your ./install/doinst.sh (prepending symlinks)...\r\n\r\nThis next step is optional - you can set the directories in your package\r\nto some sane permissions. If any of the directories in your package have\r\nspecial permissions, then DO NOT reset them here!\r\n\r\nWould you like to reset all directory permissions to 755 (drwxr-xr-x) and\r\ndirectory ownerships to root.root ([y]es, [n]o)? n\r\n\r\nCreating Slackware package:  /tmp/test/flashplayer-plugin-11.2.202.438-x86_64-1_SBo.tgz\r\n\r\n./\r\ninstall/\r\ninstall/slack-desc\r\ninstall/doinst.sh\r\nusr/\r\nusr/share/\r\nusr/share/icons/\r\nusr/share/icons/hicolor/\r\nusr/share/icons/hicolor/24x24/\r\nusr/share/icons/hicolor/24x24/apps/\r\nusr/share/icons/hicolor/24x24/apps/flash-player-properties.png\r\nusr/share/icons/hicolor/22x22/\r\nusr/share/icons/hicolor/22x22/apps/\r\nusr/share/icons/hicolor/22x22/apps/flash-player-properties.png\r\nusr/share/icons/hicolor/48x48/\r\nusr/share/icons/hicolor/48x48/apps/\r\nusr/share/icons/hicolor/48x48/apps/flash-player-properties.png\r\nusr/share/icons/hicolor/16x16/\r\nusr/share/icons/hicolor/16x16/apps/\r\nusr/share/icons/hicolor/16x16/apps/flash-player-properties.png\r\nusr/share/icons/hicolor/32x32/\r\nusr/share/icons/hicolor/32x32/apps/\r\nusr/share/icons/hicolor/32x32/apps/flash-player-properties.png\r\nusr/share/applications/\r\nusr/share/applications/flash-player-properties.desktop\r\nusr/share/pixmaps/\r\nusr/share/kde4/\r\nusr/share/kde4/services/\r\nusr/share/kde4/services/kcm_adobe_flash_player.desktop\r\nusr/lib64/\r\nusr/lib64/mozilla/\r\nusr/lib64/mozilla/plugins/\r\nusr/lib64/mozilla/plugins/libflashplayer.so\r\nusr/lib64/kde4/\r\nusr/lib64/kde4/kcm_adobe_flash_player.so\r\nusr/bin/\r\nusr/bin/flash-player-properties\r\nusr/doc/\r\nusr/doc/flashplayer-plugin-11.2.202.438/\r\nusr/doc/flashplayer-plugin-11.2.202.438/readme.txt\r\nusr/doc/flashplayer-plugin-11.2.202.438/flashplayer-plugin.SlackBuild\r\n\r\nSlackware package /tmp/test/flashplayer-plugin-11.2.202.438-x86_64-1_SBo.tgz created.\r\n\r\nTotal build time for package flashplayer-plugin : 4.73 Sec\r\n\r\n+==============================================================================\r\n| Build package flashplayer-plugin-11.2.202.438 [ FAILED ]\r\n+==============================================================================\r\n| See log file in '/var/log/slpkg/sbo/build_logs' directoryor read README file:\r\n| http://slackbuilds.org/slackbuilds/14.1/multimedia/flashplayer-plugin/README\r\n+=============================================================================\r\n~~~~\r\n\r\n\r\nTask fails. Package is created as expected in `/tmp/test`:\r\n\r\n~~~~\r\nls -la /tmp/test/\r\ntotal 7048\r\ndrwxr-xr-x  2 root root    4096 Jan 26 12:00 ./\r\ndrwxrwxrwt 14 root root    4096 Jan 26 12:00 ../\r\n-rw-r--r--  1 root root 7204911 Jan 26 12:00 flashplayer-plugin-11.2.202.438-x86_64-1_SBo.tgz\r\n~~~~\r\n\r\nbut `slpkg` fails to install from a modified `OUTPUT` location.\r\n"},"comment":{"url":"https://api.github.com/repos/dslackw/slpkg/issues/comments/71598634","html_url":"https://github.com/dslackw/slpkg/issues/12#issuecomment-71598634","issue_url":"https://api.github.com/repos/dslackw/slpkg/issues/12","id":71598634,"user":{"login":"websafe","id":412013,"avatar_url":"https://avatars.githubusercontent.com/u/412013?v=3","gravatar_id":"","url":"https://api.github.com/users/websafe","html_url":"https://github.com/websafe","followers_url":"https://api.github.com/users/websafe/followers","following_url":"https://api.github.com/users/websafe/following{/other_user}","gists_url":"https://api.github.com/users/websafe/gists{/gist_id}","starred_url":"https://api.github.com/users/websafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/websafe/subscriptions","organizations_url":"https://api.github.com/users/websafe/orgs","repos_url":"https://api.github.com/users/websafe/repos","events_url":"https://api.github.com/users/websafe/events{/privacy}","received_events_url":"https://api.github.com/users/websafe/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T07:02:55Z","updated_at":"2015-01-27T07:02:55Z","body":"Thank you @dslackw , now I see in `slpkg.conf`:\r\n\r\n~~~~\r\n# Build directory for repository slackbuilds.org. In this directory\r\n# downloaded sources and scripts for building.\r\nBUILD=/tmp/slpkg/build/\r\n~~~~\r\n\r\nbut I'm not sure if that's a good name (`BUILD`) , because `BUILD` is used for numbering builds\r\nin SBo slackbuilds http://slackbuilds.org/templates/autotools-template.SlackBuild\r\n\r\nAnd BTW, is the `develop` branch usable for testing? I'm asking because:\r\n> This branch is 408 commits ahead, 124 commits behind master\r\n\r\n"}}