{"action":"opened","issue":{"url":"https://api.github.com/repos/NuTyX/cards/issues/82","repository_url":"https://api.github.com/repos/NuTyX/cards","labels_url":"https://api.github.com/repos/NuTyX/cards/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/NuTyX/cards/issues/82/comments","events_url":"https://api.github.com/repos/NuTyX/cards/issues/82/events","html_url":"https://github.com/NuTyX/cards/issues/82","id":154705189,"number":82,"title":"possible Error:  default group is not build","user":{"login":"peter1000","id":6168860,"avatar_url":"https://avatars.githubusercontent.com/u/6168860?v=3","gravatar_id":"","url":"https://api.github.com/users/peter1000","html_url":"https://github.com/peter1000","followers_url":"https://api.github.com/users/peter1000/followers","following_url":"https://api.github.com/users/peter1000/following{/other_user}","gists_url":"https://api.github.com/users/peter1000/gists{/gist_id}","starred_url":"https://api.github.com/users/peter1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter1000/subscriptions","organizations_url":"https://api.github.com/users/peter1000/orgs","repos_url":"https://api.github.com/users/peter1000/repos","events_url":"https://api.github.com/users/peter1000/events{/privacy}","received_events_url":"https://api.github.com/users/peter1000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-13T12:54:40Z","updated_at":"2016-05-13T12:54:40Z","closed_at":null,"body":"hi,\r\n\r\nI'm not sure if it is an error but it seems that the default groups are not build.\r\n\r\ne.g.: CARDS PKGFiLE\r\n\r\n```\r\n# Description: A set of utilities to manage software packages on NuTyX distribution.\r\n# URL: https://github.com/NuTyX/cards\r\n# Maintainer: tnut at nutyx dot org\r\n# Packager: tnut at nutyx dot org\r\n\r\nPKGMK_IGNORE_RUNTIMEDEPS=\"no\"\r\nPKGMK_GROUPS=(devel doc man)\r\nname=cards\r\nversion=2.0\r\nrelease=1\r\n\r\nsource=(http://downloads.nutyx.org/files/cards-$version.tar.gz)\r\nbuild () {\r\ncd $name-$version\r\nmake all\r\nmake DESTDIR=$PKG install\r\nmkdir -p $PKG/{etc,usr}/ports\r\n}\r\ndevel()\r\n{\r\ncd $PKG\r\nbsdtar -cf \\\r\n$PKGMK_PACKAGE_DIR/$name.devel${PKGMK_BUILDVER}`uname -m`.$PKGMK_PACKAGE_EXT \\\r\nusr/bin \\\r\nusr/ports \\\r\nvar \\\r\netc/ports \\\r\netc/pkgmk.conf.example\r\nrm -rf var usr/bin usr/ports etc/pkgmk.conf.example etc/ports \r\n}\r\n```\r\n\r\nThis builds also the `cards.devel1463150597x86_64.cards.tar.xz` fine.\r\n\r\n---\r\n\r\nBut if I remove the devel function: I thought a default [pack_devel](https://github.com/NuTyX/cards/blob/master/scripts/pkgmk.in#L562-576) function should run.\r\n\r\nWell it does not build any  `cards.devel1463150597x86_64.cards.tar.xz` file.\r\n\r\ne.g.: CARDS PKGFiLE\r\n\r\n```\r\n# Description: A set of utilities to manage software packages on NuTyX distribution.\r\n# URL: https://github.com/NuTyX/cards\r\n# Maintainer: tnut at nutyx dot org\r\n# Packager: tnut at nutyx dot org\r\n\r\nPKGMK_IGNORE_RUNTIMEDEPS=\"no\"\r\nPKGMK_GROUPS=(devel doc man)\r\nname=cards\r\nversion=2.0\r\nrelease=1\r\n\r\nsource=(http://downloads.nutyx.org/files/cards-$version.tar.gz)\r\nbuild () {\r\ncd $name-$version\r\nmake all\r\nmake DESTDIR=$PKG install\r\nmkdir -p $PKG/{etc,usr}/ports\r\n}\r\n#devel()\r\n#{\r\n#cd $PKG\r\n#bsdtar -cf \\\r\n#$PKGMK_PACKAGE_DIR/$name.devel${PKGMK_BUILDVER}`uname -m`.$PKGMK_PACKAGE_EXT \\\r\n#usr/bin \\\r\n#usr/ports \\\r\n#var \\\r\n#etc/ports \\\r\n#etc/pkgmk.conf.example\r\n#rm -rf var usr/bin usr/ports etc/pkgmk.conf.example etc/ports \r\n#}\r\n```\r\n\r\nmaybe it's just a problem on my machine (I'm not proper uptodate) or I misunderstood it - but I think it could be an error here: https://github.com/NuTyX/cards/blob/master/scripts/pkgmk.in#L816\r\n\r\nbecause `$1` is empty called  here:  build_package https://github.com/NuTyX/cards/blob/master/scripts/pkgmk.in#L1399\r\n\r\nJust wanted to let you know: as I said - maybe I also misunderstood something than just close the issue.\r\n"}}