Bug 21934

Summary: svxlink server and qtel echo link client
Product: Mageia Reporter: Forrest White <forrestw>
Component: New RPM package requestAssignee: All Packagers <pkg-bugs>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: Normal CC: marja11, zen25000
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: http://download.opensuse.org/repositories/home:/dj9pz:/branches:/hamradio/openSUSE_Tumbleweed/src/svxlink-15.11-13.12.src.rpm.mirrorlist
Whiteboard:
Source RPM: svxlink CVE:
Status comment:

Description Forrest White 2017-10-25 23:44:15 CEST
Description of problem:
altered svxlink.spec from libsigc++ to libsigc++1.2 and libsigc++20 to libsigc++2.0 and qt-devel to qt5-devel ran urpmi svxlink.spec all dependancies installed then rpmbuild --bb svxlink.spec. got this error:
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.c3gAKZ
+ umask 022
+ cd /home/fwhite/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/fwhite/rpmbuild/BUILD
+ rm -rf svxlink-15.11
+ /usr/bin/gzip -dc /home/fwhite/rpmbuild/SOURCES/15.11.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd svxlink-15.11
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cd /home/fwhite/rpmbuild/BUILD
+ cd svxlink-15.11
+ /usr/bin/bzip2 -dc /home/fwhite/rpmbuild/SOURCES/svxlink-sounds-en_US-heather-16k-13.12.tar.bz2
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1hbfSA
+ umask 022
+ cd /home/fwhite/rpmbuild/BUILD
+ cd svxlink-15.11
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4'
+ export FFLAGS
+ LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'
+ export LDFLAGS
+ mkdir -p build
+ cd build
+ /usr/bin/cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DLIB_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed  -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DLOCAL_STATE_DIR=/var src
CMake Error: The source directory "/home/fwhite/rpmbuild/BUILD/svxlink-15.11/build/src" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
error: Bad exit status from /var/tmp/rpm-tmp.1hbfSA (%build

Version-Release number of selected component (if applicable):


How reproducible:

do not know how to resolve created an mga6.src.rpm to save my altered spec file 
no upload links provided for assistance
Steps to Reproduce:
1.
2.
3.
Comment 1 Forrest White 2017-10-26 00:35:32 CEST
update previous src.rpm was a fedora. downloaded an open suse src.rpm changed groff-full to groff and pwdutils to shadow-utils commentrd out update desktp files get through most of build then fails at 


%suse_update_desktop_file -c qtel Qtel "EchoLink Client" qtel "/usr/share/icons/link.xpm" "Network;HamRadio"
Comment 2 Barry Jackson 2017-10-26 11:21:54 CEST
%suse_update_desktop_file is a suse specific macro - don't use it.

You can check what any rpm macro evaluates to by running:

rpm --eval %any_old_macro

If it just returns the macro name as entered then it's not supported, or it is provided by a special package which may not be installed.

For now just try removing that line. The desktop file can be fixed later.

CC: (none) => zen25000

Comment 3 Forrest White 2017-10-26 21:12:34 CEST
removed the line specfied new error
Processing files: svxlink-server-1.5.0-13.12.x86_64
error: File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man1/devcal.1.gz
error: File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man1/remotetrx.1.gz
error: File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man1/siglevdetcal.1.gz
error: File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man1/svxlink.1.gz
error: File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man5/ModuleDtmfRepeater.conf.5.gz
error: File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man5/ModuleEchoLink.conf.5.gz
error: File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man5/ModuleHelp.conf.5.gz
error: File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man5/ModuleParrot.conf.5.gz
error: File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man5/ModulePropagationMonitor.conf.5.gz
error: File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man5/ModuleSelCallEnc.conf.5.gz
error: File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man5/ModuleTclVoiceMail.conf.5.gz
error: File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man5/remotetrx.conf.5.gz
error: File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man5/svxlink.conf.5.gz
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jP6jvF
+ umask 022
+ cd /home/fwhite/rpmbuild/BUILD
+ cd svxlink-15.11
+ DOCDIR=/home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/doc/svxlink-server
+ export DOCDIR
+ /usr/bin/mkdir -p /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/doc/svxlink-server
+ cp -pr src/svxlink/ChangeLog /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/doc/svxlink-server
+ exit 0


RPM build errors:
    File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man1/devcal.1.gz
    File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man1/remotetrx.1.gz
    File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man1/siglevdetcal.1.gz
    File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man1/svxlink.1.gz
    File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man5/ModuleDtmfRepeater.conf.5.gz
    File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man5/ModuleEchoLink.conf.5.gz
    File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man5/ModuleHelp.conf.5.gz
    File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man5/ModuleParrot.conf.5.gz
    File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man5/ModulePropagationMonitor.conf.5.gz
    File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man5/ModuleSelCallEnc.conf.5.gz
    File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man5/ModuleTclVoiceMail.conf.5.gz
    File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man5/remotetrx.conf.5.gz
    File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man5/svxlink.conf.5.gz
[fwhite@localhost SPECS]$
Comment 4 Barry Jackson 2017-10-26 22:29:23 CEST
Look in BUILDROOT/svx......./usr/share/man/ and see what the directories and filesnames are. Probably not /man/manx/xxxxx.gz. So edit the %files section of the spec so the correct names are used.

Or you could remove them all and use something like:

%{_mandir}/man?/*

Please *attach* long texts don't paste them in here. See the 'Attachments' box above the messages.
Comment 5 Forrest White 2017-10-26 23:22:40 CEST
(In reply to Barry Jackson from comment #4)
> Look in BUILDROOT/svx......./usr/share/man/ and see what the directories and
> filesnames are. Probably not /man/manx/xxxxx.gz. So edit the %files section
> of the spec so the correct names are used.
> 
> Or you could remove them all and use something like:
> 
> %{_mandir}/man?/*
> 
> Please *attach* long texts don't paste them in here. See the 'Attachments'
> box above the messages.

made change to  
%{_mandir}/man1/*
%{_mandir}/man5/*
error

RPM build errors:
    File not found: /home/fwhite/rpmbuild/BUILDROOT/svxlink-15.11-13.12.x86_64/usr/share/man/man1/qtel.1.gz

getting closer.
Comment 6 Barry Jackson 2017-10-26 23:35:56 CEST
Are you sure there is no entry in another %files section that has that file listed?
IIANM it must be explicitly mentioned in the spec to get that error :/
Comment 7 Forrest White 2017-10-27 00:12:33 CEST
i got it found the error in the spec file
Comment 8 Marja Van Waes 2017-10-27 19:58:57 CEST
Mass-change status to NEW for all bugs that were filed as UNCONFIRMED between October 9 and now, and that still have that status now.

From now on all newly filed bugs will have the NEW status again, like before, regardless of who files the report.

Status: UNCONFIRMED => NEW
Ever confirmed: 0 => 1

Comment 9 Marja Van Waes 2017-11-01 21:34:38 CET
(In reply to Forrest White from comment #7)
> i got it found the error in the spec file

Nice! Can you please *attach* the svxlink.spec file that works? That'll increase the chance someone will package it :-)



Assigning this package request to all packagers collectively. On a voluntary basis, one of them might, if there are no license or other legal issues, want to integrate it to the distribution and maintain it for bug and security fixes.

You might also want to join the packager team to maintain this piece of software: see https://wiki.mageia.org/en/Becoming_a_Mageia_Packager

Assignee: bugsquad => pkg-bugs
CC: (none) => marja11
Source RPM: (none) => svxlink

Comment 10 sturmvogel 2022-06-19 13:32:56 CEST
Svxlink is not shipped with Mageia. No rpm/deb based distribution ships svxlink. Only FreeBSD and Alpine have a package. Project seems not really active.

Closing as WONTFIX.

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX