/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Development/packaging/osc/info.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2017-04-03 02:45:17 UTC
  • Revision ID: csa@suren.me-20170403024517-dwzj0z0k1cmhxm7u
Restructuring, OpenShift, Ansible, Git

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Building (local):
2
 
    osc build unzip.spec Mandriva_2010
3
 
 
4
 
Copying
5
 
    osc copypac home:marcindulak davmail home:csa7fff:server davmail
6
 
 
7
 
 
8
 
 
9
 
 
10
 
- expansion error have choice for inet-daemon needed by imap: inetd xinetd
11
 
  Solutions (multiple):
12
 
    * the quick fix is to add one of the above packages (inetd or xinetd) 
13
 
    to your BuildRequires    
14
 
    * osc meta -e prjconf <Project> and add the line: Prefer: xinetd
15
 
 
16
 
- rpath related error
17
 
  Sometimes, code will hardcode specific library paths when linking binaries 
18
 
  (using the -rpath or -R flag). Fix:
19
 
    * if local copy of libtool is used, just add after 'configure'
20
 
        sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
21
 
        sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
22
 
    * chrpath --delete $RPM_BUILD_ROOT%{_bindir}/<app_name>
23