{"action":"closed","issue":{"url":"https://api.github.com/repos/joyent/pkgsrc/issues/237","labels_url":"https://api.github.com/repos/joyent/pkgsrc/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/joyent/pkgsrc/issues/237/comments","events_url":"https://api.github.com/repos/joyent/pkgsrc/issues/237/events","html_url":"https://github.com/joyent/pkgsrc/issues/237","id":56725509,"number":237,"title":"smartmontools on http://pkgsrc.joyent.com/packages/Darwin/2014Q4/i386 is built for x86_64","user":{"login":"datashadow","id":7748765,"avatar_url":"https://avatars.githubusercontent.com/u/7748765?v=3","gravatar_id":"","url":"https://api.github.com/users/datashadow","html_url":"https://github.com/datashadow","followers_url":"https://api.github.com/users/datashadow/followers","following_url":"https://api.github.com/users/datashadow/following{/other_user}","gists_url":"https://api.github.com/users/datashadow/gists{/gist_id}","starred_url":"https://api.github.com/users/datashadow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datashadow/subscriptions","organizations_url":"https://api.github.com/users/datashadow/orgs","repos_url":"https://api.github.com/users/datashadow/repos","events_url":"https://api.github.com/users/datashadow/events{/privacy}","received_events_url":"https://api.github.com/users/datashadow/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-05T20:34:49Z","updated_at":"2015-02-05T21:06:31Z","closed_at":"2015-02-05T21:06:31Z","body":"When attempting to install `smartmontools` from Joyent on a 32bit OSX system pkgin complains that the package has been built for a 64bit architecture.\r\n\r\nThis was on a completely clean install using the `curl http://pkgsrc.joyent.com/packages/Darwin/bootstrap/bootstrap-2014Q4-i386.tar.gz | sudo tar -zxpf - -C /` installation setup.\r\n\r\nThanks.\r\n\r\nDavid\r\n\r\n```\r\n$ sudo pkgin install smartmontools\r\ncalculating dependencies... done.\r\n\r\nnothing to upgrade.\r\n1 packages to be installed: smartmontools-6.2nb2 (483K to download, 1386K to install)\r\n\r\nproceed ? [Y/n] yes\r\ndownloading packages...\r\nsmartmontools-6.2nb2.tgz                                                                                                                                                                            100%  483KB 482.6KB/s 482.6KB/s   00:00\r\ninstalling packages...\r\ninstalling smartmontools-6.2nb2...\r\n===========================================================================\r\n$NetBSD: MESSAGE,v 1.1 2013/12/02 22:26:22 asau Exp $\r\n\r\nsmartd warning emails\r\n---------------------\r\n\r\nSince smartmontools release 6.1, smartd runs /usr/pkg/etc/smartd_warning.sh\r\nto generate warning emails.  If requested, it will also run executable\r\nplugin scripts from /usr/pkg/etc/smartd_warning.d.\r\n\r\n===========================================================================\r\npkg_install warnings: 1, errors: 0\r\npkg_install error log can be found in /var/db/pkgin/pkg_install-err.log\r\nreading local summary...\r\nprocessing local summary...\r\nupdating database:  88%\r\n/!\\ Warning /!\\ x86_64 doesn't match your current architecture (i386)\r\nYou probably want to modify /usr/pkg/etc/pkgin/repositories.conf.\r\nStill want to proceed ? [y/N] n\r\n$ cat /usr/pkg/etc/pkgin/repositories.conf\r\n# $Id: repositories.conf,v 1.3 2012/06/13 13:50:17 imilh Exp $\r\n#\r\n# Pkgin repositories list\r\n#\r\n# Simply add repositories URIs one below the other\r\n#\r\n# WARNING: order matters, duplicates will not be added, if two\r\n# repositories hold the same package, it will be fetched from\r\n# the first one listed in this file.\r\n#\r\n# This file format supports the following macros:\r\n# $arch to define the machine hardware platform\r\n# $osrelease to define the release version for the operating system\r\n#\r\n# Remote ftp repository\r\n#\r\n# ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/$arch/5.1/All\r\n#\r\n# Remote http repository\r\n#\r\n# http://mirror-master.dragonflybsd.org/packages/$arch/DragonFly-$osrelease/stable/All\r\n#\r\n# Local repository (must contain a pkg_summary.gz or bz2)\r\n#\r\n# file:///usr/pkgsrc/packages/All\r\n#\r\nhttp://pkgsrc.joyent.com/packages/Darwin/2014Q4/i386/All\r\n$ tail -13  /var/db/pkgin/pkg_install-err.log\r\n---Feb 05 15:07:25: installing smartmontools-6.2nb2...\r\npkg_add: Warning: package `smartmontools-6.2nb2' was built for a platform:\r\npkg_add: Darwin/x86_64 13.4.0 (pkg) vs. Darwin/i386 11.4.2 (this host)\r\n/usr/pkg/.pkgdb/smartmontools-6.2nb2/+INSTALL: line 528: /usr/pkg/bin/nbsed: No such file or directory\r\n/usr/pkg/.pkgdb/smartmontools-6.2nb2/+INSTALL: line 904: /usr/pkg/bin/nbsed: No such file or directory\r\n./+DIRS: line 92: /usr/pkg/bin/nbsed: No such file or directory\r\n./+DIRS: line 180: /usr/pkg/bin/nbsed: No such file or directory\r\n./+FILES: line 112: /usr/pkg/bin/nbsed: No such file or directory\r\n./+FILES: line 224: /usr/pkg/bin/nbsed: No such file or directory\r\n./+DIRS: line 206: /usr/pkg/bin/nbsed: No such file or directory\r\n./+DIRS: line 281: /usr/pkg/bin/nbsed: No such file or directory\r\n./+FILES: line 266: /usr/pkg/bin/nbsed: No such file or directory\r\n./+FILES: line 349: /usr/pkg/bin/nbsed: No such file or directory\r\n$\r\n```"}}