Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2019 22:17:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        powerpc@FreeBSD.org
Subject:   [Bug 242693] [PowerPC] sysutils/libcdio fails to build on FreeBSD 12.1-RELEASE-p1 32 bit: libapr-1.so: pragma GCC diagnostic not allowed inside functions
Message-ID:  <bug-242693-25139@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242693

            Bug ID: 242693
           Summary: [PowerPC] sysutils/libcdio fails to build on FreeBSD
                    12.1-RELEASE-p1 32 bit: libapr-1.so: pragma GCC
                    diagnostic not allowed inside functions
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jhale@FreeBSD.org
          Reporter: canardo909@gmx.com
                CC: powerpc@FreeBSD.org
                CC: powerpc@FreeBSD.org
             Flags: maintainer-feedback?(jhale@FreeBSD.org)
          Assignee: jhale@FreeBSD.org

Problem found when building sysutils/libcdio on FreeBSD 12.1-RELEASE-p1 pow=
erpc
32 bit, running on Apple Powerbook 17".=20
(sysutils/libcdio is a requirement to build xfce4)


# cd ../../sysutils/libcdio
# make -DBATCH install clean
=3D=3D=3D>  Building for libcdio-2.1.0
gmake[1]: Entering directory '/usr/ports/sysutils/libcdio/work/libcdio-2.1.=
0'
gmake  all-recursive
.....
.....
gmake[4]: Leaving directory
'/usr/ports/sysutils/libcdio/work/libcdio-2.1.0/lib/driver'
Making all in iso9660
gmake[4]: Entering directory
'/usr/ports/sysutils/libcdio/work/libcdio-2.1.0/lib/iso9660'
depbase=3D`echo iso9660.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../libtool  --tag=3DCC   --mode=3Dcompile cc -DHAVE_CONFIG_H -I.=
 -I../..
 -I../../lib/driver -I../../include -I../../include/ -DLIBICONV_PLUG -isyst=
em
/usr/local/include  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong
-isystem /usr/local/include -fno-strict-aliasing   -Wall -Wbad-function-cast
-Wcast-align -Wchar-subscripts -Wdeclaration-after-statement
-Wdisabled-optimization -Wendif-labels -Winline -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wno-sign-compare -Wpointer-arith
-Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -MT iso9660.lo
-MD -MP -MF $depbase.Tpo -c -o iso9660.lo iso9660.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/driver
-I../../include -I../../include/ -DLIBICONV_PLUG -isystem /usr/local/include
-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/incl=
ude
-fno-strict-aliasing -Wall -Wbad-function-cast -Wcast-align -Wchar-subscrip=
ts
-Wdeclaration-after-statement -Wdisabled-optimization -Wendif-labels -Winli=
ne
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-sign-comp=
are
-Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strin=
gs
-MT iso9660.lo -MD -MP -MF .deps/iso9660.Tpo -c iso9660.c  -fPIC -DPIC -o
.libs/iso9660.o
iso9660.c: In function 'iso9660_set_ltime_with_timezone':
iso9660.c:376: error: #pragma GCC diagnostic not allowed inside functions
gmake[4]: *** [Makefile:605: iso9660.lo] Error 1
gmake[4]: Leaving directory
'/usr/ports/sysutils/libcdio/work/libcdio-2.1.0/lib/iso9660'
gmake[3]: *** [Makefile:423: all-recursive] Error 1
gmake[3]: Leaving directory
'/usr/ports/sysutils/libcdio/work/libcdio-2.1.0/lib'
gmake[2]: *** [Makefile:577: all-recursive] Error 1
gmake[2]: Leaving directory '/usr/ports/sysutils/libcdio/work/libcdio-2.1.0'
gmake[1]: *** [Makefile:474: all] Error 2
gmake[1]: Leaving directory '/usr/ports/sysutils/libcdio/work/libcdio-2.1.0'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/libcdio

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242693-25139>