<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.freebsd.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.freebsd.org/bugzilla/"
          
          maintainer="bugmeister@FreeBSD.org"
>

    <bug>
          <bug_id>225768</bug_id>
          
          <creation_ts>2018-02-08 18:47:15 +0000</creation_ts>
          <short_desc>[patch] USES=linux silently ignores unsupported Linux packages from USE_LINUX</short_desc>
          <delta_ts>2018-09-15 08:03:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Ports &amp; Packages</product>
          <component>Ports Framework</component>
          <version>Latest</version>
          <rep_platform>Any</rep_platform>
          <op_sys>Any</op_sys>
          <bug_status>Closed</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>patch</keywords>
          <priority>---</priority>
          <bug_severity>Affects Only Me</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Naylor">dbn</reporter>
          <assigned_to name="David Naylor">dbn</assigned_to>
          <cc>portmgr</cc>
    
    <cc>ports-bugs</cc>
    
    <cc>tijl</cc>
          

      

      

      <flag name="merge-quarterly"
          id="31396"
          type_id="7"
          status="?"
          setter="koobs"
    />

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>976333</commentid>
    <comment_count>0</comment_count>
      <attachid>190437</attachid>
    <who name="David Naylor">dbn</who>
    <bug_when>2018-02-08 18:47:15 +0000</bug_when>
    <thetext>Created attachment 190437
Patch USES=linux to ERROR if a Linux package is missing

Is a port specifies a Linux package that does not exist then USES=linux silently ignores that package, instead of generating an ERROR for a non-existent dependency.  

The attached patch adds that safeguard.  

Would you like an exp-run for this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>989766</commentid>
    <comment_count>1</comment_count>
    <who name="Tijl Coosemans">tijl</who>
    <bug_when>2018-05-02 08:14:09 +0000</bug_when>
    <thetext>Feel free to commit, but perhaps it&apos;s better to use DEV_ERROR?  Then users won&apos;t see build problems because of this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1005355</commentid>
    <comment_count>2</comment_count>
    <who name="">commit-hook</who>
    <bug_when>2018-08-07 16:41:26 +0000</bug_when>
    <thetext>A commit references this bug:

Author: dbn
Date: Tue Aug  7 16:40:53 UTC 2018
New revision: 476605
URL: https://svnweb.freebsd.org/changeset/ports/476605

Log:
  USES=linux: DEV_ERROR if linux package does not exist

  PR:		225768
  Approved by:	tijl@

Changes:
  head/Mk/Uses/linux.mk</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1005393</commentid>
    <comment_count>3</comment_count>
    <who name="Kubilay Kocak">koobs</who>
    <bug_when>2018-08-07 22:34:24 +0000</bug_when>
    <thetext>Can/should this be MFH&apos;d ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1005465</commentid>
    <comment_count>4</comment_count>
    <who name="Tijl Coosemans">tijl</who>
    <bug_when>2018-08-08 12:12:24 +0000</bug_when>
    <thetext>It&apos;s not that important is it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1005472</commentid>
    <comment_count>5</comment_count>
    <who name="Mathieu Arnold">mat</who>
    <bug_when>2018-08-08 12:51:27 +0000</bug_when>
    <thetext>Also, there are almost no direct commits to the quarterly branch, so it will most certainly never be triggered.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1011284</commentid>
    <comment_count>6</comment_count>
    <who name="David Naylor">dbn</who>
    <bug_when>2018-09-15 08:03:12 +0000</bug_when>
    <thetext>Committed a while ago.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>190437</attachid>
            <date>2018-02-08 18:47:15 +0000</date>
            <delta_ts>2018-02-08 18:47:15 +0000</delta_ts>
            <desc>Patch USES=linux to ERROR if a Linux package is missing</desc>
            <filename>linux.diff</filename>
            <type>text/plain</type>
            <size>418</size>
            <attacher name="David Naylor">dbn</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL01rL1VzZXMvbGludXgubWsgYi9Nay9Vc2VzL2xpbnV4Lm1rCmluZGV4IDEx
YjYyNjViOTRkYy4uYjU5ZjFmYTg5ZTI0IDEwMDY0NAotLS0gYS9Nay9Vc2VzL2xpbnV4Lm1rCisr
KyBiL01rL1VzZXMvbGludXgubWsKQEAgLTE3Myw2ICsxNzMsOSBAQCBCVUlMRF9ERVBFTkRTKz0J
CSR7bGludXhfJHtpOkMvOi4qLy99X0RFUH0KIC5pZiAke19pX2FyZ3M6TXJ1bn0gfHwgZW1wdHko
X2lfYXJncykKIFJVTl9ERVBFTkRTKz0JCSR7bGludXhfJHtpOkMvOi4qLy99X0RFUH0KIC5lbmRp
ZgorLmlmICFkZWZpbmVkKGxpbnV4XyR7aTpDLzouKi8vfV9ERVApCitFUlJPUis9CQkJIlVTRV9M
SU5VWD0ke2l9OiBwYWNrYWdlIGRvZXMgbm90IGV4aXN0IgorLmVuZGlmCiAuZW5kZm9yCiAKIC5p
ZmRlZiBVU0VfTElOVVhfUlBNCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>