Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Palemoon 28.1.0 fails to build. [SOLVED]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3031
Location: Illinois, USA

PostPosted: Sat Oct 27, 2018 7:22 pm    Post subject: Palemoon 28.1.0 fails to build. [SOLVED] Reply with quote

repos.conf
Code:
[palemoon]
priority = 50
location = /var/lib/layman/palemoon
layman-type = git
sync-type = laymansync
sync-uri = https://github.com/deu/palemoon-overlay.git
auto-sync = Yes


Error message:
Code:
 1:25.69 /usr/bin/g++ -std=gnu++11 -o bmpset.o -c -I/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/dist/system_wrappers -include /var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DU_COMMON_IMPLEMENTATION -DLOCALE_SNAME=92 -DUCONFIG_NO_BREAK_ITERATION -DUCONFIG_NO_TRANSLITERATION -DUCONFIG_NO_REGULAR_EXPRESSIONS -DUCONFIG_NO_LEGACY_CONVERSION -DU_USING_ICU_NAMESPACE=0 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DU_CHARSET_IS_UTF8 -I/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/config/external/icu/common -I/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/config/external/icu/common -I/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/intl/icu/source/i18n -I/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/dist/include -I/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/dist/include/nspr -I/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/mozilla-config.h -MD -MP -MF .deps/bmpset.o.pp -march=native -mno-xop -mno-tbm -mno-fma4 -pipe -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat -Wc++1z-compat -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -flifetime-dse=1 -std=gnu++98 -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -msse2 -mfpmath=sse -pthread -pipe -g -O2 -msse2 -mfpmath=sse -fomit-frame-pointer -frtti /var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/intl/icu/source/common/bmpset.cpp
 1:25.69 gmake[5]: *** [/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/config/rules.mk:895: bmpset.o] Error 1
 1:25.89 gmake[4]: *** [/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/config/recurse.mk:71: config/external/icu/common/target] Error 2
 1:25.89 gmake[3]: *** [/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/config/recurse.mk:33: compile] Error 2
 1:25.89 gmake[2]: *** [/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/config/rules.mk:503: default] Error 2
 1:25.89 gmake[1]: *** [/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/client.mk:414: realbuild] Error 2
 1:25.89 gmake: *** [client.mk:170: build] Error 2
 1:25.94 10 compiler warnings present.
 * ERROR: www-client/palemoon-28.1.0::palemoon failed (compile phase):
 *   (no error message)


Possibly the combination of flags?
Code:
 # emerge -pv palemoon

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] www-client/palemoon-28.1.0::palemoon  USE="devtools gtk2 official-branding optimize -dbus -debug -gnome (-gtk3) -jemalloc -necko-wifi -pulseaudio -threads -valgrind" CPU_FLAGS_X86="sse sse2" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB


Complete build log : https://pastebin.com/e5ws0ueZ


Last edited by Tony0945 on Sun Oct 28, 2018 8:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3843
Location: Dallas area

PostPosted: Sat Oct 27, 2018 7:54 pm    Post subject: Reply with quote

I just did a compile and it compiled clean.

This is with gcc 7.3 and python2.7

Code:
www-client/palemoon-28.1.0::local [27.9.3::x-portage] USE="gtk2 jemalloc official-branding optimize threads -dbus -debug -devtools -gnome% -gtk3 -necko-wifi -pulseaudio -valgrind (-shared-js%*) (-system-bzip2%) (-system-libevent%) (-system-libvpx%) (-system-libwebp%) (-system-sqlite%) (-system-zlib%)" CPU_FLAGS_X86="sse sse2" 0 KiB

_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3031
Location: Illinois, USA

PostPosted: Sat Oct 27, 2018 8:04 pm    Post subject: Reply with quote

OK, you have a different combination of flags, I'll try them.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3843
Location: Dallas area

PostPosted: Sat Oct 27, 2018 8:14 pm    Post subject: Reply with quote

I don't have a repos config file set up, I just let the ebuild pull the latest git.

I'm using the palemoon overlay ebuild.

I just download the ebuild from https://gpo.zugaina.org/www-client/palemoon for which ever version I'm wanting to use and put it in my local.
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3031
Location: Illinois, USA

PostPosted: Sat Oct 27, 2018 8:16 pm    Post subject: Reply with quote

Failed again. Same spot.

From /etc/portage/package.uise
Code:
www-client/palemoon gtk2 jemalloc official-branding optimize threads -dbus -debug -devtools -gnome% -gtk3 -necko-wifi -pulseaudio -valgrind (-shared-js%*) (-system-bzip2%) (-system-libevent%) (-system-libvpx%) (-system-libwebp%) (-system-sqlite%) (-system-zlib%)

and from the prompt"
Code:
MSI ~ # emerge -a1v palemoon

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] www-client/palemoon-28.1.0::palemoon  USE="jemalloc official-branding optimize threads -dbus -debug -devtools -gnome (-gtk3) -necko-wifi -pulseaudio -valgrind" CPU_FLAGS_X86="sse sse2" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]


Are we building from the same overlay?

Code:
# eselect python list
Available Python interpreters, in order of preference:
  [1]   python2.7
  [2]   python3.5
  [3]   python3.6 (uninstalled)
  [4]   python3.4 (uninstalled)

Code:
 # equery w portage
/var/lib/layman/nosystemd-overlay/sys-apps/portage/portage-2.3.40-r1.ebuild
 # gcc-config -l
 [1] x86_64-pc-linux-gnu-6.4.0
 [2] x86_64-pc-linux-gnu-7.3.0 *
 [3] x86_64-pc-linux-gnu-8.2.0

I'lll try again with 6.4.0


Last edited by Tony0945 on Sat Oct 27, 2018 8:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3843
Location: Dallas area

PostPosted: Sat Oct 27, 2018 8:19 pm    Post subject: Reply with quote

This from the ebuild I'm using

EGIT_REPO_URI="https://github.com/MoonchildProductions/UXP.git"

This should download the ebuild I'm using https://gpo.zugaina.org/AJAX/Ebuild/40738226
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3031
Location: Illinois, USA

PostPosted: Sat Oct 27, 2018 8:35 pm    Post subject: Reply with quote

Code:
 * Fetching https://github.com/MoonchildProductions/UXP.git ...
git fetch https://github.com/MoonchildProductions/UXP.git +refs/tags/PM28.1.0_Release:refs/tags/PM28.1.0_Release
git symbolic-ref refs/git-r3/www-client/palemoon/0/__main__ refs/tags/PM28.1.0_Release
 * Checking out https://github.com/MoonchildProductions/UXP.git to /var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0 ...
git checkout --quiet refs/tags/PM28.1.0_Release
GIT update -->
   repository:               https://github.com/MoonchildProductions/UXP.git
   at the commit:            0ad6bd82392b540015345c13fe674f29f12eb97c
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3031
Location: Illinois, USA

PostPosted: Sat Oct 27, 2018 8:46 pm    Post subject: Reply with quote

Anon-E-moose wrote:
This should download the ebuild I'm using https://gpo.zugaina.org/AJAX/Ebuild/40738226


That's the one. I'll try re-emerging gtk2 on the chance that that is the problem. "Compiler error 1" doesn't tell me much.

BTW, I don'y know if the flags from make.conf are used but mine are:
Code:
CFLAGS="-march=native -mno-xop -mno-tbm -mno-fma4 -O2 -pipe"

The extra flags are to be compatible with a ryzen upgrade, but I'll try removing them.


EDIT: BTW have 16G RAM.


Last edited by Tony0945 on Sat Oct 27, 2018 8:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3843
Location: Dallas area

PostPosted: Sat Oct 27, 2018 8:53 pm    Post subject: Reply with quote

Flags should be being used since it's an ebuild.

Code:
CFLAGS="-march=native -O2 -floop-interchange -floop-strip-mine -floop-block -pipe"


I've had mine set this way for a long time, but I'm using a (getting long in the tooth) fx 8320.

But I feel it's likely not the flags.
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3843
Location: Dallas area

PostPosted: Sat Oct 27, 2018 9:02 pm    Post subject: Reply with quote

This is the first error I see from your original paste

Code:
var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/dist/include/mozilla/Char16.h:183:15: error: 'char16_t' does not name a type; did you mean 'wchar_t'?


char16_t comes from /usr/include/uchar.h and I'm using gcc 2.27-r6.

ETA: peculiar, I just ran the ebuild past the point where you have a problem and nothing.
I don't know what to tell you.
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3031
Location: Illinois, USA

PostPosted: Sat Oct 27, 2018 10:00 pm    Post subject: Reply with quote

Anon-E-moose wrote:
char16_t comes from /usr/include/uchar.h and I'm using gcc 2.27-r6.

I'm running glibc-2.27-r6 also. Maybe palemoon doesn't like the C++11 standard?
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3843
Location: Dallas area

PostPosted: Sat Oct 27, 2018 10:10 pm    Post subject: Reply with quote

Tony0945 wrote:
Anon-E-moose wrote:
char16_t comes from /usr/include/uchar.h and I'm using gcc 2.27-r6.

I'm running glibc-2.27-r6 also. Maybe palemoon doesn't like the C++11 standard?


No, because I see that mine is using c99 and c++11 in the log.

What I notice is it all starts with a warning

Code:
libicustubdata.a.desc
In file included from /var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/mozilla-config.h:196:0,
                  from <command-line>:0:
Warning: -Wc++11-compat in /var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/dist/include/mozilla/Char16.h: identifier 'static_assert' is a keyword in C++11
/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/dist/include/mozilla/Char16.h:187:1: warning: identifier 'static_assert' is a keyword in C++11 [-Wc++11-compat]
static_assert(sizeof(char16_t) == 2, "Is char16_t type 16 bits?");
 ^~~~~~~~~~~~~
/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/dist/include/mozilla/Char16.h:183:15: error: 'char16_t' does not name a type; did you mean 'wchar_t'?
typedef const char16_t* char16ptr_t;
               ^~~~~~~~
               wchar_t
/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/dist/include/mozilla/Char16.h:187:14: error: expected constructor, destructor, or type conversion before '(' token
static_assert(sizeof(char16_t) == 2, "Is char16_t type 16 bits?");


Now why you're seeing that, I don't know, but I kind of compared a lot of your log and mine, and they look similar in what they call and what they see.
And I don't see the static_assert warning.


ETA: This is the same between mine and yours
Code:
checking whether the C compiler (/usr/bin/gcc -std=gnu99 -march=native -floop-interchange -floop-strip-mine -floop-block -pipe -Wl,-O1 -Wl,--as-needed -Wl,-rpath=/usr/lib64/palemoon) works... yes
checking whether the C compiler (/usr/bin/gcc -std=gnu99 -march=native -floop-interchange -floop-strip-mine -floop-block -pipe -Wl,-O1 -Wl,--as-needed -Wl,-rpath=/usr/lib64/palemoon) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether /usr/bin/gcc -std=gnu99 accepts -g... yes
checking for c++... /usr/bin/g++ -std=gnu++11
checking whether the C++ compiler (/usr/bin/g++ -std=gnu++11 -march=native -floop-interchange -floop-strip-mine -floop-block -pipe -Wl,-O1 -Wl,--as-needed -Wl,-rpath=/usr/lib64/palemoon) works... yes
checking whether the C++ compiler (/usr/bin/g++ -std=gnu++11 -march=native -floop-interchange -floop-strip-mine -floop-block -pipe -Wl,-O1 -Wl,--as-needed -Wl,-rpath=/usr/lib64/palemoon) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether /usr/bin/g++ -std=gnu++11 accepts -g... yes

_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3843
Location: Dallas area

PostPosted: Sat Oct 27, 2018 10:20 pm    Post subject: Reply with quote

I will recompile it in the morning and pull a full log so I can see if I get any of the warning you're seeing.
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3031
Location: Illinois, USA

PostPosted: Sat Oct 27, 2018 10:36 pm    Post subject: Reply with quote

Rebuilt glibc, didn't help.
Changed Makeopts from -j4 to -j1.
It seems to be getting farther but very slowly.

EDIT: Spoke too soon. Failed again, just took longer to get there.
Meanwhile I installed palemoon-bin-28.1.0 I wanted to build from scratch because the binary seemed unnaturally slow and some odd behavior before. I'm on a later kernel now and it seems better.
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3031
Location: Illinois, USA

PostPosted: Sun Oct 28, 2018 12:18 am    Post subject: Reply with quote

Anon-E-moose wrote:
I will recompile it in the morning and pull a full log so I can see if I get any of the warning you're seeing.

Thank you. And Thank you for your almost instantaneous responses. They are greatly appreciated.

Tried to meld the old ebuild and the old. Meld failed to launch. Found a bug in bugzilla relating to cairo that pycairo needed to be rebuilt after updating cairo. Did that and meld runs agin. Had already tried rebuilding gblic, now running emerge -e @system. 204 packages. Should be done tomorrow.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3843
Location: Dallas area

PostPosted: Sun Oct 28, 2018 11:22 am    Post subject: Reply with quote

Just got done with the compile a little while ago, running it now, looks good, slightly faster than 27.9.3 (or at least feels slightly faster)

This is the first part of the log (cut off after first warning - none of which have to do with static_assert or the char16_t, etc)

https://paste.pound-python.org/show/47xInKjvOjT3oMhYbkP2/
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
saellaven
Guru
Guru


Joined: 23 Jul 2006
Posts: 496

PostPosted: Sun Oct 28, 2018 2:13 pm    Post subject: Reply with quote

I just successfully (re)built palemoon-28.1.0 here with gcc 7.3 and python 2.7

Code:

app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.4.8::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.17::keri-overlay
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            4.9.4::gentoo, 7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3031
Location: Illinois, USA

PostPosted: Sun Oct 28, 2018 5:15 pm    Post subject: Reply with quote

Are you gentlemen using the multiarch useflag on gcc?
https://forums.gentoo.org/viewtopic-t-1088276-highlight-.html
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3843
Location: Dallas area

PostPosted: Sun Oct 28, 2018 5:37 pm    Post subject: Reply with quote

Tony0945 wrote:
Are you gentlemen using the multiarch useflag on gcc?
https://forums.gentoo.org/viewtopic-t-1088276-highlight-.html


I turned if off and recompiled glibc the other day (before I emerged palemoon)
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
saellaven
Guru
Guru


Joined: 23 Jul 2006
Posts: 496

PostPosted: Sun Oct 28, 2018 6:20 pm    Post subject: Reply with quote

Tony0945 wrote:
Are you gentlemen using the multiarch useflag on gcc?
https://forums.gentoo.org/viewtopic-t-1088276-highlight-.html


[ebuild R ] sys-libs/glibc-2.27-r6:2.2::gentoo USE="caps gd multiarch (multilib) -audit (-compile-locales) -doc (-hardened) -headers-only -nscd -profile (-selinux) -suid -systemtap (-vanilla)" 0 KiB

I hadn't paid any attention to the multiarch use flag getting added to glibc, but after reading that thread, maybe I should turn it off...
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3031
Location: Illinois, USA

PostPosted: Sun Oct 28, 2018 6:25 pm    Post subject: Reply with quote

Code:
In the directory  /var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/config/external/icu/common
 1:29.18 The following command failed to execute properly:
 1:29.19 /usr/bin/g++ -std=gnu++11 -o bmpset.o -c -I/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/dist/system_wrappers -include /var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DU_COMMON_IMPLEMENTATION -DLOCALE_SNAME=92 -DUCONFIG_NO_BREAK_ITERATION -DUCONFIG_NO_TRANSLITERATION -DUCONFIG_NO_REGULAR_EXPRESSIONS -DUCONFIG_NO_LEGACY_CONVERSION -DU_USING_ICU_NAMESPACE=0 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DU_CHARSET_IS_UTF8 -I/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/config/external/icu/common -I/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/config/external/icu/common -I/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/intl/icu/source/i18n -I/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/dist/include -I/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/dist/include/nspr -I/var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/o/mozilla-config.h -MD -MP -MF .deps/bmpset.o.pp -march=native -mno-xop -mno-tbm -mno-fma4 -pipe -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat -Wc++1z-compat -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -flifetime-dse=1 -std=gnu++98 -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -msse2 -mfpmath=sse -pthread -pipe -g -O2 -msse2 -fomit-frame-pointer -frtti /var/tmp/portage/www-client/palemoon-28.1.0/work/palemoon-28.1.0/intl/icu/source/common/bmpset.cpp
That command contains both "-std=gnu++11 " and "-std=gnu++98" hidden amongst all the -W goo. That can't be right. IIRC, the second one (98) overrides the first.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3843
Location: Dallas area

PostPosted: Sun Oct 28, 2018 6:33 pm    Post subject: Reply with quote

I missed that when I was looking at your paste log yesterday

Code:
checking whether the C++ compiler (/usr/bin/g++ -std=gnu++11 -std=gnu++98 -Wl,-O1 -Wl,--as-needed -Wl,-rpath=/usr/lib64/palemoon) works... yes


It's pretty early in the log (line 178 in the orig paste from you)

shouldn't be doing both, I would imagine that 98 overriides 11, find out where the gnu++98 is coming from.

Do you have anything set for it in /usr/portage/env?
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3031
Location: Illinois, USA

PostPosted: Sun Oct 28, 2018 6:41 pm    Post subject: Reply with quote

AHA!
Code:

# cat /etc/portage/env/palemoon-cflags
PALEMOON_ENABLE_UNSUPPORTED_COMPILERS=1
_GLIBCXX_USE_CXX11_ABI=0
CXXFLAGS= "-std=gnu++98"
Apparently, I needed that for gcc 6.4.0 which isn't supported, but since 7.3.0 is, I don't think I need any of it at all. I'll comment out every line and see if it works.
I think gnu++11 is standard for both 7.3 and the library.

EDIT: Nine minutes into the build and it hasn't faulted out, although there are lots of "set but not used" and "used but not set" warnings. Personally, I wouldn't release code like that.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3843
Location: Dallas area

PostPosted: Sun Oct 28, 2018 7:08 pm    Post subject: Reply with quote

I did google and gnu++98 wouldn't know anything about static_assert along with who knows what else.

++11 came out early in the gcc 4.3 series, ++98 probably came out in 2.* or maybe 3.* series.
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3843
Location: Dallas area

PostPosted: Sun Oct 28, 2018 7:12 pm    Post subject: Reply with quote

There were a fair bit of warnings in the code, I'm sure most of it was there from the firefox days, I think he just fixes the spots where it errors.

If it were me, I'd clean up all the warnings, but that's me. *shrugs*

grep Warn /tmp/pm.log | awk '{ print $2 }'|sort -u
Code:
-Waddress
-Warray-bounds
-Wbool-operation
-Wcpp
-Wdeprecated-declarations
-Wdiscarded-qualifiers
-Wempty-body
-Wignored-qualifiers
-Wimplicit-fallthrough=
-Wincompatible-pointer-types
-Wint-conversion
-Wint-in-bool-context
-Wmaybe-uninitialized
-Wmisleading-indentation
-Wnoexcept-type
-Wsign-compare
-Wstrict-overflow
-Wsubobject-linkage
-Wtype-limits
-Wunknown-pragmas
-Wunused-but-set-variable
-Wunused-const-variable=
-Wunused-function
-Wunused-local-typedefs
-Wunused-result
-Wunused-value
-Wunused-variable


And it does take longer to compile, 28 min vs 20 for 27.9.3.
and on the laptop 50 min vs 36 for 27.9.3
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum