Hi Raphael
[root@localhost mnt]# ls /home/ha/rpmbuild/SOURCES/
sems-0001-Force-to-use-system-wide-GSM-includes.patch
sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch
sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch
sems-0004-Disable-mysql-in-conference-and-early_announce-modul.patch
sems-0005-Add-sw_prepaid_sip-plugin-to-default-exclude-list-du.patch
sems-0006-last-minute-fix-proper-version.patch
sems-0007-Fix-gateway-module-s-version-passing-in-CMake.patch
sems-0008-Install-email-template.patch
sems-0009-Don-t-start-py_sems-by-default.patch
sems-0010-Move-CMake-defines.patch
sems-0011-Avoid-using-private-Glibc-functions.patch
sems-1.4.0.tar.gz
> i comment out the patch5, 6, 7, 8, 9 in the spec file and the process of
> rpmbuild is
> running and will update you the result later it success or not
get error
RPM build errors:
File not found: /var/tmp/sems-1.4.0-5-root-ha/etc/sems/etc/auth_b2b.conf
File not found: /var/tmp/sems-1.4.0-5-root-ha/etc/sems/etc/call_timer.conf
File not found: /var/tmp/sems-1.4.0-5-root-ha/etc/sems/etc/sst_b2b.conf
File not found:
/var/tmp/sems-1.4.0-5-root-ha/etc/sems/etc/sw_prepaid_sip.conf
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/lib/sems/plug-in/auth_b2b.so
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/lib/sems/plug-in/call_timer.so
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/lib/sems/plug-in/sst_b2b.so
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/lib/sems/plug-in/sw_prepaid_sip.so
Bad exit status from /var/tmp/rpm-tmp.27082 (%doc)
File not found: /var/tmp/sems-1.4.0-5-root-ha/usr/lib/sems/plug-in/gsm.so
File not found: /var/tmp/sems-1.4.0-5-root-ha/usr/share/sems/audio/mailbox
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/share/sems/audio/mailbox/and.wav
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/share/sems/audio/mailbox/beep.wav
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/share/sems/audio/mailbox/bye.wav
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/share/sems/audio/mailbox/default_en.wav
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/share/sems/audio/mailbox/first_msg.wav
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/share/sems/audio/mailbox/msg_deleted.wav
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/share/sems/audio/mailbox/msg_menu.wav
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/share/sems/audio/mailbox/msg_saved.wav
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/share/sems/audio/mailbox/new_msg.wav
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/share/sems/audio/mailbox/next_msg.wav
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/share/sems/audio/mailbox/no_msg.wav
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/share/sems/audio/mailbox/saved_msg.wav
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/share/sems/audio/mailbox/you_have.wav
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/share/sems/audio/pin_collect
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/share/sems/audio/pin_collect/enter_pin.wav
File not found:
/var/tmp/sems-1.4.0-5-root-ha/usr/share/sems/audio/pin_collect/welcome.wav
Installed (but unpackaged) file(s) found:
/etc/sems/etc/auth_b2b.sbcprofile.conf
/etc/sems/etc/call_timer.sbcprofile.conf
/etc/sems/etc/codecfilter.sbcprofile.conf
/etc/sems/etc/prepaid.sbcprofile.conf
/etc/sems/etc/refuse.sbcprofile.conf
/etc/sems/etc/replytranslate.sbcprofile.conf
/etc/sems/etc/sbc.conf
/etc/sems/etc/src_ipmap.conf
/etc/sems/etc/sst_b2b.sbcprofile.conf
/etc/sems/etc/symmetricrtp.sbcprofile.conf
/etc/sems/etc/transparent.sbcprofile.conf
/usr/lib/sems/plug-in/sbc.so
/usr/sbin/sems-logfile-callextract
/usr/sbin/sems-sbc-get-activeprofile
/usr/sbin/sems-sbc-get-regex-map-names
/usr/sbin/sems-sbc-list-profiles
/usr/sbin/sems-sbc-load-profile
/usr/sbin/sems-sbc-reload-profile
/usr/sbin/sems-sbc-reload-profiles
/usr/sbin/sems-sbc-set-activeprofile
/usr/sbin/sems-sbc-set-regex-map
Thank you
Ha
On 3/16/11, haloha <[email protected]> wrote:
> Hi Raphael
>
> sorry for sending email privately
>
> i comment out the patch5, 6, 7, 8, 9 and the process of rpmbuild is
> running and will update you the result later it success or not
>
> rm -rf core/plug-in/gsm/gsm-1.0-pl10/
> %patch1 -p1 -b .use_system_wide_gsm
> %patch2 -p1 -b .allow_rewrite_of_makefiles
> %patch3 -p1 -b .cfg_prefix_to_empty_string
> %patch4 -p1 -b .disable_mysqlpp_in_conf_and_ea
> #%patch5 -p1 -b .exclude_sw_prepaid_sip
> #%patch6 -p1 -b .correct_ver
> #%patch7 -p1 -b .gw_ver
> #%patch8 -p1 -b .install_email_template
> #%patch9 -p1 -b .dont_start_py_sems
> %patch10 -p1 -b .correct_defines
> %patch11 -p1 -b .private_functions
>
>
> On 3/16/11, haloha <[email protected]> wrote:
>> Hi Raphael
>>
>>
>> i download the spec file from your guide and also download the 11
>> sems-...patch files and save patch files in the same SOURCE of sems
>> 1.4
>>
>> edit spec file with following
>> change the line Source0: %{name}-%{version}.w_o_ilbc_sources.tar.gz
>> to Source0: %{name}-%{version}.tar.gz
>>
>>
>> getting error:
>>
>> [ha@localhost ~]$ rpmbuild -bb rpmbuild/SPECS/sems.spec
>> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.96848
>> + umask 022
>> + cd /home/ha/rpmbuild/BUILD
>> + cd /home/ha/rpmbuild/BUILD
>> + rm -rf sems-1.4.0
>> + /bin/gzip -dc /home/ha/rpmbuild/SOURCES/sems-1.4.0.tar.gz
>> + tar -xf -
>> + STATUS=0
>> + '[' 0 -ne 0 ']'
>> + cd sems-1.4.0
>> ++ /usr/bin/id -u
>> + '[' 500 = 0 ']'
>> ++ /usr/bin/id -u
>> + '[' 500 = 0 ']'
>> + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
>> + rm -rf core/plug-in/gsm/gsm-1.0-pl10/
>> + echo 'Patch #1
>> (sems-0001-Force-to-use-system-wide-GSM-includes.patch):'
>> Patch #1 (sems-0001-Force-to-use-system-wide-GSM-includes.patch):
>> + patch -p1 -b --suffix .use_system_wide_gsm -s
>> + echo 'Patch #2
>> (sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch):'
>> Patch #2 (sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch):
>> + patch -p1 -b --suffix .allow_rewrite_of_makefiles -s
>> + echo 'Patch #3
>> (sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch):'
>> Patch #3 (sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch):
>> + patch -p1 -b --suffix .cfg_prefix_to_empty_string -s
>> + echo 'Patch #4
>> (sems-0004-Disable-mysql-in-conference-and-early_announce-modul.patch):'
>> Patch #4
>> (sems-0004-Disable-mysql-in-conference-and-early_announce-modul.patch):
>> + patch -p1 -b --suffix .disable_mysqlpp_in_conf_and_ea -s
>> + echo 'Patch #5
>> (sems-0005-Add-sw_prepaid_sip-plugin-to-default-exclude-list-du.patch):'
>> Patch #5
>> (sems-0005-Add-sw_prepaid_sip-plugin-to-default-exclude-list-du.patch):
>> + patch -p1 -b --suffix .exclude_sw_prepaid_sip -s
>> 1 out of 1 hunk FAILED -- saving rejects to file
>> core/etc/sems.conf.cmake.rej
>> error: Bad exit status from /var/tmp/rpm-tmp.96848 (%prep)
>>
>>
>> RPM build errors:
>> Bad exit status from /var/tmp/rpm-tmp.96848 (%prep)
>>
>>
>> Thank you
>> Ha`
>
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems