LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-24-2016, 06:28 AM   #301
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512

ponce / SBo Experts --

I mistakenly posted this Q to the wrong thread ... sorry ... meant to ask this Q here ...

Something I have wondered about from time-to-time for Source that lives in a git repository ...

What is the SBo Policy on using source files in a SlackBuild that are got-via-git ( ) ?

Are there times to use git and other times to not use git ?

If one uses git, is there a way to also git a .md5sum file too ?

Thanks !

-- kjh
 
Old 09-24-2016, 07:14 AM   #302
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Did you build the new dependency of atlas?
it worked fine here

Code:
lapack-atlas:
  MD5SUM check for lapack-3.6.1.tgz ... OK
  Building package lapack-atlas-3.6.1-x86_64-1_SBo.tgz ... OK
  Installing package lapack-atlas-3.6.1-x86_64-1_SBo.tgz ... OK

atlas:
  MD5SUM check for atlas3.10.3.tar.bz2 ... OK
  Building package atlas-3.10.3-x86_64-1_SBo.tgz ... OK
  Installing package atlas-3.10.3-x86_64-1_SBo.tgz ... OK
 
Old 09-24-2016, 07:18 AM   #303
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Quote:
Originally Posted by kjhambrick View Post
ponce / SBo Experts --

I mistakenly posted this Q to the wrong thread ... sorry ... meant to ask this Q here ...

Something I have wondered about from time-to-time for Source that lives in a git repository ...

What is the SBo Policy on using source files in a SlackBuild that are got-via-git ( ) ?

Are there times to use git and other times to not use git ?

If one uses git, is there a way to also git a .md5sum file too ?

Thanks !

-- kjh
You need to clone them, make an archive and host it somewhere public.
That way, you can make sure the checksums stays the same.

if the source is on github, you can also use their archive feature which points to spesific commit
eg. https://github.com/google/go-github/...b887428e77.zip

checksums is a must for SBo
 
1 members found this post helpful.
Old 09-24-2016, 07:27 AM   #304
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Thanks willysr !

I get it ...

And yes, that md5sum is essential

-- kjh
 
Old 09-24-2016, 01:42 PM   #305
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
Quote:
Originally Posted by willysr View Post
Did you build the new dependency of atlas?
it worked fine here

Code:
lapack-atlas:
  MD5SUM check for lapack-3.6.1.tgz ... OK
  Building package lapack-atlas-3.6.1-x86_64-1_SBo.tgz ... OK
  Installing package lapack-atlas-3.6.1-x86_64-1_SBo.tgz ... OK

atlas:
  MD5SUM check for atlas3.10.3.tar.bz2 ... OK
  Building package atlas-3.10.3-x86_64-1_SBo.tgz ... OK
  Installing package atlas-3.10.3-x86_64-1_SBo.tgz ... OK
Yes, I did.
 
Old 09-24-2016, 02:13 PM   #306
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by Bindestreck View Post
atlas 3.10.3 compiling error on both Current and 14.2.

See error:
the part you quoted doesn't contain the actual error: you should add also the lines above where the real error should be...
FYI, it builds fine here too.
 
Old 09-24-2016, 02:31 PM   #307
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
Quote:
Originally Posted by ponce View Post
the part you quoted doesn't contain the actual error: you should add also the lines above where the real error should be...
FYI, it builds fine here too.
Ok,

stdout:

http://pastebin.com/kWhQBkFB

stderr:

http://pasted.co/f5006ae4
 
Old 09-25-2016, 01:13 AM   #308
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
well, looking at that log it doesn't seem to be any error outputted by the build system.

reading its README the only mandatory thing that the maintainer note is to turn off cpu throttling (instructions are in that file).

if it doesn't work I suggest you to get in touch with the maintainer.
 
Old 09-30-2016, 06:41 AM   #309
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
Thumbs up

Quote:
Originally Posted by ponce View Post
well, looking at that log it doesn't seem to be any error outputted by the build system.

reading its README the only mandatory thing that the maintainer note is to turn off cpu throttling (instructions are in that file).

if it doesn't work I suggest you to get in touch with the maintainer.
I tried this now on three different computers with no success on compiling atlas.

First, I tried to disable CPU throttling with "/etc/rc.d/rc.cpufreq performance" but atlas still comply that CPU throttling is enabled. I even tried to disable it via BIOS, but atlas still comply, this on all three different computers (Slackware 14.2 64-bit and 32-bit).

So, I recompiled a new kernel with CPU frequency scaling disabled. Then I passed that check but getting the error in previous section.

What kind of supercomputer with super Slackware 14.2 do you use to make atlas compile without issues?

(I have mailed the maintainer, waiting for response)

Last edited by Bindestreck; 09-30-2016 at 06:56 AM.
 
Old 09-30-2016, 07:45 AM   #310
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
I only use a clean Slackware64 14.2 VM using headless VirtualBox with 2 GB of RAM and 1 CPU core. It's far from a super computer definition
 
Old 09-30-2016, 07:46 AM   #311
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
Quote:
Originally Posted by willysr View Post
I only use a clean Slackware64 14.2 VM using headless VirtualBox with 2 GB of RAM and 1 CPU core. It's far from a super computer definition
I think that is the culprit, you only use 1 CPU for atlas, maybe that's why it works?
 
Old 09-30-2016, 08:02 AM   #312
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
that could be the culprit. You can try to force it by using make -j1
 
Old 09-30-2016, 04:52 PM   #313
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 238Reputation: 238Reputation: 238
@ponce:

I also cannot get beyond the throttling issue.

Like Bindestreck I had run
Code:
 bash-4.4# sh /etc/rc.d/rc.cpufreq performance
Enabled CPU frequency scaling governor:  performance
in advance and the output of cpufreq-info confirmed this.

My problem is here:
Code:
bash-4.4$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver 
intel_pstate
intel_pstate
intel_pstate
intel_pstate
intel_pstate
intel_pstate
intel_pstate
intel_pstate
Apparently it is the intel-pstate driver that has to be turned off as well.
See this ubuntu-post i-have-disabled-cpu-throttling-but-installing-atlas-says-cpu-throttlin. But there it depends on changing settings for GRUB, also according to the math-atlas site: But Grub is not used here. This blog compile-lapack-atlas-kaldi/ and thread pointed to a similar solution, but the thread also suggests that it depends on hardware/processor type.

So, it might depend on what processor/bios/startup pogram runs your box that will let compilation of atlas happen.

For me is the question, how to disable intel_pstate on Slackware not using GRUB to get started...do I add "intel_pstate=disable" to the append-line in my elilo config?

EDIT: tried this (plus activating the line "modprobe acpi-cpufreq" in /etc/rc.d/rc.cpufreq) , but this did not inactivate the intel_pstate. Would this be because of having a intel cpu (i7-3632QM CPU @ 2.20GHz) in this box? Or does it depend on kernel or on Slackware 14.2/current? On this same computer I did manage to compile atlas, but that was in the days of 14.1; in 2013. Anyway, setting compilation to 1 core in the atlas.SlackBuild did not bypass the throttle error in my case.

EDIT2: managed to inactivate intel_pstate (needed to pass on =disable kernel instruction also to refind.conf), got it on performance but atlas still does not compile; first some weird error with setting up build directory; then suddenly, there's throttling again; probably because my cpufreq is down from its max.....for some odd reason...no idea why,...giving up.

Last edited by brobr; 10-08-2016 at 06:39 PM.
 
Old 10-02-2016, 03:34 PM   #314
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Hi , transcode , fail to build in 14.2 64bits *Multilib

He is using library in /usr/lib instead /usr/lib64

/usr/lib/libjpeg.so: error adding symbols: File in wrong format
 
Old 10-02-2016, 03:52 PM   #315
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 238Reputation: 238Reputation: 238
@ usuarionuevo

Did you try this: https://slackbuilds.org/faq/#multilib?
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error building gst1-plugins-good 1.4.1 from SBO l0rddarkf0rce Slackware 4 10-06-2014 05:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 01:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration