LinuxQuestions.org
Help answer threads with 0 replies.
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 05-06-2018, 03:12 AM   #1
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint, Niresh (MacOS)...
Posts: 430

Rep: Reputation: 284Reputation: 284Reputation: 284
use of the new scripts: make_world.sh and buildlist-from-changelog.sh


I'm trying to use the two new scripts because of a problem with gutenprint in SFS.

I managed to create a 'buildlist' by issuing the following command:

CHANGELOG=${CHANGELOG:-../ChangeLog.txt} NEWERTHAN="Sat Apr 21 17:39:25 UTC 2018" ./buildlist-from-changelog.sh > buildlist

But to build the 'buildlist' I'm not sure how to use it with make_world.sh. I thought it was:

./make_world.sh buildlist (with buildlist as argument)

but it doesn't seem to be the case.

It seems I have to copy the 'buildlist' generated in /tmp/make_world directory and execute ./make_world.sh with no argument?

Help welcome.

Last edited by nobodino; 05-06-2018 at 03:22 AM.
 
Old 05-06-2018, 03:24 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,184

Rep: Reputation: 5166Reputation: 5166Reputation: 5166Reputation: 5166Reputation: 5166Reputation: 5166Reputation: 5166Reputation: 5166Reputation: 5166Reputation: 5166Reputation: 5166
Did you try "BUILDLIST=buildlist ./make_world.sh" yet?
 
1 members found this post helpful.
Old 05-06-2018, 03:51 AM   #3
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint, Niresh (MacOS)...
Posts: 430

Original Poster
Rep: Reputation: 284Reputation: 284Reputation: 284
No, I did this:

mkdir -pv /tmp/make_world
CHANGELOG=${CHANGELOG:-../ChangeLog.txt} NEWERTHAN="Sat Apr 21 17:39:25 UTC 2018" ./buildlist-from-changelog.sh > /tmp/make_world/buildlist
time (./make_world.sh)

I've thrown the script now and wait for the result (54 packages to rebuild).
Thanks for your advice, I'll try it next time.

Last edited by nobodino; 05-06-2018 at 03:54 AM.
 
Old 05-06-2018, 04:48 AM   #4
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint, Niresh (MacOS)...
Posts: 430

Original Poster
Rep: Reputation: 284Reputation: 284Reputation: 284
As thought, it fails on building gutenprint, the 5th on the buildlist.
 
Old 05-06-2018, 08:03 AM   #5
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint, Niresh (MacOS)...
Posts: 430

Original Poster
Rep: Reputation: 284Reputation: 284Reputation: 284
here is the complete result:
--------------------------
time (BUILDLIST=buildlist ./make_world.sh)
Using buildlist buildlist.
Working on l/imagemagick/imagemagick.SlackBuild... built successfully (1/54).
Working on d/perl/perl.SlackBuild... have global lock, waiting for other builds to complete... done, continuing... built successfully (2/54).
Working on d/python-pip/python-pip.SlackBuild... built successfully (3/54).
Working on d/meson/meson.SlackBuild... built successfully (4/54).
Working on ap/gutenprint/gutenprint.SlackBuild... failed to build.
Working on d/parallel/parallel.SlackBuild... built successfully (5/54).
Working on d/gcc/gcc.SlackBuild... built successfully (6/54).
Working on l/poppler-data/poppler-data.SlackBuild... built successfully (7/54).
Working on a/btrfs-progs/btrfs-progs.SlackBuild... built successfully (8/54).
Working on n/php/php.SlackBuild... failed to build.
Working on n/openvpn/openvpn.SlackBuild... built successfully (9/54).
Working on x/urw-core35-fonts-otf/urw-core35-fonts-otf.SlackBuild... built successfully (10/54).
Working on n/openssh/openssh.SlackBuild... built successfully (11/54).
Working on e/emacs/emacs.SlackBuild... built successfully (12/54).
Working on ap/nano/nano.SlackBuild... built successfully (13/54).
Working on x/x11-skel/x11-skel.SlackBuild... built successfully (14/54).
Working on x/mesa/mesa.SlackBuild... built successfully (15/54).
Working on l/libvisio/libvisio.SlackBuild... built successfully (16/54).
Working on d/doxygen/doxygen.SlackBuild... built successfully (17/54).
Working on ap/slackpkg/slackpkg.SlackBuild... built successfully (18/54).
Working on a/pkgtools/pkgtools.SlackBuild... built successfully (19/54).
Working on a/gpm/gpm.SlackBuild... built successfully (20/54).
Working on a/glibc-zoneinfo/glibc-zoneinfo.SlackBuild... built successfully (21/54).
Working on n/samba/samba.SlackBuild... built successfully (22/54).
Working on l/libwebp/libwebp.SlackBuild... built successfully (23/54).
Working on xap/mozilla-firefox/mozilla-firefox.SlackBuild... failed to build.
Working on l/libwmf/libwmf.SlackBuild... built successfully (24/54).
Working on ap/sudo/sudo.SlackBuild... built successfully (25/54).
Working on a/xz/xz.SlackBuild... built successfully (26/54).
Working on xap/gimp/gimp.SlackBuild... built successfully (27/54).
Working on x/mypaint-brushes/mypaint-brushes.SlackBuild... built successfully (28/54).
Working on x/libmypaint/libmypaint.SlackBuild... built successfully (29/54).
Working on x/libinput/libinput.SlackBuild... built successfully (30/54).
Working on l/json-glib/json-glib.SlackBuild... built successfully (31/54).
Working on l/json-c/json-c.SlackBuild... built successfully (32/54).
Working on l/gexiv2/gexiv2.SlackBuild... built successfully (33/54).
Working on l/gegl/gegl.SlackBuild... built successfully (34/54).
Working on ap/man-pages/man-pages.SlackBuild... built successfully (35/54).
Working on ap/hplip/hplip.SlackBuild... built successfully (36/54).
Working on a/xfsprogs/xfsprogs.SlackBuild... built successfully (37/54).
Working on a/eudev/eudev.SlackBuild... built successfully (38/54).
Working on a/dbus/dbus.SlackBuild... built successfully (39/54).
Working on n/gnupg2/gnupg2.SlackBuild... built successfully (40/54).
Working on n/dhcpcd/dhcpcd.SlackBuild... built successfully (41/54).
Working on l/libaio/libaio.SlackBuild... built successfully (42/54).
Working on l/LibRaw/LibRaw.SlackBuild... built successfully (43/54).
Working on a/kernel-firmware/kernel-firmware.SlackBuild... built successfully (44/54).
Working on xap/seamonkey/seamonkey.SlackBuild... built successfully (45/54).
Working on xap/xlockmore/xlockmore.SlackBuild... built successfully (46/54).
Working on xap/xine-lib/xine-lib.SlackBuild... built successfully (47/54).
Working on x/xterm/xterm.SlackBuild... built successfully (48/54).
Working on l/virtuoso-ose/virtuoso-ose.SlackBuild... built successfully (49/54).
Working on d/python/python.SlackBuild... built successfully (50/54).
Working on kde/kde.SlackBuild kdenetwork:kopete... failed to build.

real 97m6,411s
user 330m23,256s
sys 26m32,762s
----------------------
gutenprint, firefox, php failed to build.
---------------------
gutenprint end of failed file:
---------------------------
make[3]*: on entre dans le répertoire «*/tmp/gutenprint-5.2.14/src/gimp2*»
CC print-image-gimp.o
In file included from print_gimp.h:35:0,
from print-image-gimp.c:27:
../../include/gutenprintui2/gutenprintui.h:45:10: erreur fatale: gtk/gtk.h : Aucun fichier ou dossier de ce type
#include <gtk/gtk.h>
^~~~~~~~~~~
compilation terminée.
make[3]: *** [Makefile:548: print-image-gimp.o] Error 1
make[3]*: on quitte le répertoire «*/tmp/gutenprint-5.2.14/src/gimp2*»
make[2]: *** [Makefile:480: all-recursive] Error 1
make[2]*: on quitte le répertoire «*/tmp/gutenprint-5.2.14/src*»
make[1]: *** [Makefile:581: all-recursive] Error 1
make[1]*: on quitte le répertoire «*/tmp/gutenprint-5.2.14*»
make: *** [Makefile:512: all] Error 2
-----------------------------
firefox end of failed file:
-----------------------------
0:04.01 checking the host C++ compiler works... yes
0:04.03 checking for 64-bit OS... yes
0:04.03 checking bindgen cflags... no
0:04.05 checking for linker...
0:04.05 DEBUG: Executing: `/usr/bin/gcc -std=gnu99 -Wl,--version`
0:04.05 Traceback (most recent call last):
0:04.05 File "/tmp/firefox-59.0.3/configure.py", line 127, in <module>
0:04.05 sys.exit(main(sys.argv))
0:04.05 File "/tmp/firefox-59.0.3/configure.py", line 29, in main
0:04.05 sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
0:04.05 File "/tmp/firefox-59.0.3/python/mozbuild/mozbuild/configure/__init__.py", line 428, in run
0:04.05 func(*args)
0:04.05 File "/tmp/firefox-59.0.3/python/mozbuild/mozbuild/configure/__init__.py", line 474, in _value_for
0:04.06 return self._value_for_depends(obj, need_help_dependency)
0:04.06 File "/tmp/firefox-59.0.3/python/mozbuild/mozbuild/util.py", line 944, in method_call
0:04.06 cache[args] = self.func(instance, *args)
0:04.06 File "/tmp/firefox-59.0.3/python/mozbuild/mozbuild/configure/__init__.py", line 483, in _value_for_depends
0:04.06 return obj.result(need_help_dependency)
0:04.06 File "/tmp/firefox-59.0.3/python/mozbuild/mozbuild/util.py", line 944, in method_call
0:04.06 cache[args] = self.func(instance, *args)
0:04.06 File "/tmp/firefox-59.0.3/python/mozbuild/mozbuild/configure/__init__.py", line 123, in result
0:04.06 return self._func(*resolved_args)
0:04.06 File "/tmp/firefox-59.0.3/python/mozbuild/mozbuild/configure/__init__.py", line 1003, in wrapped
0:04.06 return new_func(*args, **kwargs)
0:04.06 File "/tmp/firefox-59.0.3/python/mozbuild/mozbuild/configure/__init__.py", line 735, in wrapper
0:04.06 ret = template(*args, **kwargs)
0:04.06 File "/tmp/firefox-59.0.3/build/moz.configure/checks.configure", line 58, in wrapped
0:04.06 ret = func(*args, **kwargs)
0:04.06 File "/tmp/firefox-59.0.3/python/mozbuild/mozbuild/configure/__init__.py", line 1003, in wrapped
0:04.06 return new_func(*args, **kwargs)
0:04.06 File "/tmp/firefox-59.0.3/build/moz.configure/toolchain.configure", line 1556, in select_linker
0:04.06 build_env, toolchain_flags, linker)
0:04.06 File "/tmp/firefox-59.0.3/python/mozbuild/mozbuild/configure/__init__.py", line 1003, in wrapped
0:04.06 return new_func(*args, **kwargs)
0:04.06 File "/tmp/firefox-59.0.3/build/moz.configure/toolchain.configure", line 1522, in enable_gnu_linker
0:04.06 cmd_output = check_cmd_output(*cmd).decode('utf-8')
0:04.06 File "/tmp/firefox-59.0.3/obj/_virtualenv/lib64/python2.7/encodings/utf_8.py", line 16, in decode
0:04.07 return codecs.utf_8_decode(input, errors, True)
0:04.07 UnicodeDecodeError: 'utf8' codec can't decode byte 0xa0 in position 108: invalid start byte
0:04.10 *** Fix above errors and then restart with\
0:04.10 "/usr/bin/gmake -f client.mk build"
0:04.10 gmake: *** [client.mk:149: configure] Error 1
--------------------------
php end of failed file:
---------------------------
gcc -DHAVE_CONFIG_H -I../include -I/usr/include -pthread -O2 -fPIC -MT word.o -MD -MP -MF .deps/word.Tpo -c -o word.o word.c
mv -f .deps/word.Tpo .deps/word.Po
rm -f libpico.a
/usr/bin/ar cru libpico.a attach.o basic.o bind.o browse.o buffer.o composer.o display.o file.o fileio.o line.o pico.o random.o region.o search.o window.o word.o
ranlib libpico.a
gcc -DHAVE_CONFIG_H -I../include -I/usr/include -pthread -O2 -fPIC -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -I../include -I/usr/include -pthread -O2 -fPIC -MT utf8stub.o -MD -MP -MF .deps/utf8stub.Tpo -c -o utf8stub.o utf8stub.c
mv -f .deps/utf8stub.Tpo .deps/utf8stub.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -fPIC -L/usr/lib -o pico main.o utf8stub.o ../c-client/utf8.o libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -lgssapi_krb5 -lpam -lldap -lssl -lcrypto -ldl -ltinfo -llber -lpam -lkrb5
libtool: link: gcc -pthread -O2 -fPIC -o pico main.o utf8stub.o ../c-client/utf8.o -L/usr/lib libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -lgssapi_krb5 /usr/lib/libldap.so /usr/lib/libsasl2.so -lssl -lcrypto -ldl -ltinfo /usr/lib/liblber.so -lresolv -lpam -lkrb5 -pthread
/usr/lib/libldap.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:529: pico] Error 1
make[3]*: on quitte le répertoire «*/tmp/alpine-2.21/pico*»
make[2]: *** [Makefile:595: all-recursive] Error 1
make[2]*: on quitte le répertoire «*/tmp/alpine-2.21/pico*»
make[1]: *** [Makefile:540: all-recursive] Error 1
make[1]*: on quitte le répertoire «*/tmp/alpine-2.21*»
make: *** [Makefile:429: all] Error 2
-------------------------------
it says kopete failed but it's successful?
-------------------------------
usr/include/kopete/kopeteversion.h
WARNING: zero length file usr/share/apps/kopete/styles/Pidgin/Contents/Resources/Header.html
WARNING: zero length file usr/share/apps/kopete/styles/Pidgin/Contents/Resources/Footer.html
WARNING: zero length file usr/share/apps/kopete/styles/Kopete/Contents/Resources/Header.html
WARNING: zero length file usr/share/apps/kopete/styles/Kopete/Contents/Resources/Footer.html
WARNING: zero length file usr/share/apps/kopete/styles/Clean/Contents/Resources/Header.html
WARNING: zero length file usr/share/apps/kopete/styles/Clean/Contents/Resources/Footer.html
WARNING: zero length file usr/share/apps/kopete/styles/Konqi/Contents/Resources/Header.html
WARNING: zero length file usr/share/apps/kopete/styles/Konqi/Contents/Resources/Footer.html
WARNING: zero length file usr/share/apps/kopete/styles/Hacker/Contents/Resources/Footer.html
WARNING: zero length file usr/share/apps/kopete/styles/Clear/Contents/Resources/Header.html
WARNING: zero length file usr/share/apps/kopete/styles/Clear/Contents/Resources/Footer.html
WARNING: zero length file usr/share/apps/kopete/styles/Retropete/Contents/Resources/Header.html
WARNING: zero length file usr/share/apps/kopete/styles/Retropete/Contents/Resources/Footer.html

Slackware package /tmp/kde_build/kdenetwork/kopete-4.14.3-x86_64-7.txz created.


+==============================================================================
| Upgrading kopete-4.14.3-x86_64-7 package using /tmp/kde_build/kdenetwork/kopete-4.14.3-x86_64-7.txz
+==============================================================================

Pre-installing package kopete-4.14.3-x86_64-7...

Removing package /var/log/packages/kopete-4.14.3-x86_64-7-upgraded-2018-05-06,14:31:05...

Verifying package kopete-4.14.3-x86_64-7.txz.
Installing package kopete-4.14.3-x86_64-7.txz:
PACKAGE DESCRIPTION:
# kopete (multi-protocol instant messaging system)
#
# The goals of Kopete are to provide users with a standard and easy to
# use interface between all of their instant messaging systems, but at
# the same time also providing developers with the ease of writing
# plugins to support a new protocol.
#
# For more information, visit: http://userbase.kde.org/Kopete
#
Executing install script for kopete-4.14.3-x86_64-7.txz.
Package kopete-4.14.3-x86_64-7.txz installed.

Package kopete-4.14.3-x86_64-7 upgraded with new package /tmp/kde_build/kdenetwork/kopete-4.14.3-x86_64-7.txz.


Searching for packages in kdenetwork that were not built modular:
No non-modular components found in kdenetwork.
Not building catch-all package for kdenetwork.
--------------------------------

Last edited by nobodino; 05-06-2018 at 08:16 AM.
 
Old 05-06-2018, 01:06 PM   #6
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 1,545

Rep: Reputation: 4691Reputation: 4691Reputation: 4691Reputation: 4691Reputation: 4691Reputation: 4691Reputation: 4691Reputation: 4691Reputation: 4691Reputation: 4691Reputation: 4691
Quote:
Originally Posted by nobodino View Post
it says kopete failed but it's successful?
Found the bug in make_world.sh - I'd made some recent changes to kde.SlackBuild and x11.SlackBuild to quit using the non standard build/output locations if a $TMP was pre-defined, and it broke make_world.sh in the case where $TMP was not pre-defined.

Workaround: Set $TMP when running make_world.sh, like so: TMP=/tmp BUILDLIST=/tmp/foo ./make_world.sh

Solution: In make_world.sh, below the line that sets TMP, add this line: export TMP
 
4 members found this post helpful.
Old 05-15-2018, 12:00 PM   #7
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint, Niresh (MacOS)...
Posts: 430

Original Poster
Rep: Reputation: 284Reputation: 284Reputation: 284
the 3 failing packages now build correctly.
Problem solved for those 3 and the use and the scripts.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Changelog for 4-1-2016 ReaperX7 Slackware 1 04-01-2016 07:10 PM
Changelog mscole Slackware 5 02-19-2008 02:49 PM
Sometimes the changelog just doesn't tell me enough... Lufbery Slackware 2 04-20-2007 12:25 PM
Is the changelog up to date arubin Slackware 3 11-04-2006 03:52 PM
Changelog for slapt-get? JockVSJock Slackware 2 05-30-2006 11:03 AM

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

All times are GMT -5. The time now is 10:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration