* Package: www-apps/mediawiki-1.34.1 * Repository: gentoo * Maintainer: web-apps@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug test userpriv usersandbox * Skipping make test/check due to ebuild restriction. * (info) /var/tmp/portage/www-apps/mediawiki-1.34.1/files/postinstall-1.18-en.txt (lang: en) * (info) /var/tmp/portage/www-apps/mediawiki-1.34.1/files/postupgrade-1.16-en.txt (lang: en) * Final size of build directory: 182480 KiB (178.2 MiB) * Final size of installed tree: 184064 KiB (179.7 MiB) * QA Notice: Files built without respecting LDFLAGS have been detected * Please include the following list of files in your report: * /usr/share/webapps/mediawiki/1.34.1/htdocs/extensions/Scribunto/includes/engines/LuaStandalone/binaries/lua5_1_5_linux_32_generic/lua * /usr/share/webapps/mediawiki/1.34.1/htdocs/extensions/Scribunto/includes/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua * vhosts USE flag not set - auto-installing using webapp-config * This is an installation * mediawiki-1.34.1 is not installed - using install mode * Running /usr/sbin/webapp-config -h localhost -u root -d /mediawiki -I mediawiki 1.34.1 /bin/sh: line 1: printf: --: invalid option printf: usage: printf [-v var] format [arguments] /bin/sh: line 1: printf: --: invalid option printf: usage: printf [-v var] format [arguments] /bin/sh: line 1: printf: --: invalid option printf: usage: printf [-v var] format [arguments] *  Creating required directories *  Linking in required files *  This can take several minutes for larger apps *  Files and directories installed ================================================================= POST-INSTALL INSTRUCTIONS ================================================================= To complete installation you need to proceed the following steps: ================================================================= 1. Temporarily make the "mw-config" directory writable to the user the web server is running as. The quickest way is to make the directory world writable. For example: $ cd /var/www/localhost/htdocs/mediawiki $ chmod a+w mw-config 2. Configure database. a.) If you know the root password on your database, the MediaWiki installation script can create a new database for you. b.) If you don't know the root password, MediaWiki still needs database to work with. So, please, read the following link and find solution which suits your needs best: http://www.mediawiki.org/wiki/Manual:Installing_MediaWiki#Create_a_database 3. Now continue the installation through web browser by accessing the following page: http://localhost/mediawiki/mw-config/ 4. After the setup script has finished running successfully, a file called LocalSettings.php is created in the "mw-config" directory. Move this file to the root wiki directory (/var/www/localhost/htdocs/mediawiki): $ mv mw-config/LocalSettings.php . Set stringent permissions on the LocalSettings.php file: $ chown :root LocalSettings.php $ chmod 600 LocalSettings.php And delete the "mw-config" directory: $ rm -rf mw-config 5. Once you have done the above, your wiki should be ready to use! http://localhost/mediawiki/ Enabling Optional Features and other configuration ================================================== Allow images and other files to be uploaded through the wiki If you wish to enable images and other files to be uploaded through wiki then edit the LocalSettings.php file and set $wgEnableUploads to 'true': $wgEnableUploads = true; Now if MediaWiki was built with the imagemagick USE-flag the directory permissions are correct, otherwise install ImageMagick and adjust permissions on the images directory to allow the web server to write. For example: $ chown : /var/www/localhost/htdocs/mediawiki/images IMPORTANT: Uploads need to be set up properly in order to be secure! For more details take a look at the following page: http://www.mediawiki.org/wiki/Manual: Math Support Math support has been removed from the core mediawiki package from 1.18.0 onwards. See http://www.mediawiki.org/wiki/Extension:Math to enable math support. Other For other tweaks, continue with the following: http://www.mediawiki.org/wiki/Manual:Installing_MediaWiki#See_also ================================================================= * Install completed - success * Running /usr/sbin/webapp-cleaner -p -C www-apps/mediawiki * Nothing to clean * === Consult the release notes === * Before doing anything, stop and consult the release notes * /usr/share/doc/mediawiki-1.34.1/RELEASE-NOTES-1.34.bz2 * These detail bug fixes, new features and functionality, and any * particular points that may need to be noted during the upgrade procedure. * Back up existing files and the database before upgrade. * http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki * provides an overview of the backup process. emerge --info: Portage 2.3.96 (python 3.6.10-final-0, default/linux/amd64/17.0, gcc-9.2.0, glibc-2.29-r7, 4.14.34-gentoo-infra38 x86_64) ================================================================= System uname: Linux-4.14.34-gentoo-infra38-x86_64-Intel-R-_Xeon-R-_CPU_E5-2620_v4_@_2.10GHz-with-gentoo-2.6 KiB Mem: 16426740 total, 13751876 free KiB Swap: 4194268 total, 4194268 free Timestamp of repository gentoo: Thu, 09 Apr 2020 07:37:53 +0000 sh bash 4.4_p23-r1 ld GNU ld (Gentoo 2.33.1 p2) 2.33.1 app-shells/bash: 4.4_p23-r1::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.17-r2::gentoo, 3.6.10-r1::gentoo, 3.7.7-r1::gentoo dev-util/cmake: 3.16.5::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.33.1-r1::gentoo sys-devel/gcc: 9.2.0-r2::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* no-source-code bonnie ipw3945 freedist intel-ucode JSON ipw2200-fw Broadcom Atmel ipw2100-fw ISSL Amazon AVASYS Mellanox-AS-IS sun-jlfgr shmux SmartLabs linux-fw-redistributable MicroChip-SDCC bh-luxi unRAR qlogic-fibre-channel-firmware NVIDIA-r1 LSI-tw_cli PHP-3.01 Boost-1.0 LGPL-3 Sleepycat LGPL-2.1 EPL-1.0 BSD-2 Apache-1.1 CPAL-1.0 IBM Artistic POSTGRESQL MPL-1.1 nethack OSL-2.1 AGPL-3+ QPL Apache-2.0 MIT ZPL GPL-2 Watcom-1.0 ZLIB GPL-3+ LGPL-2+ wxWinLL-3 APL-1.0 Artistic-2 UoI-NCSA GPL-1+ GPL-3 Ms-PL APSL-2 BSD EPL-2.0 LGPL-2.1+ AGPL-3 LPPL-1.3c W3C PHP-3 EUPL-1.1 HPND MPL-2.0 CDDL CPL-1.0 ISC NOSA AFL-3.0 LGPL-3+ GPL-2+ ECL-2.0 IPAfont PSF-2 MPL-1.0 OFL-1.1 CNRI AMPAS FastCGI the-Click-license LPPL-1.3 mm SMAIL TeX-other-free Info-ZIP shrimp rdisc photopc SSLeay TeX sash htmlc BEER-WARE Emacs xbatt XC alternate buddy docbook JOVE libtiff PHP-2.02 SVFL canfep Mail-Sendmail JNIC ngrep URT xtrs Sendmail psutils HTML-Tidy Allegro Time-Format BSD-with-attribution Crypt-IDEA w3m par torque-2.5 CAOSL AIFFWriter.m CPL-0.5 LIBGLOSS Snd LLVM-Grant iASL gd feh MIT-with-advertising JDOM freetts lsof VTK imagemagick ipx-utils Toyoda xvt gsm FLTK tablelist libpng ipadic LambdaMOO RSA libmng libpng2 UCAR-Unidata mpich2 flexmock regexp-UofT BSD-with-disclosure icu totd rc PCRE tcp_wrappers_license ElementTree otter tumbolia sdlsasteroids BSD-1 boehm-gc minpack rwpng Time-modules NEWLIB ErlPL-1.1 CMake Old-MIT wm2 Ispell matplotlib repoze bea.ri.jsr173 DES perforce Subversion xboing FVWM Khronos-CLHPP CDDL-Schily Princeton inner-net NCSA-HDF File-MMagic CRACKLIB bufexplorer.vim FLEX IDPL CeCILL-C Openwall BZIP2 scanlogd CDDL-1.1 DUMB-0.9.3 eGenixPublic-1.1 symlinks netcat Mini-XML x2x Interbase-1.0 pngcrush Flashpix Sendmail-Open-Source pngnq LPPL-1.3b ZSH dom4j tm-align openafs-krb5-a tcltk Xdebug PHP-3.01 gnuplot EPL-1.0 Zend-2.0 Apache-1.1 CPAL-1.0 IBM MPL-1.1 OSL-2.1 OSL-1.1 FraunhoferFDK QPL AFL-2.1 Apache-1.0 QPL-1.0 openssl Ms-PL APSL-2 EPL-2.0 UPX-exception SGI-B-2.0 Boost-1.0 tanuki-community Transmission-OpenSSL-exception LGPL-3 libstdc++ Sleepycat Ruby GPL-1 GPL-2-with-MySQL-FLOSS-exception CeCILL-2 LGPL-2.1 Ruby-BSD PYTHON BSD-2 metapackage WTFPL-2 AGPL-3+ Apache-2.0-with-LLVM-exceptions GPL-2-with-linking-exception PSF-2.4 Apache-2.0 MIT ZPL GPL-2 GPL-3+-with-opencl-exception FTL public-domain ZLIB GPL-3+ Clear-BSD LGPL-2+ LGPL-2-with-linking-exception Artistic-2 LGPL-2.1-with-linking-exception qwt UoI-NCSA Clarified-Artistic GPL-1+ LGPL-3-with-linking-exception GPL-2-with-exceptions unicode GPL-3 BSD GPL-3+-with-cuda-openssl-exception libgcc LGPL-2.1+ AGPL-3 Unlicense W3C Nokia-Qt-LGPL-Exception-1.1 HPND PSF-2.2 MPL-2.0 GPL-3+-with-opencl-openssl-exception GPL-3+-with-cuda-exception ISC GPL-3-with-font-exception LGPL-3+ GPL-2+ IJG ECL-2.0 LGPL-2 wxWinLL-3.1 GPL-2+-with-openssl-exception PSF-2 OPENLDAP vim GPL-2-with-classpath-exception gcc-runtime-library-exception-3.1 GPL-3-with-openssl-exception GPL-2-with-font-exception CC0-1.0 PSF-2.3 NPL-1.1 EUPL-1.1 LPPL-1.2 CDDL CPL-1.0 AFL-3.0 OSL-2.0 MPL-1.0 CNRI BSD-4 UbuntuFontLicense-1.0 CC-PD CC-SA-1.0 man-pages LDP-1a man-pages-posix MaxMind2 quake1-textures Texinfo-manual vlgothic mplus-fonts myspell-en_CA-KevinAtkinson BAEKMUK wxWinFDL-3 CC-BY-SA-1.0 LDP-1 BitstreamVera man-pages-posix-2013 FreeArt Arphic CC-BY-SA-4.0 GPL-1 FDL-1.1 CC-BY-2.0 CC-BY-SA-2.0 CC-BY-4.0 GPL-2 FDL-1.3 GPL-3+ FDL-1.2 OFL OPL CC-BY-SA-2.5 GPL-1+ GPL-3 FDL-1.2+ FDL-1.1+ CC-BY-3.0 FDL-1.3+ CC-BY-SA-3.0 CC-BY-2.5 GPL-2+ IPAfont OFL-1.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -g -ggdb -frecord-gcc-switches -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -g -ggdb -frecord-gcc-switches -march=native" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going y --quiet-fail y -1" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" LINGUAS="en en_GB" MAKEOPTS="-j8" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X acl amd64 berkdb bzip2 cli consolekit crypt dri fortran gdbm iconv ipv6 jumbo-build libtirpc multilib ncurses nls nptl openmp openssl pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en en_GB en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS