<?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>14171</bug_id>
          
          <creation_ts>2020-12-30 20:15:12 +0000</creation_ts>
          <short_desc>pseudo_ipc.h:37: multiple definition of `pseudo_access_t&apos;</short_desc>
          <delta_ts>2021-01-05 21:34:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Pseudo</product>
          <component>pseudo</component>
          <version>master</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mister_rs</reporter>
          <assigned_to name="Mark Hatle">mark.hatle</assigned_to>
          <cc>richard.purdie</cc>
    
    <cc>yp.pseudo.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88834</commentid>
    <comment_count>0</comment_count>
    <who name="">mister_rs</who>
    <bug_when>2020-12-30 20:15:12 +0000</bug_when>
    <thetext>I come to this via build instruction from branch 4.4 at https://github.com/openatv/enigma2 

I build: MACHINE=vuduo2 DISTRO=openatv DISTRO_TYPE=release make image

It is kind of strange that building image I end up now on this error instead of bug https://bugzilla.yoctoproject.org/show_bug.cgi?id=14169

Other guy with this issue (including full log):
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957713

Solution:
change in pseudo_ipc.h the enum definition:

enum pseudo_access_t_enum {
	PSA_EXEC = 1,
	PSA_WRITE = (PSA_EXEC &lt;&lt; 1),
	PSA_READ = (PSA_WRITE &lt;&lt; 1),
	PSA_APPEND = (PSA_READ &lt;&lt; 1)
};

typedef enum pseudo_access_t_enum pseudo_access_t_enum;
extern pseudo_access_t_enum pseudo_access_t;


then add into pseudo_ipc.c the line:

pseudo_access_t_enum pseudo_access_t;


With this, variable exists only once for this tool.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88835</commentid>
    <comment_count>1</comment_count>
    <who name="">mister_rs</who>
    <bug_when>2020-12-30 20:20:58 +0000</bug_when>
    <thetext>Instead of branch 4.4 I ment 6.4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88841</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-12-31 15:50:34 +0000</bug_when>
    <thetext>I believe this was already fixed in pseudo here: http://git.yoctoproject.org/cgit.cgi/pseudo/commit/?h=oe-core&amp;id=a44361b8d3fbf5fc40cd87b599caeb380454efbe</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88868</commentid>
    <comment_count>3</comment_count>
    <who name="">mister_rs</who>
    <bug_when>2021-01-05 21:34:54 +0000</bug_when>
    <thetext>Thanks, you are right.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>