Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651334 - app-crypt/rhash-1.3.6-r1: Error: Unknown target OS, please specify the --target option (amd64-fbsd)
Summary: app-crypt/rhash-1.3.6-r1: Error: Unknown target OS, please specify the --targ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-24 08:15 UTC by Michał Górny
Modified: 2018-08-08 23:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-crypt:rhash-1.3.6-r1:20180324-075824.log (app-crypt:rhash-1.3.6-r1:20180324-075824.log,3.84 KB, text/plain)
2018-03-24 08:15 UTC, Michał Górny
Details
e-info.txt (e-info.txt,4.40 KB, text/plain)
2018-03-24 08:16 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-03-24 08:15:47 UTC
Created attachment 525202 [details]
app-crypt:rhash-1.3.6-r1:20180324-075824.log

Looks like the new build system is brilliant indeed.

 * abi_x86_64.amd64_fbsd: running multilib-minimal_abi_src_configure
./configure --target=x86_64-gentoo-freebsd11.1 --cc=x86_64-gentoo-freebsd11.1-gcc --ar=ar --extra-cflags=-O2 -pipe -march=native --extra-ldflags= --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc --disable-openssl-runtime --disable-static --enable-lib-shared --disable-debug --enable-gettext --disable-openssl --disable-lib-static
Checking for target OS ... UNKNOWN 

Error: Unknown target OS, please specify the --target option

Check "config.log" if you do not understand why it failed.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-03-24 08:16:04 UTC
Created attachment 525204 [details]
e-info.txt
Comment 2 Larry the Git Cow gentoo-dev 2018-03-24 08:28:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5e0b565a6a129b1d0645539f1a131f172e9ce14

commit d5e0b565a6a129b1d0645539f1a131f172e9ce14
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-03-24 08:22:21 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-03-24 08:28:34 +0000

    app-crypt/rhash: Remove *-fbsd keywords from 1.3.6-r1
    
    Bug: https://bugs.gentoo.org/651334

 app-crypt/rhash/rhash-1.3.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)}
Comment 3 James Le Cuirot gentoo-dev 2018-03-24 14:15:23 UTC
Le sigh. Thanks for the commit. I've sent a patch upstream.

https://github.com/rhash/RHash/pull/67
Comment 4 Jonathan Lovelace 2018-03-25 04:37:09 UTC
I'm getting the same error in a Mac OS X Prefix, where the --target is x86_64-apple-darwin16.

My emerge --info:
Portage 2.3.18-prefix (python 3.5.4-final-0, prefix/darwin/macos/10.12/x64, [unavailable], unavailable, 16.7.0 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Darwin-16.7.0-x86_64-i386-64bit
Timestamp of repository gentoo_prefix: Sun, 25 Mar 2018 01:00:39 +0000
sh bash 4.3_p48-r1
app-shells/bash:    4.3_p48-r1::gentoo_prefix
dev-lang/perl:      5.26.1-r2::gentoo_prefix
dev-lang/python:    2.7.14::gentoo_prefix, 3.5.4::gentoo_prefix
dev-util/cmake:     3.10.2::gentoo_prefix
dev-util/pkgconfig: 0.29.2::gentoo_prefix
sys-devel/autoconf: 2.69-r4::gentoo_prefix
sys-devel/automake: 1.15.1-r2::gentoo_prefix
sys-devel/libtool:  2.4.6-r4::gentoo_prefix
sys-devel/make:     4.2.1-r3::gentoo_prefix
Repositories:

gentoo_prefix
    location: /Users/kingjon/Gentoo/usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix
    priority: -1000
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-apple-darwin16"
CC="x86_64-apple-darwin16-clang"
CFLAGS="-march=native -O2 -pipe -march=native"
CHOST="x86_64-apple-darwin16"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo"
CXX="x86_64-apple-darwin16-clang++"
CXXFLAGS="-march=native -O2 -pipe -march=native"
DISTDIR="/Users/kingjon/Gentoo/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-keep-masks=y --complete-graph --with-bdeps=y"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync multilib-strict news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-dead_strip_dylibs"
MAKEOPTS="-j2"
PKGDIR="/Users/kingjon/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/kingjon/Gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/Users/kingjon/Gentoo/var/tmp"
USE="aqua coreaudio cxx ipv6 mmx mmxext modules ncurses nls objc objc++ prefix prefix-guest readline sse sse2 sse3 sse4_1 ssl ssse3 unicode x64-macos zlib" ABI_X86="64" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 ssse3" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby24" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 James Le Cuirot gentoo-dev 2018-03-25 09:43:10 UTC
(In reply to Jonathan Lovelace from comment #4)
> I'm getting the same error in a Mac OS X Prefix, where the --target is
> x86_64-apple-darwin16.

D'oh and upstream just merged my patch too. I'll submit another one...
Comment 6 Larry the Git Cow gentoo-dev 2018-03-25 18:53:29 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fb66e11dc6fedc27a430c0f4cfe1fcce5669c0b

commit 7fb66e11dc6fedc27a430c0f4cfe1fcce5669c0b
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2018-03-25 18:53:04 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2018-03-25 18:53:04 +0000

    app-crypt/rhash: Drop macos prefix keywords from 1.3.6
    
    It doesn't handle Darwin as an explicitly stated target. This will be
    fixed in the next release.
    
    Bug: https://bugs.gentoo.org/651334
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-crypt/rhash/rhash-1.3.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)}
Comment 7 Larry the Git Cow gentoo-dev 2018-08-08 23:11:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cdc359aa073e986fe37a90047701e541612ca72

commit 1cdc359aa073e986fe37a90047701e541612ca72
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2018-08-08 23:10:13 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2018-08-08 23:10:13 +0000

    app-crypt/rhash: Fix triplet issues and restore fbsd/macos keywords
    
    I was waiting for upstream to release the fix but that is taking a
    while so I've patched it.
    
    Closes: https://bugs.gentoo.org/651334
    Package-Manager: Portage-2.3.45, Repoman-2.3.10

 app-crypt/rhash/files/darwin-triplet.patch  | 23 +++++++++++++++++++++++
 app-crypt/rhash/files/freebsd-triplet.patch | 23 +++++++++++++++++++++++
 app-crypt/rhash/rhash-1.3.6-r1.ebuild       |  3 ++-
 3 files changed, 48 insertions(+), 1 deletion(-)