[Slackbuilds-users] SlackBuild f3 (6.0) 14.2

Konrad J Hambrick kjhambrick at gmail.com
Mon Apr 3 07:15:04 UTC 2017


BHReach --

Where did you get your sourcecode ?

The reason I ask is that the 'next version' of f3 on github ALSO changes
EXPERIMENTAL to EXTRA.

I also built the unpatched source from SBo on a Slackware64 14.2 Machine
without Multilib ( hostname = bupbox ) and it worked fine too.

Log for the bupbox SlackBuild Session is attached.

Copying the SlackBuild List ... maybe they have some additional input ?

Thanks !

-- kjh

On Sun, Apr 2, 2017 at 10:22 PM, BHReach <bhreach at gmail.com> wrote:

> I figured out a way to make it compile without errors.
>
> 1. I applied the Gentoo patches.
> 2. Unfortunately the Gentoo patches changed the word experimental to extra
> in the Makefile. That won't work with the SlackBuild so I manually changed
> them back to experimental.
> 3. I ran libtoolize on the source, that sometimes avoids problems.
> 4. I complied it but got some multiple function definition errors. A
> Google search suggested adding -fgnu89-inline to CFLAGS, that worked. If I
> had read the Gentoo ebuild more carefully, I would have noticed they added
> -fgnu89-inline to CFLAGS.
> 5. I zipped the patched source used slpkg to create the Slackware package
> and install it.
>
> I think that the Gentoo patches adjust the source so it compiles under 64
> bits. That way I don't need to install Multilib.
>
> Thanks for your input.
>
>
> On 04/02/2017 07:15 PM, BHReach wrote:
>
> I am running Slackware 14.2.
>
> Not running Alien Bob's MultiLib.
>
> On 04/02/2017 06:24 PM, Konrad J Hambrick wrote:
>
> Thanks for the report BHReach !
>
> I just now downloaded and rebuilt the f3 Package on my Slackware 14.2 +
> Multilib System and it worked as expected without patches.
>
> The Build script ( do-f3-SlackBuild.sh.txt ) and Build Log (
> f2.SlackBuild-6.0.log.txt ) are attached.
>
> Note that I added a .txt extent to both files ...
>
> What version of Slackware are you running ?
>
> and...
>
> Do you run Alien Bob's MultiLib ?
>
> We'll get it fixed !
>
> -- kjh
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170403/0003cd4d/attachment-0001.html>
-------------- next part --------------
f3.SlackBuild startup  at Mon Apr  3 02:03:00 CDT 2017
Archive:  /home/dld/slackbuilds/SBo/f3/f3/f3-6.0.zip
0079634a08dec2f049a636f0045e4b6a3846ae2b
   creating: f3-6.0/
  inflating: f3-6.0/.gitignore       
  inflating: f3-6.0/LICENSE          
  inflating: f3-6.0/Makefile         
  inflating: f3-6.0/README.md        
  inflating: f3-6.0/changelog        
  inflating: f3-6.0/f3brew.c         
  inflating: f3-6.0/f3fix.c          
  inflating: f3-6.0/f3probe.c        
  inflating: f3-6.0/f3read.1         
  inflating: f3-6.0/f3read.c         
  inflating: f3-6.0/f3write.c        
  inflating: f3-6.0/f3write.h2w      
  inflating: f3-6.0/libdevs.c        
  inflating: f3-6.0/libdevs.h        
  inflating: f3-6.0/libprobe.c       
  inflating: f3-6.0/libprobe.h       
  inflating: f3-6.0/libutils.c       
  inflating: f3-6.0/libutils.h       
  inflating: f3-6.0/log-f3wr         
  inflating: f3-6.0/utils.c          
  inflating: f3-6.0/utils.h          
  inflating: f3-6.0/version.h        
cc -std=c99 -Wall -Wextra -pedantic -MMD -ggdb   -c -o utils.o utils.c
cc -std=c99 -Wall -Wextra -pedantic -MMD -ggdb   -c -o f3write.o f3write.c
cc -o f3write utils.o f3write.o -lm
cc -std=c99 -Wall -Wextra -pedantic -MMD -ggdb   -c -o f3read.o f3read.c
cc -o f3read utils.o f3read.o
install -d /tmp/SBo/package-f3/usr/bin
install -oroot -groot -m755 f3write f3read /tmp/SBo/package-f3/usr/bin
install -d /tmp/SBo/package-f3/usr/man/man1
install -oroot -groot -m644 f3read.1 /tmp/SBo/package-f3/usr/man/man1
ln -sf f3read.1 /tmp/SBo/package-f3/usr/man/man1/f3write.1
cc -std=c99 -Wall -Wextra -pedantic -MMD -ggdb   -c -o libutils.o libutils.c
cc -std=c99 -Wall -Wextra -pedantic -MMD -ggdb   -c -o libdevs.o libdevs.c
cc -std=c99 -Wall -Wextra -pedantic -MMD -ggdb   -c -o libprobe.o libprobe.c
cc -std=c99 -Wall -Wextra -pedantic -MMD -ggdb   -c -o f3probe.o f3probe.c
cc -o f3probe libutils.o libdevs.o libprobe.o f3probe.o -lm -ludev
cc -std=c99 -Wall -Wextra -pedantic -MMD -ggdb   -c -o f3brew.o f3brew.c
cc -o f3brew libutils.o libdevs.o f3brew.o -lm -ludev
cc -std=c99 -Wall -Wextra -pedantic -MMD -ggdb   -c -o f3fix.o f3fix.c
cc -o f3fix libutils.o f3fix.o -lparted
install -d /tmp/SBo/package-f3/usr/bin
install -oroot -groot -m755 f3probe f3brew f3fix /tmp/SBo/package-f3/usr/bin

Slackware package maker, version 3.141593.

Searching for symbolic links:
usr/man/man1/f3write.1.gz	f3read.1.gz

Making symbolic link creation script:
( cd usr/man/man1 ; rm -rf f3write.1.gz )
( cd usr/man/man1 ; ln -sf f3read.1.gz f3write.1.gz )

It is recommended that you make these lines your new installation script.

Would you like to make this stuff the install script for this package
and remove the symbolic links ([y]es, [n]o)? y


Removing symbolic links:
removed './usr/man/man1/f3write.1.gz'

Creating your new ./install/doinst.sh...

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package:  /tmp/f3-6.0-x86_64-1_SBo.tgz

./
install/
install/slack-desc
install/doinst.sh
usr/
usr/bin/
usr/bin/f3fix
usr/bin/f3read
usr/bin/f3write
usr/bin/f3brew
usr/bin/f3probe
usr/man/
usr/man/man1/
usr/man/man1/f3read.1.gz
usr/doc/
usr/doc/f3-6.0/
usr/doc/f3-6.0/f3write.h2w
usr/doc/f3-6.0/README.SBo
usr/doc/f3-6.0/changelog
usr/doc/f3-6.0/LICENSE
usr/doc/f3-6.0/f3.SlackBuild
usr/doc/f3-6.0/log-f3wr
usr/doc/f3-6.0/README.md

Slackware package /tmp/f3-6.0-x86_64-1_SBo.tgz created.

f3.SlackBuild complete at Mon Apr  3 02:03:03 CDT 2017 ... RetCode = 0
-------------- next part --------------
#!/bin/sh

DoName="f3.SlackBuild"

. ./f3.info

MyVersion="$VERSION"

LogNam="$DoName-$MyVersion.log"

unset PRGNAM
unset VERSION
unset HOMEPAGE
unset DOWNLOAD
unset MD5SUM
unset DOWNLOAD_x86_64
unset MD5SUM_x86_64
unset REQUIRES
unset MAINTAINER
unset EMAIL
#
# set and export any extra variables here
#
# export MANPO=no
#
export EXPERIMENTAL="YES" 
#
# do the deed
#
echo "$DoName startup  at `date`"                        |tee    $LogNam
./$DoName 2>&1                                           |tee -a $LogNam
RetCode=$?
#
# log your results
#
echo "$DoName complete at `date` ... RetCode = $RetCode" |tee -a $LogNam
exit $RetCode


More information about the SlackBuilds-users mailing list