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

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>11456</bug_id>
          
          <creation_ts>2017-05-03 23:57:25 +0000</creation_ts>
          <short_desc>LINUX_VERSION_EXTENSION cannot contain capital letters for ipk packaging</short_desc>
          <delta_ts>2017-05-05 18:46:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>kernel</component>
          <version>2.4</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joe Slater">joe.slater</reporter>
          <assigned_to name="ssg.pg.faceless">ssg_pg</assigned_to>
          <cc>alejandro.delcastillo</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>73025</commentid>
    <comment_count>0</comment_count>
    <who name="Joe Slater">joe.slater</who>
    <bug_when>2017-05-03 23:57:25 +0000</bug_when>
    <thetext>LINUX_VERSION_EXTENSION is now appended to various kernel package names.  It did not used to be.  opkg-build will not accept capital letters or underscores in package names.

To reproduce, change the variable in linux-yocto.inc to include &quot;Yocto&quot; instead of &quot;yocto&quot;, specify ipk packaging in local.conf, and build linux-yocto.

This could be considered a regression since the contents of the variable did not used to matter for packaging purposes.

Tests made from poky cloned (master branch) on 2-May-2017.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73069</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2017-05-05 06:23:08 +0000</bug_when>
    <thetext>Confirmed that with a Capitalized letter in the package name that IPK will fail during the package_ipk task, but DEB will not.

Both DEB and IPK will fail with an &apos;_&apos; in the name.

So, we should add a sanity test for at least &apos;_&apos; (and other known symbols) in the package name.

Do we need to fix ipk to accept UpperCase letters in the package name, is that even feasible?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73075</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-05-05 09:49:56 +0000</bug_when>
    <thetext>CCing the opkg maintainer.  Alejandreo: why does opkg refuse to build packages with uppercase names? (dpkg and rpm don&apos;t care)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73083</commentid>
    <comment_count>3</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2017-05-05 15:40:48 +0000</bug_when>
    <thetext>I believe opkg is following debian policy:

&quot;Package names (both source and binary, see Package, Section 5.6.7) must consist only of lower case letters (a-z), digits (0-9), plus (+) and minus (-) signs, and periods (.). They must be at least two characters long and must start with an alphanumeric character.&quot; [1]

not sure which tool OE is using for building debian or why it&apos;s not following the policy....but the policy kinda make sense to me: it prevents having repos with 2 packages with the same name, but with different capitalization.

[1] https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Source</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73089</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2017-05-05 18:46:25 +0000</bug_when>
    <thetext>I&apos;m fine with following the sensible Debian policy. Thanks for the explanation.

The problem we encountered was due to an upper case LINUX_VERSION_EXTENSION as Joe explained.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>